decode_calldata
Decode raw calldata by providing a known function signature to split the selector from its arguments.
Instructions
Decode calldata against a known function signature, splitting selector from arguments.
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": {
"signature": "<signature>",
"data": "<data>"
},
"name": "decode_calldata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| signature | Yes |