type.rename
Rename an existing data type in a Ghidra session by specifying its name or path and the new name, keeping reverse-engineering type definitions accurate and readable.
Instructions
Rename an existing 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>",
"new_name": "<new_name>"
},
"name": "type.rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | No | ||
| new_name | Yes | ||
| session_id | Yes |