tasks.tasks.clear
Clear all completed tasks from a specified task list, hiding them so they are no longer returned by default. Use this to tidy up a list without deleting tasks permanently.
Instructions
Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list [HTTP POST] — creates or triggers a change; refused under --readonly safety profiles. Returns the API's response resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: delete, get, insert, list, move, patch, update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| tasklist | Yes | [URL path segment] Task list identifier. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. |