edb_ptype
Print the complete type definition of any variable, function, or expression in a debugged program. Shows struct/class members, function signatures, and typedefs.
Instructions
Print the type of a variable, function, or expression.
Equivalent to GDB's ptype command. Shows complete type definition
including struct/class members, function signatures, and typedefs.
Args: params (PtypeInput): Expression - expression (str): Expression (e.g., 'main', 'argc', 'struct stat')
Returns: str: Type definition
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": {
"params": "<params>"
},
"name": "edb_ptype"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |