xxd_hexdump
Create a hex dump of a file with xxd, specifying offset and length to inspect targeted bytes, and log the results for analysis.
Instructions
Create a hex dump of a file using xxd with enhanced logging.
Args: file_path: Path to the file offset: Offset to start reading from length: Number of bytes to read additional_args: Additional xxd arguments
Returns: Hex dump results
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": "xxd_hexdump"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | ||
| offset | No | 0 | |
| file_path | Yes | ||
| additional_args | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |