Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to Toggl Track

Scalekit connector
Open markdown

The Toggl Track connector lets your AI agent work with Toggl Track. Scalekit handles authentication for every call, so your agent never handles credentials. It comes with 44 tools.

Tools
44
What they doRead · write · destructive
23 · 15 · 623 read15 write6 destructive
Users sign in with

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the Toggl Track connection

    In AgentKit > Connections, create a Toggl Track connection. The name you give it is the connection_name your code passes. See Configure connections.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • toggl_get_clientGet one client in a Toggl Track workspace by ID.Read-only

    Get Client

    Get one client in a Toggl Track workspace by ID. Returns the client id, name, notes, archived flag, external_reference, and workspace id (wid). Use this for a known client. Use list_clients to find client IDs.

    Inputs

    client_idintegerrequired
    Numeric ID of the client. Get it from the list clients tool. Example: 64123456.
    workspace_idintegerrequired
    Numeric ID of the Toggl Track workspace. Get it from the list workspaces tool, or use default_workspace_id from the get current user tool. Example: 1234567.
  • toggl_get_current_time_entryGet the connected user's currently running time entry.Read-only

    Get Running Time Entry

    Get the connected user's currently running time entry. Returns the running time entry with id, workspace_id, project_id, description, start, and a negative duration; returns an empty result when no timer is running. Use this before stop_time_entry to find the running entry's id. Use get_time_entry for a specific entry by ID.

    Inputs

    This tool takes no inputs.

  • toggl_get_current_userGet the Toggl Track profile of the user who owns the connected API token.Read-only

    Get Current User

    Get the Toggl Track profile of the user who owns the connected API token. Returns the user id, email, full name, time zone, beginning of week, and default_workspace_id; with related data on, also returns their clients, projects, tags, tasks, time entries, and workspaces. Use this to find the default workspace or confirm whose account is connected. Use list_workspaces for every workspace the user belongs to.

    Inputs

    with_related_databoolean
    Set to true to also return the user's clients, projects, tasks, tags, workspaces and time entries in one response. Example: true.
  • toggl_get_detailed_reportRun a Toggl Track detailed report: individual time entries for a workspace in a date range, filtered by users, projects, clients, tags, tasks, or description.Read-only

    Get Detailed Report

    Run a Toggl Track detailed report: individual time entries for a workspace in a date range, filtered by users, projects, clients, tags, tasks, or description. Returns the report rows (time entries for the detailed report, grouped when grouped is on); the reference documents no row schema, and results are paged 50 rows at a time. Use this for other users' time or long date ranges. Use get_summary_report for totals and list_time_entries for the connected user's own recent entries.

    Inputs

    start_datestringrequired
    First day of the report, YYYY-MM-DD (inclusive, evaluated in each user's own time zone). Example: 2026-10-01.
    workspace_idintegerrequired
    Numeric ID of the Toggl Track workspace. Get it from the list workspaces tool, or use default_workspace_id from the get current user tool. Example: 1234567.
    billableboolean
    Only include billable (true) or non-billable (false) time (paid-plan feature). Example: true.
    client_idsarray
    Only include time for these client IDs. Use [null] for time with no client. Example: [64123456].
    descriptionstring
    Only include time entries whose description matches this text. Example: planning.
    end_datestring
    Last day of the report, YYYY-MM-DD (inclusive). Must be after start_date. Example: 2026-10-31.
    enrich_responseboolean
    Set to true to return as much detail per row as the export does. Toggl defaults to false. Example: true.
    first_row_numberinteger
    Row number to start the page from, for pagination. Toggl returns the next value in the X-Next-Row-Number response header of the previous page. Leave empty for the first page. Example: 51.
    groupedboolean
    Set to true to group similar time entries together. Toggl defaults to false. Example: true.
    order_bystring
    Sort field: date, user, duration, description or last_update. Toggl defaults to date. Example: duration.one of dateuserdurationdescriptionlast_update
    order_dirstring
    Sort direction: ASC or DESC. Example: DESC.one of ASCDESC
    page_sizeinteger
    Rows per page. Toggl defaults to 50. Example: 50.
    project_idsarray
    Only include time on these project IDs. Use [null] for time with no project. Example: [203456789].
    tag_idsarray
    Only include time with these tag IDs. Use [null] for time with no tags. Example: [15234567].
    task_idsarray
    Only include time on these task IDs. Use [null] for time with no task. Example: [98765432].
    user_idsarray
    Only include time from these user IDs. Get them from the list workspace users tool. Example: [5123456].
  • toggl_get_organizationGet one Toggl Track organization by ID.Read-only

    Get Organization

    Get one Toggl Track organization by ID. Returns the organization id, name, pricing plan name and id, admin and owner flags, user_count, max_workspaces, and trial info. Use this for a known organization's plan and size. Use list_organizations to find organization IDs.

    Inputs

    organization_idintegerrequired
    Numeric ID of the organization. Get it from the list organizations tool, or organization_id on a workspace. Example: 7654321.
  • toggl_get_projectGet one project in a Toggl Track workspace by ID.Read-only

    Get Project

    Get one project in a Toggl Track workspace by ID. Returns the project id, name, client_id, client_name, active and private flags, billable flag, color, dates, estimated and actual hours, rate, and currency. Use this for a known project. Use list_projects to find project IDs and get_project_statistics for its first and last time entries.

    Inputs

    project_idintegerrequired
    Numeric ID of the project. Get it from the list projects tool. Example: 203456789.
    workspace_idintegerrequired
    Numeric ID of the Toggl Track workspace. Get it from the list workspaces tool, or use default_workspace_id from the get current user tool. Example: 1234567.
  • toggl_get_project_statisticsGet the earliest and latest finished time entries tracked on a Toggl Track project.Read-only

    Get Project Statistics

    Get the earliest and latest finished time entries tracked on a Toggl Track project. Returns earliest_time_entry and latest_time_entry for the project; running entries are not counted. Use this to see when work on a project started or last happened. Use get_summary_report for totals.

    Inputs

    project_idintegerrequired
    Numeric ID of the project. Get it from the list projects tool. Example: 203456789.
    workspace_idintegerrequired
    Numeric ID of the Toggl Track workspace. Get it from the list workspaces tool, or use default_workspace_id from the get current user tool. Example: 1234567.
  • toggl_get_summary_reportRun a Toggl Track summary report: tracked time aggregated into groups for a workspace and date range, with optional filters.Read-only

    Get Summary Report

    Run a Toggl Track summary report: tracked time aggregated into groups for a workspace and date range, with optional filters. Returns the summary report groups with their tracked time; the reference documents no response schema. Use this for totals by project, client or user. Use get_detailed_report for individual entries and get_weekly_report for a day-by-day week view.

    Inputs

    start_datestringrequired
    First day of the report, YYYY-MM-DD (inclusive, evaluated in each user's own time zone). Example: 2026-10-01.
    workspace_idintegerrequired
    Numeric ID of the Toggl Track workspace. Get it from the list workspaces tool, or use default_workspace_id from the get current user tool. Example: 1234567.
    billableboolean
    Only include billable (true) or non-billable (false) time (paid-plan feature). Example: true.
    client_idsarray
    Only include time for these client IDs. Use [null] for time with no client. Example: [64123456].
    descriptionstring
    Only include time entries whose description matches this text. Example: planning.
    distinguish_ratesboolean
    Set to true to split groups by hourly rate. Toggl defaults to false. Example: true.
    end_datestring
    Last day of the report, YYYY-MM-DD (inclusive). Must be after start_date. Example: 2026-10-31.
    include_time_entry_idsboolean
    Set to true to include the time entry IDs behind each group. Toggl defaults to false. Example: true.
    project_idsarray
    Only include time on these project IDs. Use [null] for time with no project. Example: [203456789].
    tag_idsarray
    Only include time with these tag IDs. Use [null] for time with no tags. Example: [15234567].
    task_idsarray
    Only include time on these task IDs. Use [null] for time with no task. Example: [98765432].
    user_idsarray
    Only include time from these user IDs. Get them from the list workspace users tool. Example: [5123456].