akb_update
Update an existing knowledge base document by changing only specified fields; content replaces the full Markdown body, while inline changes use targeted edits.
Instructions
Update an existing document. Only provide fields you want to change. The content field replaces the complete Markdown body; never pass a partial fragment such as a newly uploaded image. Use a targeted akb_edit for inline insertion or replacement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | Document URI | |
| file | No | Local file path to read as document body (alternative to content). Provide either file or content, not both. | |
| tags | No | ||
| type | No | New document type | |
| title | No | New title | |
| domain | No | New document domain | |
| status | No | ||
| content | No | New document body (replaces existing) | |
| message | No | Commit message describing the change | |
| summary | No | ||
| depends_on | No | Update the same-vault dependency list (akb:// URIs). Use an ordinary Markdown link in content for a cross-vault reference. | |
| related_to | No | Update the same-vault related list (akb:// URIs). Use an ordinary Markdown link in content for a cross-vault reference. | |
| expected_commit | No | Optional OCC pin — reject if the document current_commit moved. | |
| _vault_skill_ack | No | Opaque acknowledgement returned as vault_skill.ack_token. After applying that guide, retry the unchanged operation with this value. The bundled proxy supplies it automatically. | |
| expected_content_hash | No | Optional body hash pin — reject if the current document body hash moved. |