kb_update_document
Refresh a document's content in place while preserving its document_id so existing references stay valid; pass a URL to re-fetch or content for a text document.
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. A resync rebuilds the index; metadata set earlier with
kb_update_document_metadata isn't carried over.
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": {
"project_id": "<project_id>",
"document_id": "<document_id>"
},
"name": "kb_update_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | No | ||
| content | No | ||
| project_id | Yes | ||
| document_id | Yes |