ops_query_metric
Query a specific LinkYun operations metric by specifying metric name, operation type, scope, and exact RFC3339 time range.
Instructions
Query one LinkYun operations metric. Send explicit RFC3339 ranges and the backend query contract only.
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": {
"metric": "<metric>",
"operation": "<operation>",
"scope": "<scope>",
"range": "<range>"
},
"name": "ops_query_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grain | No | ||
| limit | No | ||
| range | Yes | ||
| scope | Yes | ||
| metric | Yes | ||
| timezone | No | ||
| operation | Yes | ||
| agent_code | No | ||
| comparison_range | No |