what-went-wrong
Paste an error message or status code from an x402 attempt to get a diagnosis of what went wrong and actionable next steps.
Instructions
Paste an error message, HTTP status code, or facilitator response you got during an x402 attempt. Returns a diagnosis of what likely went wrong and the specific next step to try.
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": {
"error_text": "<error_text>"
},
"name": "what-went-wrong"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error_text | Yes | The error message, response body, or status you received | |
| context | No | Optional: what you were trying to do when this happened (e.g. 'signing an x402 payment', 'verifying a receipt') |