Skip to content

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#

ParameterTypeRequiredDescription
documentTypestringrequiredDocument to append to: instructions, skills, checks. instructions = operational guidance, skills = learned procedures, checks = validation/QA checks.
appendContentstring (1-100,000 chars)requiredMarkdown content to append to the document
vaultIdstring (UUID)optionalVault 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"
  }
}