search_query
Query your indexed collection with semantic search to obtain the top-k most relevant matches and their scores.
Instructions
Semantic-search a collection you indexed earlier; returns top-k matches with scores. Paid (~$0.0003 in KAS).
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": {
"collection": "<collection>",
"q": "<q>"
},
"name": "search_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | ||
| top_k | No | ||
| collection | Yes |