knowledge_update
Replace file text in a knowledge base and reindex it. On failure, inspect stage/file_id before retrying to ensure consistency.
Instructions
Replace shared file text and reindex this base. Other bases sharing this file may change.
Writes are not atomic. Inspect stage/file_id on failure before retrying.
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": {
"knowledge_id": "<knowledge_id>",
"file_id": "<file_id>",
"text": "<text>"
},
"name": "knowledge_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| file_id | Yes | ||
| knowledge_id | Yes |