update_kb_doc
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.
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": {
"agentId": "<agentId>",
"docId": "<docId>"
},
"name": "update_kb_doc"
}
}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) |