layout.union.member.add
Adds a member to a union data type, enabling reverse engineers to define overlapping fields for binary analysis.
Instructions
Add a member to a union data type.
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>",
"data_type": "<data_type>"
},
"name": "layout.union.member.add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | ||
| comment | No | ||
| data_type | Yes | ||
| field_name | No | ||
| session_id | Yes | ||
| union_name | No | ||
| union_path | No |