set_type
Set a C-style type declaration at a specified hex address in IDA Pro to correct or define data types for reverse engineering.
Instructions
Set the type at an address. Pass hex address and C-style type declaration.
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": {
"address": "<address>",
"type_str": "<type_str>"
},
"name": "set_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| type_str | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |