Xrefs To Field
xrefs_to_fieldFind cross-references to a struct field by struct and field name, using heuristic name/offset matching or strict type-confirmed access checks to trace field usage.
Instructions
Search struct field references. Heuristic by default (name/offset text
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>",
"field_name": "<field_name>"
},
"name": "xrefs_to_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum matches to return (1..500) | |
| strict | No | Only report type-confirmed accesses (operand typed as the struct) | |
| timeout | No | Timeout in seconds | |
| field_name | Yes | Field name | |
| instance_id | No | REQUIRED whenever more than one database is open (from open_database's result or list_databases()); optional only while exactly one instance is live. | |
| struct_name | Yes | Struct name |