a2a_connect
Validates the Agent Card, connects to the A2A endpoint, and starts streaming turns in a background session. Returns the validator report if unusable; pass a bearer token only if required.
Instructions
Connect to a standard A2A endpoint and start streaming its turns. Validates
the Agent Card first and REFUSES to connect if it isn't usable (returns the
validator report). On success, starts a background session and returns
immediately — then call a2a_wait_turn for the first prompt. bearer is
optional (pass it only if the endpoint requires auth). Neither the card URL's
contents nor the bearer are echoed back.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_card_url": "<agent_card_url>"
},
"name": "a2a_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bearer | No | ||
| agent_card_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |