Mailbox File Append Text
mailbox_file_append_textAppend UTF-8 text to an existing private Revdoku mailbox file, such as txt, md, csv, jsonl, js/code files, and similar text formats. This is not a binary-file API and it does not parse CSV or JSON; for ordinary .json, raw append can make invalid JSON. If the file or mailbox is locked, retry briefly; if it remains locked, report error.details including the lock owner and message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Existing mailbox-relative text file path, for example leads.csv, notes.md, or src/app.js. | |
| reason | No | Optional reason for this action. AI agents should include a short purpose for intentional reads and changes when known. Do not invent a reason or include secrets, file contents, or transcripts. | |
| content | Yes | UTF-8 text to append. Include any trailing newline wanted after the appended block. | |
| account_id | No | Optional account id from revdoku_status.accounts for this call only. Omit for the credential's default account. Client accounts require explicit Agency authorization; never infer an account from a mailbox id. | |
| mailbox_id | Yes | Value for mailbox id. | |
| newline_before | No | When true, insert one newline before content only if the existing file is non-empty and does not already end with \n. Defaults to true. | |
| expected_mailbox_revision_id | No | Optional optimistic-concurrency token from mailbox.current_mailbox_revision_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | Yes | ||
| appended | Yes | ||
| guidance | No |