kb_update_document_metadata
Replace a document's metadata entirely with a new key-value hash. Omit keys to remove them, then filter results via kb_search.
Instructions
Replace a document's metadata (single-level key/value hash) in full — no merge, no re-embed. To remove a key, pass the full new hash without it. Filterable via kb_search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | ||
| metadata | Yes | ||
| project_id | Yes | ||
| document_id | Yes |