Swap byte order by word
bpj_word_endian_swapReverse bytes within each 2-, 4- or 8-octet word of aligned input.
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": {
"bytes": "<bytes>",
"width": "<width>"
},
"name": "bpj_word_endian_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| width | Yes |