diagnose_a2a_request
Diagnose common A2A JSON-RPC SendMessage version and message-shape mistakes. Use when debugging an A2A integration. Send a sanitized request example and selected protocol version, never secrets or headers. Returns fixed field corrections and an authored template. Does not contact an endpoint or certify full conformance.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"request": {
"id": 1,
"method": "message/send",
"params": {
"message": {
"role": "user",
"parts": [
{
"data": {
"entries": [
{
"kind": "file",
"path": "src/app.py"
}
]
},
"kind": "data"
}
],
"messageId": "example-1"
}
},
"jsonrpc": "2.0"
},
"protocolVersion": "0.3"
},
"name": "diagnose_a2a_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Sanitized A2A JSON-RPC body to inspect, not a URL, string or HTTP wrapper. Malformed message fields are allowed for diagnosis. Never include secrets, headers or private content. Entire arguments JSON: at most 16384 ASCII-escaped UTF-8 bytes. | |
| protocolVersion | Yes | Target A2A version from the server's Agent Card, NOT the MCP transport date. |