search
Query documents within your role permissions using vector search, returning relevant snippets with source citations and metadata for secure corporate knowledge access.
Instructions
RBAC-aware vector search across allowed domains/collections.
Args:
query: natural language query
top_k: number of results to return
include_general: include 'general' alongside role-specific domains
Returns a list of hits with:
score, collection, domain, source, title, doc_type, tags, chunk_id, snippet
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| include_general | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |