# List agents a runtime target can use

Tool: `veryfront__list_channel_agents`

List runtime target agents. Requires project.channels.read.

## Arguments

| Name                    | Type                  | Required | Description                                                                                                         |
| ----------------------- | --------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- |
| `project_reference`     | string                |          | Project ID or slug                                                                                                  |
| `runtime_target_kind`   | string                |          | Runtime target: main\_branch, environment or preview\_branch One of `main_branch`, `environment`, `preview_branch`. |
| `target_environment_id` | string · uuid \| null |          | Environment ID; required when runtime\_target\_kind is environment                                                  |
| `target_branch_id`      | string · uuid \| null |          | Branch ID; required when runtime\_target\_kind is preview\_branch                                                   |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_channel_agents",
    "arguments": {}
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"model\":\"string\"}]}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "id": "string",
          "name": "string",
          "description": "string",
          "model": "string"
        }
      ]
    }
  }
}
```
