Keyword search incidents
keyword_searchSearch incident records by keywords using BM25 ranking to retrieve matching cases with relevance scores and matched field values.
Instructions
BM25 keyword search over incidents. Splits sentence into words and ranks cases by relevance across their descriptive fields (short_description, issue_type, priority, report_channel, reporter, resolver). Returns the top 25 matches by default, each with its score and the field values it matched on.
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": {
"sentence": "<sentence>"
},
"name": "keyword_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| sentence | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||