layout.struct.field.replace
Replace an existing structure field with a new type, size, name, or comment to correct struct layouts during reverse engineering.
Instructions
Replace an existing structure field with a new type, size, name, or comment.
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": {
"session_id": "<session_id>",
"offset": "<offset>",
"data_type": "<data_type>"
},
"name": "layout.struct.field.replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | ||
| offset | Yes | ||
| comment | No | ||
| data_type | Yes | ||
| field_name | No | ||
| session_id | Yes | ||
| struct_name | No | ||
| struct_path | No |