---
title: "List tool sets"
method: GET
path: "/v1/workspaces/{workspaceId}/tool_sets"
tags: ["ToolService", "Tool Sets"]
---

# List tool sets

`GET /v1/workspaces/{workspaceId}/tool_sets`

Lists all tool sets in the workspace

## Path parameters

- `workspaceId` string, required

## Query parameters

- `limit` integer
- `cursor` string
- `prefix` string
- `query` string
- `state` 'STATE_UNSPECIFIED' | 'STATE_ACTIVE' | 'STATE_ARCHIVED', enum
- `labels` string
- `sortOrder` string
- `includeInfo` boolean

## Response `200`

OK

- ListToolSetsResponse
  - `items` ToolSet[]
    - `metadata` ResourceMetadata, required — Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
      - `id` string, required — Unique identifier for the resource (prefixed ULID, e.g., "agent_01HXK...")
      - `accountId` string, required — Account this resource belongs to for multi-tenant isolation (prefixed ULID)
      - `workspaceId` string, required — Workspace this resource belongs to for organizational grouping (prefixed ULID)
      - `name` string, required — Human-readable name for the resource (e.g., "Customer Support Agent", "Email Tool") Required for resources that users interact with directly
      - `externalId` string — External ID for the resource (e.g., a workflow ID from an external system)
      - `labels` object — Key-value pairs for categorization and filtering. Values are 0-63 alphanumeric characters with "-", "_", or "." allowed between; keys follow the same shape and additionally accept an optional DNS-subdomain prefix (e.g. "cadenya.com/") of at most 253 characters. Examples: {"environment": "production", "team": "platform", "version": "v2"}
      - `profileId` string, required — ID of the actor (user or service account) that created this resource
      - `createdAt` string, date-time, required — Timestamp when this resource was created
      - `updatedAt` string, date-time — Timestamp when this resource was last updated
    - `spec` ToolSetSpec, required
      - `description` string
      - `adapter` union
        - ToolSetAdapterMcpVariant
          - `type` 'mcp', required
          - `mcp` ToolSetAdapterMCP, required
            - `url` string
            - `headers` object
            - `includeTools` ToolSetAdapterToolFilter — Top-level filter with simple boolean logic (no nesting)
              - …
            - `excludeTools` ToolSetAdapterToolFilter — Top-level filter with simple boolean logic (no nesting)
              - …
            - `toolApprovals` union — Approval filters that will automatically set the approval requirement on tools synced from an external source
              - …
            - `justInTime` ToolSetAdapterJustInTime — Defines behavior for just-in-time capable tool set adapters (IE: MCP).
              - …
        - ToolSetAdapterHttpVariant
          - `type` 'http', required
          - `http` ToolSetAdapterHTTP, required
            - `baseUrl` string
            - `headers` object
        - ToolSetAdapterOpenapiVariant
          - `type` 'openapi', required
          - `openapi` union, required
            - ToolSetAdapterOpenAPIUrl
              - …
            - ToolSetAdapterOpenAPIUploadId
              - …
        - ToolSetAdapterBareVariant
          - `type` 'bare', required
          - `bare` ToolSetAdapterBare, required — Bare tool sets define tools without an execution adapter. A bare tool call doesn't fire anything: the objective's workflow pauses and waits for an external API consumer to set the tool call's content (e.g. human-in-the-loop tools, or a reverse harness that polls for pending tool calls, executes locally, and reports results back via SetToolCallContent).
            - `contentTimeout` integer — How long to wait for content to be set before the tool call errors. If unset, the call waits indefinitely.
    - `info` ToolSetInfo
      - `toolCount` integer
      - `agentCount` integer
      - `lastSync` string, date-time
      - `createdBy` Profile — A profile identifies a user or non-human principal (such as an API key) at the account level. Profiles are account-scoped and can be granted access to multiple workspaces.
        - `metadata` AccountResourceMetadata, required — AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
          - `id` string, required — Unique identifier for the resource (prefixed ULID, e.g., "apikey_01HXK...")
          - `accountId` string, required — Account this resource belongs to for multi-tenant isolation (prefixed ULID)
          - `name` string, required — Human-readable name for the resource (e.g., "Customer Support Agent", "Email Tool") Required for resources that users interact with directly
          - `externalId` string — External ID for the resource (e.g., a workflow ID from an external system)
          - `labels` object — Key-value pairs for categorization and filtering. Values are 0-63 alphanumeric characters with "-", "_", or "." allowed between; keys follow the same shape and additionally accept an optional DNS-subdomain prefix (e.g. "cadenya.com/") of at most 253 characters. Examples: {"environment": "production", "team": "platform", "version": "v2"}
          - `profileId` string, required
          - `createdAt` string, date-time
        - `spec` ProfileSpec, required — Configuration for a profile.
          - `email` string — Email address of the profile. Required and unique within an account for user profiles.
          - `name` string — Display name (e.g., "Bobby Tables").
          - `type` 'PROFILE_TYPE_UNSPECIFIED' | 'PROFILE_TYPE_USER' | 'PROFILE_TYPE_API_KEY' | 'PROFILE_TYPE_SYSTEM', enum, required — Whether this profile represents a human user, an API key, or a system principal.
      - `availableTools` integer
      - `omittedTools` integer
    - `state` 'STATE_UNSPECIFIED' | 'STATE_ACTIVE' | 'STATE_ARCHIVED', enum, required — The current lifecycle state of the tool set. Output only. Tool sets are created STATE_ACTIVE; use the :archive and :unarchive actions to transition between states.
  - `pagination` Page — Page carries cursor-based pagination state. There is no total: the cursor walks the result set without ever counting it, and a count would cost a second query on every list.
    - `nextCursor` string

## Other responses

- `default` — Default error response

---

[API](https://skmtc.net/cadenya/apis/cadenya-api.md) · [All operations](https://skmtc.net/cadenya/apis/cadenya-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cadenya/cadenya-api/revisions/ac1a7f084068/schema)
