gws.tasks.delete
Permanently delete a Google task by ID. This action is irreversible; confirm before use. To keep a task but mark it complete instead, use the complete endpoint.
Instructions
Permanently delete a task from a task list. This cannot be undone — confirm with the user before calling. To mark a task done without removing it, use tasks.complete instead. tasklist defaults to the account's default list ('@default'). Returns the deleted task's ID and list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Task ID to delete | |
| account | No | Account label or email. Uses default if omitted. | |
| tasklist | No | Task list ID (default: '@default') |