do
Act on Google Workspace: create, move, and edit files; manage Gmail with drafts, replies, labels; and handle comments.
Instructions
Act on Google Workspace — create, move, edit, draft/reply emails, organise Gmail.
Operations: create, move, rename, share, overwrite, prepend, append, replace_text, draft, reply_draft, archive, star, label, comment_reply, setup_oauth. Create: content + title + doc_type (doc/sheet/slides/file/folder/form). page_setup='pageless' for pageless docs. file_path= to read from disk. folder: title only, no content needed. form: content is YAML/JSON spec with title, description, questions. Edit: overwrite (full replace), prepend/append (add to), replace_text (find + content). Email: draft (to + subject + content), reply_draft (file_id + content), archive/star/label. Comments: comment_reply (file_id + comment_id [from comments.md] + content and/or action=resolve|reopen). Replies auto-prefix '[agent] '. Share: file_id + to + role (reader/writer/commenter), confirm=True to execute. Move: file_id (single or list) + folder_id (alias: destination_folder_id). setup_oauth: bootstrap Google credentials when none exist. Opens a browser for consent; saves token to Keychain. force=true to re-auth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| find | No | ||
| role | No | ||
| label | No | ||
| title | No | ||
| action | No | ||
| remove | No | ||
| source | No | ||
| confirm | No | ||
| content | No | ||
| file_id | No | ||
| include | No | ||
| subject | No | ||
| doc_type | No | doc | |
| base_path | No | ||
| file_path | No | ||
| folder_id | No | ||
| operation | Yes | ||
| reply_all | No | ||
| comment_id | No | ||
| page_setup | No | ||
| destination_folder_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||