---
docId: doc_2684c51fb28b40f59eda06e244c8f460
title: Workspace catalog
description: "Retrieves workspace tools and their parameter schemas."
api:
  group: herramientas
  auth: bearer
  operations:
    - operationId: listWorkspaceTools
      method: GET
      path: /v1/tools
      postmanName: List tools
      query:
        - key: kind
          value: ''
          description: mcp, api, database, integration o legacy.
        - key: mcpId
          value: ''
          description: Solo las herramientas de ese servidor MCP.
        - key: integrationId
          value: ''
          description: Solo la herramienta de esa API personalizada.
    - operationId: getWorkspaceTool
      method: GET
      path: '/v1/tools/{toolId}'
      postmanName: List tools
---

<script>
  import { Ways } from '$lib/components';
</script>

# Workspace catalog

Choose a tool and use its `id` as `toolId` to connect it to an agent. The catalog shows the parameter schema the agent receives. A tool listed here may not yet be connected.

## Example

<Ways tabs="api,sdk">
<Ways.Way name="api">

```bash
curl "https://api.platic.ai/v1/tools" \
  -H "Authorization: Bearer $PLATIC_API_KEY"

curl "https://api.platic.ai/v1/tools/$TOOL_ID" \
  -H "Authorization: Bearer $PLATIC_API_KEY"
```

</Ways.Way>
<Ways.Way name="sdk">

```ts
await platic.tools.list();

await platic.tools.get("tool_123");
```

</Ways.Way>
</Ways>

## List tools

### Query parameters

| Parameter | Type | Description | Required |
|-----------|------|-------------|----------|
| `kind` | string | Filter by origin: `mcp`, `api`, `database`, `function`, `integration` or `legacy` | — |
| `mcpId` | string | Only the tools chosen from that MCP server | — |
| `integrationId` | string | Only the tool of that custom API | — |
| `workspace` | string | Only if the credential covers several workspaces: the workspace you read. Required in that case | — |

### Response

```json
{
  "status": "success",
  "data": [
    {
      "id": "8fK2mQpLxT4vNbRc",
      "name": "mcp_create_issue_a1b2c3",
      "description": "Create a new issue in Linear",
      "kind": "mcp",
      "parameters": {
        "type": "object",
        "properties": {
          "title": { "type": "string" },
          "teamId": { "type": "string" }
        },
        "required": ["title", "teamId"]
      },
      "status": "active",
      "mcpId": "QZPHpckDPC58JIVLQA3Z",
      "mcpToolName": "create_issue",
      "mcpName": "Linear",
      "mcpStatus": "connected",
      "integrationId": null,
      "integrationName": null,
      "integrationStatus": null,
      "installationId": null,
      "providerId": null,
      "providerToolName": null,
      "createdAt": "2026-07-14T18:02:11.410Z",
      "updatedAt": "2026-07-14T18:02:11.410Z"
    },
    {
      "id": "RuzoaswTBBrhutHyKYZn",
      "name": "api_order_lookup",
      "description": "Looks up the status of an Example Store order by its number.",
      "kind": "api",
      "parameters": {
        "type": "object",
        "properties": {
          "orderId": { "type": "string", "description": "Order number" }
        },
        "required": ["orderId"],
        "additionalProperties": false
      },
      "status": "active",
      "mcpId": null,
      "mcpToolName": null,
      "mcpName": null,
      "mcpStatus": null,
      "integrationId": "RuzoaswTBBrhutHyKYZn",
      "integrationName": "order_lookup",
      "integrationStatus": "enabled",
      "installationId": null,
      "providerId": null,
      "providerToolName": null,
      "createdAt": "2026-07-10T15:41:03.902Z",
      "updatedAt": "2026-07-12T09:18:44.117Z"
    }
  ]
}
```

`data` has the tools ordered by update date, newest first. The list is not paginated, so it has no `nextPageToken`.

### Response fields

