Skip to content

Commit 52eb7bf

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

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

dsl-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ The [A2A Call](#a2a-call) enables workflows to interact with AI agents described
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`* |
497497
| 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.* |
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, otherwise ignored* |
499499
| 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.* |
500500

501501
> [!NOTE]

schema/workflow.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,10 @@ $defs:
449449
$ref: '#/$defs/externalResource'
450450
title: WithA2AAgentCard
451451
description: The Agent Card that defines the agent to call.
452+
server:
453+
title: A2AServer
454+
description: The server endpoint to send the request to.
455+
$ref: '#/$defs/endpoint'
452456
method:
453457
type: string
454458
title: WithA2AMethod

0 commit comments

Comments
 (0)