akb_update
Update a knowledge base document by providing only the fields to change; optional concurrency checks via commit or content hash pins.
Instructions
Update an existing document. Only provide fields you want to change.
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 | ||
| title | No | New title | |
| status | No | ||
| content | No | New document body (replaces existing) | |
| message | No | Commit message describing the change | |
| summary | No | ||
| depends_on | No | Update dependency list (akb:// URIs) | |
| related_to | No | Update related list (akb:// URIs) | |
| expected_commit | No | Optional OCC pin — reject if the document current_commit moved. | |
| expected_content_hash | No | Optional body hash pin — reject if the current document body hash moved. |