update_kb_doc
Update a knowledge base document’s content, metadata, tags, URL, or refresh rate for VG agents; use patch operations for large body edits to avoid rewriting full content.
Instructions
Update a knowledge base document (VG agents only). For large document bodies prefer patch_kb_doc (Cursor-style exact old_string→new_string) instead of rewriting the entire content field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Updated URL | |
| name | No | Updated name | |
| tags | No | Updated tags | |
| docId | Yes | The document ID | |
| agentId | Yes | The agent ID | |
| content | No | Updated content | |
| metadata | No | Updated metadata | |
| refreshRate | No | Updated refresh rate (API: 3d | 7d | never) |