Search Documentation
Search across all documentation pages
update_document
Append content to an agent-editable vault document (instructions, skills, or checks). Documents are append-only -- agents cannot replace existing content. The soul document is read-only and cannot be modified by agents. Use read_document to view current content before appending.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
| documentType | string | required | Document to append to: instructions, skills, checks. instructions = operational guidance, skills = learned procedures, checks = validation/QA checks. |
| appendContent | string (1-100,000 chars) | required | Markdown content to append to the document |
| vaultId | string (UUID) | optional | Vault ID. Defaults to defaultVaultId. |
Returns#
Confirmation of the append operation with the document type and the new content length.
Example#
json
{
"tool": "update_document",
"arguments": {
"documentType": "skills",
"appendContent": "## Database Migration Skill\n\nWhen performing database migrations:\n1. Always create a backup first\n2. Use transactions for all schema changes\n3. Test rollback procedures before applying to production"
}
}