a2a_agent_card
Validate A2A Agent Cards from a URL or inline JSON, or generate a compliant card from agent details and skills; flags v0.3 cards and checks interfaces, capabilities, security, and signatures.
Instructions
A2A Agent Card validator and generator (A2A 1.0, detects and flags v0.3 cards): supportedInterfaces, protocolBinding/protocolVersion, capabilities, media-type modes, skills, provider, security schemes/requirements, JWS signature structure. Validate by URL (fetches /.well-known/agent-card.json) or inline JSON; or mode=generate from name, description, endpoint and skills. Costs 0.002 USDC on Base per successful call (x402). Without a payment key this tool returns the 402 challenge.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "a2a_agent_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Agent origin or card URL | |
| card | No | Inline Agent Card JSON (POST) | |
| mode | No | validate (default) or generate | |
| name | No | generate: agent name | |
| skills | No | generate: JSON array or comma-separated skill names | |
| endpoint | No | generate: A2A endpoint https URL | |
| description | No | generate: description |