rz_types
List type definitions from a binary, including structs, enums, typedefs, and unions with complete member details, via Rizin's typed JSON endpoints.
Instructions
List type definitions from the binary using Rizin separate typed JSON endpoints (tsj/tej/ttj/tuj). Returns structs, enums, typedefs, and unions with full member details. Superior to r2 which returns all types in a single flat list.
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": {
"binary_path": "<binary_path>"
},
"name": "rz_types"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| filter | No | Filter types by name substring (case-insensitive) | |
| offset | No | ||
| category | No | Type category to list (default: all) | all |
| binary_path | Yes | Absolute path to the binary file |