edb_whatis
Quickly identify the type of an expression or variable in a debugged program. Returns the type name without full definition.
Instructions
Print the type of an expression (short form).
Equivalent to GDB's whatis command. Shows the type name without
full definition (unlike edb_ptype).
Args: params (PtypeInput): Expression - expression (str): Expression (e.g., 'main', 'argc')
Returns: str: Type name
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_whatis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |