Search Trace records
trace_searchQuery this account's Kamy Trace records, newest first, filtered by feature, status, provider, tag, or time window. Returns record metadata — model, tokens, latency, status, content hash, recorded_at — plus next_cursor for paging; it does not return the stored prompt and output bodies. Use it to answer questions like 'how many flagged calls last week?' or to locate a specific record's id before opening it in the dashboard. Read-only. Requires a Kamy API key with the trace:read scope.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "trace_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Return records whose tags array contains this tag. | |
| limit | No | Page size, 1-100. Default 25. | |
| since | No | ISO-8601 timestamp, inclusive lower bound. | |
| until | No | ISO-8601 timestamp, exclusive upper bound. | |
| cursor | No | Pass the `next_cursor` from the previous response to fetch the next page. | |
| status | No | Exact-match filter on outcome. | |
| feature | No | Exact-match filter on the feature label. | |
| provider | No | Exact-match filter on provider. |