cfg
Draw a function's control-flow graph as Mermaid, showing blocks and successor edges paginated at 300 blocks. Use for visualizing control flow, not for reading logic or block tables.
Instructions
Draw a function's control-flow graph as mermaid: blocks and successor edges, 300 blocks a page, a %% line when cut. Not for reading logic (use decompile) or a block table (use function).
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": {
"address": "<address>"
},
"name": "cfg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Blocks to skip, 300 a page. | |
| address | Yes | Function entry or any address inside it. |