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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bearer | No | ||
| agent_card_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |