doris_get_query_profile
Retrieves the execution profile for a previously run Doris query ID, helping diagnose performance or failures; returns not found when the query ID has no stored profile.
Instructions
取某个查询的 profile(SHOW QUERY PROFILE "/id")。只对执行过的 query id 有效, 取不到时 Doris 返回 1105 not found。
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": "doris_get_query_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_id | Yes | query id,可从当前查询或日志里拿 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |