query_traces
List trace summaries within a UTC time window, ordered by start time descending, with optional service filtering and cursor-based pagination for interrupted queries.
Instructions
List trace summaries inside a UTC time window, ordered by start time descending. Supports keyset pagination via 'cursor'/'nextCursor'.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "query_traces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Window end (ISO-8601 UTC). Required, > from. | |
| from | Yes | Window start (ISO-8601 UTC). Required. | |
| limit | No | Maximum traces returned. Defaults to QueryApi.DefaultLimit; capped at QueryApi.MaxLimit. | |
| cursor | No | Opaque continuation token from a previous call. | |
| service | No | Filter by service.name (exact match on root span's resource). |