append_doc_text
Append text to the end of the document body.
writeGoogle Sheets, Docs & Drive
Call it
In an AI client (MCP)
{
"name": "append_doc_text",
"arguments": {
"documentId": "<documentId>",
"text": "<text>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/append_doc_text \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"documentId":"<documentId>","text":"<text>"}'Early access — the Tool API is open on request, contact us.
Arguments
| Name | Type | Description |
|---|---|---|
documentIdrequired | string | the Google Docs document ID. |
textrequired | string | Text to append. It lands before the document's final newline, so it joins the last paragraph unless that paragraph is empty — start it with '\n' to begin a new paragraph after existing text. |
Result
Every tool answers {notification, data, human_action}; data carries:
- { appended: true, chars: N }