mrs__ShowSqlResult
Retrieves the execution result of a submitted SQL query in an MRS cluster using the cluster ID, project ID, and SQL ID.
Instructions
[MRS] 在MRS集群中查询一条SQL的执行结果。
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": {
"cluster_id": "<cluster_id>",
"project_id": "<project_id>",
"sql_id": "<sql_id>"
},
"name": "mrs__ShowSqlResult"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql_id | Yes | SQL的执行ID,即提交SQL语句返回结果中的sql_id。 | |
| cluster_id | Yes | 集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。 | |
| project_id | Yes | 项目编号。获取方法,请参见[获取项目ID](https://support.huaweicloud.com/api-mrs/mrs_02_0011.html)。 |