| Field | Type | Description |
|-------|------|-------------|
| `data[].id` | string | The `toolId`. Used to connect it to an agent |
| `data[].name` | string | Name shown to the agent. Generated automatically: `api_<name>` for a custom API, `mcp_<tool>_<slug>` for an MCP server tool, `db_<name>_<tool>` for a database tool, `fn_<name>` for a custom function |
| `data[].description` | string | What the agent reads to decide when to use it |
| `data[].kind` | string | `mcp`, `api`, `database`, `function`, `integration` or `legacy`. See [tool types](/api-reference/tools#four-ways-to-create-tools) |
| `data[].parameters` | object | JSON Schema of the arguments, as the agent receives it |
| `data[].status` | string \| null | State in the catalog. `active` when it can be used; `inactive` while its API is paused or in draft, or while its MCP server waits for a test |
| `data[].mcpId`, `mcpToolName`, `mcpName`, `mcpStatus` | string \| null | The source MCP server and the tool's original name on that server. Only with `kind: "mcp"` |
| `data[].integrationId`, `integrationName`, `integrationStatus` | string \| null | The source custom API. Only with `kind: "api"` |
| `data[].databaseId`, `databaseName`, `databaseStatus`, `databaseTool` | string \| null | The source [database connection](/api-reference/databases) and which of its four tools it is (`list_tables`, `describe_table`, `query` or `next_page`). Only with `kind: "database"` |
| `data[].functionId`, `functionName`, `functionStatus` | string \| null | The source [custom function](/api-reference/custom-functions) and its state (`draft`, `enabled` or `paused`). Only with `kind: "function"` |
| `data[].installationId`, `providerId`, `providerToolName` | string \| null | The source installed app. Only with `kind: "integration"` |
| `data[].createdAt`, `updatedAt` | string \| null | Dates in ISO 8601 |

`mcpToolName` is the original name on the MCP server. It is the one you send in `tools` when you [connect a server](/api-reference/mcp-servers/connect) and when you [choose tools](/api-reference/mcp-servers/select-tools), not the `name`.

### Errors

| Status | `details.code` | When |
|--------|----------------|------|
| `400` | `INVALID_REQUEST` | `kind` is not one of the accepted values (`details.issues` says which), or the credential covers several workspaces and `workspace` is missing or is not one of them |
| `401` | `UNAUTHENTICATED` | The credential is missing or not valid |

See [Errors](/api-reference/errors) for the full shape of an error.

## Get a tool

Returns a tool from the catalog with the same shape as an element of the list. Use it when you only need a tool's parameter schema.

### Path parameters

| Parameter | Type | Description | Required |
|-----------|------|-------------|----------|
| `toolId` | string | Tool ID in the catalog | ✓ |

### Response

`data` is the tool:

```json
{
  "status": "success",
  "data": {
    "id": "8fK2mQpLxT4vNbRc",
    "name": "mcp_create_issue_a1b2c3",
    "description": "Create a new issue in Linear",
    "kind": "mcp",
    "parameters": {
      "type": "object",
      "properties": {
        "title": { "type": "string" },
        "teamId": { "type": "string" }
      },
      "required": ["title", "teamId"]
    },
    "status": "active",
    "mcpId": "QZPHpckDPC58JIVLQA3Z",
    "mcpToolName": "create_issue",
    "mcpName": "Linear",
    "mcpStatus": "connected",
    "integrationId": null,
    "integrationName": null,
    "integrationStatus": null,
    "installationId": null,
    "providerId": null,
    "providerToolName": null,
    "createdAt": "2026-07-14T18:02:11.410Z",
    "updatedAt": "2026-07-14T18:02:11.410Z"
  }
}
```

### Errors

| Status | `details.code` | When |
|--------|----------------|------|
| `400` | `INVALID_REQUEST` | The credential covers several workspaces and `workspace` is missing or is not one of them |
| `404` | `NOT_FOUND` | The tool does not exist in the workspace |

See [Errors](/api-reference/errors) for the full shape of an error.

## Notes

- To connect a tool to an agent, use [Connect a tool](/api-reference/agents/tools/connect) with its `id`.
- To see the catalog marking which ones an agent already has, use [Available tools](/api-reference/agents/tools/available).
- A custom API enters the catalog when you [publish it](/api-reference/custom-apis/publish); an MCP server tool, when you [choose it](/api-reference/mcp-servers/select-tools).
