KosmoKrator

productivity

Google Tasks CLI for AI Agents

Use the Google Tasks CLI from KosmoKrator to call Google Tasks tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Google Tasks CLI Setup

Google Tasks can be configured headlessly with `kosmokrator integrations:configure google-tasks`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure google-tasks --enable --read allow --write ask --json
kosmokrator integrations:doctor google-tasks --json
kosmokrator integrations:status --json

Credentials

Authentication type: Manual OAuth token oauth2_manual_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

No credentials are required.

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call google-tasks.google_tasks_tasks_update '{}' --json
Provider shortcut
kosmo integrations:google-tasks google_tasks_tasks_update '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs google-tasks --json
kosmo integrations:docs google-tasks.google_tasks_tasks_update --json
kosmo integrations:schema google-tasks.google_tasks_tasks_update --json
kosmo integrations:search "Google Tasks" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

google-tasks.google_tasks_tasks_update

Tasks Update (PUT /tasks/v1/lists/{tasklist}/tasks/{task}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasks_update '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasks_update '{}' --json

google-tasks.google_tasks_tasks_move

Tasks Move (POST /tasks/v1/lists/{tasklist}/tasks/{task}/move).

Write write
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasks_move '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasks_move '{}' --json

google-tasks.google_tasks_tasks_delete

Tasks Delete (DELETE /tasks/v1/lists/{tasklist}/tasks/{task}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasks_delete '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasks_delete '{}' --json

google-tasks.google_tasks_tasks_clear

Tasks Clear (POST /tasks/v1/lists/{tasklist}/clear).

Write write
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasks_clear '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasks_clear '{}' --json

google-tasks.google_tasks_tasks_get

Tasks Get (GET /tasks/v1/lists/{tasklist}/tasks/{task}).

Read read
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasks_get '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasks_get '{}' --json

google-tasks.google_tasks_tasks_insert

Tasks Insert (POST /tasks/v1/lists/{tasklist}/tasks).

Write write
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasks_insert '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasks_insert '{}' --json

google-tasks.google_tasks_tasks_list

Tasks List (GET /tasks/v1/lists/{tasklist}/tasks).

Read read
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasks_list '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasks_list '{}' --json

google-tasks.google_tasks_tasks_patch

Tasks Patch (PATCH /tasks/v1/lists/{tasklist}/tasks/{task}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasks_patch '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasks_patch '{}' --json

google-tasks.google_tasks_tasklists_delete

Tasklists Delete (DELETE /tasks/v1/users/@me/lists/{tasklist}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasklists_delete '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasklists_delete '{}' --json

google-tasks.google_tasks_tasklists_get

Tasklists Get (GET /tasks/v1/users/@me/lists/{tasklist}).

Read read
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasklists_get '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasklists_get '{}' --json

google-tasks.google_tasks_tasklists_insert

Tasklists Insert (POST /tasks/v1/users/@me/lists).

Write write
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasklists_insert '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasklists_insert '{}' --json

google-tasks.google_tasks_tasklists_list

Tasklists List (GET /tasks/v1/users/@me/lists).

Read read
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasklists_list '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasklists_list '{}' --json

google-tasks.google_tasks_tasklists_patch

Tasklists Patch (PATCH /tasks/v1/users/@me/lists/{tasklist}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasklists_patch '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasklists_patch '{}' --json

google-tasks.google_tasks_tasklists_update

Tasklists Update (PUT /tasks/v1/users/@me/lists/{tasklist}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-tasks.google_tasks_tasklists_update '{}' --json
Shortcut
kosmo integrations:google-tasks google_tasks_tasklists_update '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

google-tasks.google_tasks_tasks_update 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasks_update --json
ParameterTypeRequiredDescription
No parameters.
google-tasks.google_tasks_tasks_move 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasks_move --json
ParameterTypeRequiredDescription
No parameters.
google-tasks.google_tasks_tasks_delete 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasks_delete --json
ParameterTypeRequiredDescription
No parameters.
google-tasks.google_tasks_tasks_clear 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasks_clear --json
ParameterTypeRequiredDescription
No parameters.
google-tasks.google_tasks_tasks_get 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasks_get --json
ParameterTypeRequiredDescription
No parameters.
google-tasks.google_tasks_tasks_insert 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasks_insert --json
ParameterTypeRequiredDescription
No parameters.
google-tasks.google_tasks_tasks_list 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasks_list --json
ParameterTypeRequiredDescription
No parameters.
google-tasks.google_tasks_tasks_patch 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasks_patch --json
ParameterTypeRequiredDescription
No parameters.
google-tasks.google_tasks_tasklists_delete 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasklists_delete --json
ParameterTypeRequiredDescription
No parameters.
google-tasks.google_tasks_tasklists_get 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasklists_get --json
ParameterTypeRequiredDescription
No parameters.
google-tasks.google_tasks_tasklists_insert 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasklists_insert --json
ParameterTypeRequiredDescription
No parameters.
google-tasks.google_tasks_tasklists_list 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasklists_list --json
ParameterTypeRequiredDescription
No parameters.
google-tasks.google_tasks_tasklists_patch 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasklists_patch --json
ParameterTypeRequiredDescription
No parameters.
google-tasks.google_tasks_tasklists_update 0 parameters
Schema command
kosmo integrations:schema google-tasks.google_tasks_tasklists_update --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.