disassemble_entrypoint
Disassemble code at a binary's entrypoint automatically. Locates the entrypoint address and produces disassembly with configurable byte size and instruction count.
Instructions
Disassemble code at the binary file's entrypoint.
Automatically locates the entrypoint address and disassembles from there.
Args: file_path: Absolute path to the binary file. size: Number of bytes to read from the entrypoint. Default: 512. arch: CPU architecture. Auto-detected if omitted. max_instructions: Maximum instructions to disassemble. Default: 100.
Returns: Disassembly output at the entrypoint.
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": {
"file_path": "<file_path>"
},
"name": "disassemble_entrypoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| size | No | ||
| arch | No | ||
| max_instructions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |