Skip to main content

Documentation Index

Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt

Use this file to discover all available pages before exploring further.

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 with rules

Use OneCLI’s rules engine to limit what agents can do with Google Tasks. For example, you can allow agents to create and list tasks but block deletions, or restrict access to specific task lists. Rules are evaluated before credential injection, so a blocked request never reaches Google Tasks.