datastore_query
Query a Business Context datastore using semantic search (RAG - Retrieval Augmented Generation).
This tool searches for semantically similar content in the specified datastore. Results include content chunks that match the query based on meaning, not just keywords.
Optional metadata filters can be provided to narrow down results to specific files.
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": {
"datastoreId": "<datastoreId>",
"query": "<query>"
},
"name": "datastore_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default: 5, max: 20) | |
| query | Yes | The search query (semantic search) | |
| datastoreId | Yes | The datastore ID to search | |
| metadataFilters | No | Optional JSON string of metadata filters. Format: [{"field": "fieldName", "operator": "equals", "value": "value"}]. Operators: equals, not_equals, contains, not_contains, gt, gte, lt, lte, in, is_null, is_not_null |