hidock_raw_command
Send a raw hexadecimal command to a HiDock device for debugging, with an optional hex byte payload and timeout. Use it to test device commands directly.
Instructions
Send a raw command to the device for debugging. Provide the command ID as a hex number and an optional body as space-separated hex bytes.
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": {
"commandId": "<commandId>"
},
"name": "hidock_raw_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Body bytes as space-separated hex (e.g. '01 02 03 04'). Defaults to empty. | |
| commandId | Yes | Command ID in hex (e.g. '0x11' for FORMAT_CARD, '0x10' for READ_CARD_INFO) | |
| timeoutSec | No | Timeout in seconds. Defaults to 30. |