update_document
Update document content and metadata in the knowledge management system. Replace or append text, change document type to move folders, and adjust project, phase-task, or feature values.
Instructions
Update a document.
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": {
"doc_id": "<doc_id>"
},
"name": "update_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| append | No | Append mode (false to replace) | |
| doc_id | Yes | Document ID | |
| content | No | New content | |
| feature | No | New feature value | |
| project | No | Project ID (uses current project if omitted) | |
| doc_type | No | New document type (moves to corresponding folder) | |
| phase_task | No | New phase-task value |