KosmoKrator

productivity

Google Tasks CLI for CI

Use the Google Tasks CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.

11 functions 9 read 2 write OAuth browser flow auth

Google Tasks CLI for CI

Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.

Use this shape when a pipeline needs to read or update an external service. The Google Tasks CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Google Tasks CLI for CI
kosmokrator integrations:configure google_tasks --set access_token="$GOOGLE_TASKS_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call google_tasks.google_tasks_clear_completed '{"list_id":"example_list_id"}' --json

Discovery Before Execution

Agents and scripts can inspect Google Tasks docs and schemas before choosing a function.

kosmo integrations:docs google_tasks --json
kosmo integrations:docs google_tasks.google_tasks_clear_completed --json
kosmo integrations:schema google_tasks.google_tasks_clear_completed --json
kosmo integrations:search "Google Tasks" --json
kosmo integrations:list --json

Useful Google Tasks CLI Functions

FunctionTypeParametersDescription
google_tasks.google_tasks_clear_completed Read list_id Remove all completed tasks from a Google Tasks list. Warning: permanently deletes completed tasks.
google_tasks.google_tasks_complete Read task_id, list_id Mark a Google Task as completed.
google_tasks.google_tasks_create Read title, list_id, notes, due, parent Create a task in Google Tasks. Use "@default" as listId for the primary "My Tasks" list.
google_tasks.google_tasks_create_list Write title Create a new task list in Google Tasks.
google_tasks.google_tasks_delete Read task_id, list_id Delete a Google Task.
google_tasks.google_tasks_delete_list Write list_id Delete a task list from Google Tasks.
google_tasks.google_tasks_move Read task_id, list_id, parent, previous Reorder or reparent a Google Task. Use parent to set a new parent (empty string moves to top level), and previous to position after a sibling.
google_tasks.google_tasks_get_task Read list_id, task_id Get full details of a single Google Task by its ID.
google_tasks.google_tasks_list_lists Read max_results, page_token List all Google Task lists. Returns IDs and titles. Start here to discover available lists.
google_tasks.google_tasks_list_tasks Read list_id, show_completed, show_hidden, due_min, due_max, max_results, page_token List tasks in a Google Task list. Use "@default" as listId for the primary "My Tasks" list. Supports filtering by completion status and due date range.
google_tasks.google_tasks_update Read task_id, list_id, title, notes, due, status Update task fields in Google Tasks. At least one field to update is required.

Automation Notes

Related Google Tasks CLI Pages