decode_log
Extract the failed program ID and error code from Solana transaction logs, then get exact error meanings and cross-program collision context when the program is unknown.
Instructions
Paste a Solana transaction log (or any text containing a failure line). Extracts the failed program ID and error code, then returns the exact meaning for that program — plus the cross-program collision map when the program is unknown.
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": {
"log": "<log>"
},
"name": "decode_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | Yes | Transaction log text or any text containing an error line |