Search reports
search_reportsFind relevant bug reports by describing the issue in plain text; get ranked results with summaries and similarity scores.
Instructions
Search reports by meaning and keyword (pgvector similarity server-side; falls back to summary/description substring if embeddings are unavailable). Returns ranked { results: [{ id, summary, similarity }] }. Read-only. Use to find reports by free text ("checkout flakiness"); use get_similar_bugs to dedupe a known component/bug, or get_recent_reports to list without a query.
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": {
"query": "<query>"
},
"name": "search_reports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 10, max 50) | |
| query | Yes | Natural-language search text or component path | |
| threshold | No | Similarity threshold 0..1, default 0.2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |