Skip to main content

Overview

OneCLI connects AI agents to Google Tasks through Google’s OAuth flow. Agents can create tasks, mark them complete, and organize them into task lists. The gateway injects OAuth credentials into requests to the Google Tasks API automatically. This is useful for agents that need to track follow-up items, create to-do lists, or manage tasks alongside Google Calendar.

Setup

1

Go to Connections

Open the OneCLI dashboard and navigate to Connections > Google Tasks.
2

Authorize

Click Connect Google Tasks. You’ll be redirected to Google to authorize OneCLI. Review the permissions and click Allow.

What agents can do

  • List all task lists on the account
  • Create, rename, and delete task lists
  • List tasks within a task list, optionally showing completed tasks
  • Create new tasks with a title, notes, and due date
  • Update task details (title, notes, due date, status)
  • Mark tasks as completed
  • Delete tasks
  • Move tasks to change their order or parent (for sub-tasks)
  • Clear all completed tasks from a list

Controlling access

Access is per agent: grant the connection to each agent that needs it, choosing per tool what runs freely, what needs human approval, and what stays blocked — a read-only agent is a single grant. Organization rules add guardrails on top, like rate limits and blanket blocks. Everything is checked before credential injection, so a blocked request never reaches Google Tasks.