declare_type
Declare C type definitions in a local type library to improve reverse engineering accuracy and enable consistent type usage across IDA Pro analysis.
Instructions
Declare C type definitions in local type library.
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": {
"decls": "<decls>",
"instance_id": "<instance_id>"
},
"name": "declare_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decls | Yes | C type declarations | |
| instance_id | Yes | 必须提供的 instance_id(或 client_id),用于将请求精确路由到特定的 IDA 实例。请先调用 instance_list 查看并选择合适的客户端 ID。 |