# list_agents

`tools/call` · `POST /agent/v1/agents:list`

List the agents that can own tickets: registered agents that are not revoked and work for an active workspace member. Returns each agent's ID and name with the person it works for. Needs read access.

- Area: Planning
- Needs the read grant. Read-only. Idempotent.

## Inputs

None.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_agents",
    "arguments": {}
  }
}
```

## HTTP request

The same call over the agent HTTP API, with an agent OAuth access token:

```bash
curl -X POST https://api.qa.clankership.net/agent/v1/agents:list \
  -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
```
