Update KB Documents Metadata
lyzr_kb_update_docs_metadataUpdate metadata fields on documents in a knowledge base, choosing which documents to change via filters.
Instructions
Update metadata on documents in a knowledge base matching a filter.
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": {
"rag_id": "<rag_id>"
},
"name": "lyzr_kb_update_docs_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rag_id | Yes | Knowledge base id | |
| filters | No | Filter selecting which documents to update | |
| extra_fields | No | Additional body fields (merged into the request body) | |
| metadata_updates | No | Metadata fields to set on matching documents |