iota_decompile
Need to inspect the source of a Move module on IOTA? Decompile its bytecode by providing the package ID and module name.
Instructions
Decompile Move bytecode from a published package module
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": {
"packageId": "<packageId>",
"module": "<module>"
},
"name": "iota_decompile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | Module name | |
| packageId | Yes | Package ID |