---
docId: doc_96997667657149f8ae1e939b56965621
title: List agent tools
description: Lists the tools connected to an agent, each with the state of its connection.
api:
  group: agentes/herramientas
  auth: bearer
  operations:
    - operationId: listAgentTools
      method: GET
      path: '/v1/agents/{agentId}/tools'
      postmanName: List agent tools
---

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

# List agent tools

Check which tools an agent has connected and whether they are active or paused. Use each `toolId` to change its state or disconnect it.

## Example

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

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

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

```ts
await platic.agents.tools.list("agent_123");
```

</Ways.Way>
</Ways>

## Path parameters

| Parameter | Type | Description | Required |
|-----------|------|-------------|----------|
| `agentId` | string | Agent id | ✓ |

## Response

```json
{
  "status": "success",
  "data": [
    {
      "toolId": "8fK2mQpLxT4vNbRc",
      "name": "mcp_create_issue_a1b2c3",
      "description": "Create a new issue in Linear",
      "kind": "mcp",
      "state": "active",
      "toolExists": true,
      "attachedAt": "2026-07-14T18:05:22.881Z"
    },
    {
      "toolId": "RuzoaswTBBrhutHyKYZn",
      "name": "api_order_lookup",
      "description": "Looks up the status of an order by its number.",
      "kind": "api",
      "state": "paused",
      "toolExists": true,
      "attachedAt": "2026-07-12T09:20:07.554Z"
    }
  ]
}
```

## Response fields

Each item in `data` is a connection. The list comes complete, without pages.

| Field | Type | Description |
|-------|------|-------------|
| `toolId` | string \| null | The catalog tool. You use it to connect, pause and disconnect. |
| `name`, `description` | string \| null | The tool's name and description in the catalog. `null` if the tool no longer exists. |
| `kind` | string \| null | Where it comes from: `mcp`, `api`, `database`, `integration` or `legacy`. `null` if the tool no longer exists. |
| `state` | string | `active` (the agent uses it) or `paused` (it doesn't use it, but it stays connected). |
| `toolExists` | boolean | `false` if the tool was deleted from the workspace and the connection remained. |
| `attachedAt` | string \| null | When it was connected. |

## Errors

| Status | `details.code` | When |
|--------|----------------|------|
| `404` | `AGENT_NOT_FOUND` | The agent doesn't exist or belongs to another workspace. |

The format and codes for the rest of the API are in [Errors](/api-reference/errors).

## Notes

- Tools live in the workspace and are connected to the agents that use them. They are created with a [custom API](/api-reference/custom-apis) or an [MCP server](/api-reference/mcp-servers); the [catalog](/api-reference/tools/list) carries all of them, with their `toolId`.
- Connecting, pausing, resuming or disconnecting a tool **applies immediately, without publishing**, and doesn't create a version of the agent. The agent only uses active connections.
- A connected tool can serve several agents. Pausing, resuming or disconnecting it only touches this agent, and doesn't change the tool, its API or its MCP server.
- A connection with `toolExists: false` doesn't affect the agent. You can remove it with [Disconnect a tool](/api-reference/agents/tools/disconnect).
- To connect a tool, check the [available tools](/api-reference/agents/tools/available) and use [Connect a tool](/api-reference/agents/tools/connect). From an AI agent, the tool is [`list_agent_tools`](/mcp/tools#tools).
