hex_dump_file
View file contents as a formatted hex dump with address, hex values, and ASCII representation. Specify a starting offset and byte length for targeted inspection.
Instructions
View file contents as a formatted hex dump.
Args: file_path: Absolute path to the file. offset: Starting file offset as hex string. Default: "0". length: Number of bytes to display. Default: 256. Max: 4096.
Returns: Formatted hex dump with address, hex values, and ASCII display.
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": "hex_dump_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| offset | No | 0 | |
| length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |