Skip to content

Commit e0ea69f

Browse files
committed
Fix a2a example
Signed-off-by: Emmanuel Allen <[email protected]>
1 parent b703cd9 commit e0ea69f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dsl-reference.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ The [A2A Call](#a2a-call) enables workflows to interact with AI agents described
496496
| method | `string` | `yes` | The A2A JSON-RPC method to send.<br>*Supported values are: `message/send`, `message/stream`, `tasks/get`, `tasks/list`, `tasks/cancel`, `tasks/resubscribe`, `tasks/pushNotificationConfig/set`, `tasks/pushNotificationConfig/get`, `tasks/pushNotificationConfig/list`, `tasks/pushNotificationConfig/delete`, and `agent/getAuthenticatedExtendedCard`* |
497497
| agentCard | [`externalResource`](#external-resource) | `no` | The AgentCard resource that describes the agent to call.<br>*Required if `server` has not been set.* |
498498
| server | `string`\|[`endpoint`](#endpoint) | `no` | An URI or an object that describes the A2A server to call.<br>*Required if `agentCard` has not been set, otherwise ignored* |
499-
| parameters | `map` <br> `string` | `no` | The parameters for the A2A RPC method. For the `message/send` and `message/stream` methods, runtimes must set the parameters `message.messageId` and `message.role` if missing in the definition.<br>*Can be an object or a direct runtime expression.* |
499+
| parameters | `map` <br> `string` | `no` | The parameters for the A2A RPC method. For the `message/send` and `message/stream` methods, runtimes must default `message.messageId` to a uuid and `message.role` to `user`.<br>*Can be an object or a direct runtime expression.* |
500500

501501
> [!NOTE]
502502
> The `security` and `securitySchemes` fields of the AgentCard contain authentication requirements and schemes for when communicating with the agent.
@@ -518,7 +518,8 @@ do:
518518
call: a2a
519519
with:
520520
method: message/send
521-
agentCard: https://example.com/.well-known/agent-card.json
521+
agentCard:
522+
endpoint: https://example.com/.well-known/agent-card.json
522523
parameters:
523524
message:
524525
parts:

0 commit comments

Comments
 (0)