explain_script_error
Translate cryptic Kaspa txscript error messages into plain language and get a concrete fix.
Instructions
Explain a rusty-kaspa txscript error message (e.g. 'script units exceeded...', 'stack contains N unexpected items', 'ZK Integrity: ...', disabled-opcode, push-encoding errors) in plain terms with a concrete fix.
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": "explain_script_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error_text | Yes | The exact error string from the node or SDK. |