View as Markdown
Toggl Track icon

Toggl Track ACTION

List Project Tasks

List the tasks under one Toggl Track project, with each task's estimated seconds and all-time tracked seconds. Use it when a user asks what tasks a project has. Use List Workspace Projects first to get the project ID; there is no workspace-wide task listing, and this action does not return time entries (use Get Project Task Time Summary for time per task over a date range). Returns an array of tasks with id, name, project_id, workspace_id, active, estimated_seconds and tracked_seconds, empty when the project has none. Example: workspaceId=1234567, projectId=123456789, active=true → the project's active tasks with their estimated and tracked seconds. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Toggl Track account once, then configure and run List Project Tasks from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "toggl-list-project-tasks",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    toggl: { authProvisionId: "apn_xxxxxxx" },
    workspaceId: 10,
    projectId: 10,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

List Project Tasks inputs
Property Type Description
workspaceId Workspace ID integer
The Toggl Track workspace ID, e.g. 1234567. Use List Workspace ID Options to find it (the value field).
Required
projectId Project ID integer
The Toggl Track project ID, e.g. 123456789. Use List Workspace Projects to find it (the id field). The project must belong to the given workspace.
Required
active Active boolean
Set true to return only active tasks, false for only inactive ones, e.g. true. Omit to return both.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
toggl-list-project-tasks
Version
0.0.1
App
Toggl Track
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes