heap_get_state
Retrieves a text overview of current heap status from GDB, including active chunk count and cumulative statistics, without generating files.
Instructions
获取当前堆状态概览(不生成文件,直接从 GDB 获取)。
快速查看当前活跃 chunk 数量和累计统计。
Returns: 堆状态概览文本
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "heap_get_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |