filter_metadata
Filter document chunks by metadata key-value pairs to return only relevant results from your knowledge base.
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": {
"metadataFilter": "<metadataFilter>"
},
"name": "filter_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | The maximum number of filtered chunks to return. | |
| metadataFilter | Yes | An object containing metadata key-value pairs to filter by. |