query_logs
Search logs using semantic and keyword retrieval to find the most relevant log chunks, with provenance metadata like source file, line range, and trace IDs.
Instructions
Hybrid semantic + keyword (BM25) retrieval of the most relevant log chunks.
Combines dense vector similarity with BM25 lexical matching, fused via Reciprocal Rank Fusion. Returns ranked chunks with provenance metadata (source file, line range, time span, levels, trace ids).
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": {
"ticket_id": "<ticket_id>",
"query": "<query>"
},
"name": "query_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| ticket_id | Yes |