Skip to content

Commit 9dd5e39

Browse files
committed
Update headersToPropagate property in af-project-files.adoc to use a multi-line format for MCP server and agent configurations, enhancing clarity and consistency in documentation.
1 parent 6c7847a commit 9dd5e39

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

modules/ROOT/pages/af-project-files.adoc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,9 @@ tools:
342342
name: talent-pool-mcp # Exchange asset ID of MCP server. By default, the groupId for this asset is the same as that in exchange.json.
343343
allowed: # Allowlist specific tools
344344
- TalentPoolMcpServer.match_email_to_address
345-
headersToPropagate: [Authorization, X-Request-Id] # Optional. Header names to forward when invoking this tool.
345+
headersToPropagate:
346+
- Authorization
347+
- X-Correlation-Id # Optional. Header names to forward when invoking this tool.
346348
- mcp:
347349
ref:
348350
name: slack-mcp
@@ -378,7 +380,9 @@ links:
378380
ref:
379381
name: hr-agent # Exchange asset ID of the linked agent. By default, the groupId for this asset is the same as that in exchange.json.
380382
namespace: # Optional. If the asset was defined in a different business group, set the corresponding groupId here.
381-
headersToPropagate: [Authorization, X-Request-Id] # Optional. Header names to forward when invoking this agent.
383+
headersToPropagate:
384+
- Authorization
385+
- X-Correlation-Id # Optional. Header names to forward when invoking this agent.
382386
- agent:
383387
ref:
384388
name: badging-agent
@@ -418,7 +422,7 @@ The `links` element has these properties.
418422
|`links[].agent.ref.name` |Exchange asset ID of the linked agent. This references the `assetId` that the agent has in Anypoint Exchange, not the human-friendly name.|String|Asset ID string (for example, "hr-agent", "crm-agent"). By default, the groupId for this asset is the same as that in exchange.json|Yes
419423
|`links[].agent.ref.namespace` |Business group ID (groupId) where the asset is defined. Use this when the asset was defined in a different business group than the current one.|String|Group ID string. To find the groupId, look in the `dependencies` section in `exchange.json`|No
420424
|`links[].agent.connection.ref` |Connection reference.|String|See <<connections-section,Connections>>. This references a connection defined in the `connections` section|No
421-
|`links[].agent.headersToPropagate` |The names of the request headers to propagate when the broker invokes this agent.|Array of strings|Array of header name strings (for example, `X-Request-Id`, `Authorization`)|No
425+
|`links[].agent.headersToPropagate` |The names of the request headers to propagate when the broker invokes this agent.|Array of strings|Array of header name strings |No
422426
|===
423427

424428

0 commit comments

Comments
 (0)