Skip to content

Commit 87d99c3

Browse files
committed
Add server field to a2a call
Signed-off-by: Emmanuel Allen <[email protected]>
1 parent f9be8ea commit 87d99c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dsl-reference.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,8 @@ The [A2A Call](#a2a-call) enables workflows to interact with AI agents described
494494
| Name | Type | Required | Description|
495495
|:--|:---:|:---:|:---|
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`* |
497-
| agentCard | [`externalResource`](#external-resource) | `yes` | The AgentCard resource that describes the agent to call. |
497+
| agentCard | [`externalResource`](#external-resource) | `no` | The AgentCard resource that describes the agent to call.<br>*Required if `server` has not been set.* |
498+
| 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.* |
498499
| 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.* |
499500

500501
> [!NOTE]

0 commit comments

Comments
 (0)