kb_update_document
Update a document's content in place, preserving its ID to keep references valid. Pass a new URL or text to refresh the document and rebuild the index.
Instructions
Refresh a document's content in place, keeping the SAME document_id (so references stay
valid). Pass a url to re-fetch a URL doc, or content for a text doc. Status goes
ready→pending→ready. Note: a resync rebuilds the index — re-apply agent metadata afterward.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | No | ||
| config | No | ||
| content | No | ||
| project_id | Yes | ||
| document_id | Yes |