get_latest_traces
Fetch traces from a stream within a time range using Unix timestamps. Normalizes timestamps to microseconds. Supports pagination, filtering, and raw data output.
Instructions
Get the latest trace data from a trace stream. start_time and end_time accept Unix timestamps in seconds, milliseconds, microseconds, or nanoseconds and are normalized to microseconds.
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": {
"stream_name": "<stream_name>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "get_latest_traces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stream_name | Yes | ||
| start_time | Yes | ||
| end_time | Yes | ||
| size | No | ||
| offset | No | ||
| filter_query | No | ||
| timeout | No | ||
| include_raw | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||