execute_tql
Execute TQL queries for time-series analysis using standard PromQL syntax. Retrieve metrics and gain insights from GreptimeDB data.
Instructions
Execute TQL query for time-series analysis. TQL is PromQL-compatible - use standard PromQL syntax.
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": "<query>",
"start": "<start>",
"end": "<end>",
"step": "<step>"
},
"name": "execute_tql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| step | Yes | ||
| query | Yes | ||
| start | Yes | ||
| format | No | json | |
| lookback | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |