get_query_profile
Retrieve execution profiles for StarRocks queries by ID, saving detailed performance data to local files for analysis and troubleshooting query performance issues.
Instructions
获取指定 Query ID 的执行 Profile,保存到本地文件并返回摘要信息。Profile 文件可用于后续详细分析。
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": {
"query_id": "<query_id>"
},
"name": "get_query_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_id | Yes | Query ID,可以从 fe.audit.log 或 SHOW PROFILELIST 获取 |