Prepare Workspace Action
prepare_workspace_actionPreview and bind a Google Workspace action to a one-time commit token, enabling safe execution of consequential changes.
Instructions
Preview and bind one consequential action to a short-lived one-time commit token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | Yes | Exact keyword arguments to bind and later execute unchanged for tool_name. | |
| tool_name | Yes | Full name of the consequential tool to prepare; must be one of ['calendar_update_event', 'drive_create_permission', 'gmail_batch_modify', 'gmail_send_email', 'sheets_batch_update_spreadsheet']. Other tools do not use the prepare/commit protocol. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message or structured error details when the call failed. | |
| impact | No | Response field: impact. | |
| status | No | Machine-readable operation status. | |
| context | No | Identifying request arguments echoed back with an error. | |
| resource | No | Stable cross-tool Workspace resource handle when applicable. | |
| expires_at | No | Response field: expires at. | |
| next_action | No | Response field: next action. | |
| commit_token | No | Response field: commit token. | |
| provider_status | No | HTTP status code returned by the Google API for a failed call. |