kb_apply_struct
Decode live memory at a given address using a named struct layout, with optional count to parse consecutive struct instances.
Instructions
Apply a struct definition to a memory region.
Reads live memory at the given address and decodes fields according to the struct layout. If count is provided, decodes that many consecutive struct instances (array of structs).
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": {
"struct_name": "<struct_name>",
"address": "<address>"
},
"name": "kb_apply_struct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| address | Yes | ||
| struct_name | Yes |