append_to_doc
Append text to a Google Doc
Description
Append text to the end of a Google Doc Hermoso can reach — one it created (pass the documentId from create_doc) or one the user handed over with the Google file picker in the app (find its id with list_drive_files). Optional `dropdown:{title, options:[2-50], selected}` appends a Google Docs dropdown chip after the text — e.g. text "Status: " + dropdown {title:"Status", options:["Draft","In review","Approved"]} gives a brief a status the team can click to change; the chip is confirmed by reading the doc back. Set it later with update_doc dropdowns.
Parameters
| Parameter | Type | Description |
|---|---|---|
documentIdrequired | string | the document id from create_doc |
text | string | text to append at the end of the doc (optional when a dropdown is passed) |
dropdown | object | a dropdown chip to append after the text |
dropdown.title | string | the dropdown title, e.g. "Status" |
dropdown.optionsrequired | string[] | 2 to 50 distinct options |
dropdown.selected | string | the option it starts on (default: the first) |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/append_to_doc.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"append_to_doc","arguments":{"documentId":"<string>"}}}
CLI
hermoso call append_to_doc --json '{"documentId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
create_docCreate a Google Doclist_drive_filesList Google Drive filesupdate_docEdit a Google Doc in placeread_docRead a Google Doc