hexdump
Display file contents in hexadecimal and ASCII format for binary analysis, file header identification, and raw content inspection. Supports skip offset and length options.
Instructions
Run hexdump on a file to display its contents in hexadecimal format.
The hexdump utility displays the contents of a file in hex and ASCII, useful for analyzing binary file formats, identifying file headers, and inspecting raw file contents.
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": {
"args": "<args>"
},
"name": "hexdump"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | Additional arguments to pass to hexdump. Common options include: - -C: Canonical hex+ASCII output - -s OFFSET: Skip offset bytes from start - -n LENGTH: Only dump length bytes | |
| file | No | Optional path to the file to analyze. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |