# List agents across projects

Tool: `veryfront__list_accessible_agents`

List agents across projects.

## Arguments

| Name                | Type                                   | Required | Description                                                                                          |
| ------------------- | -------------------------------------- | -------- | ---------------------------------------------------------------------------------------------------- |
| `account_id`        | string · uuid                          |          | Provide the account id.                                                                              |
| `cursor`            | string                                 |          | Opaque pagination cursor returned by a previous response.                                            |
| `limit`             | integer · min 1 · max 100 · default 50 |          | Maximum number of results to return.                                                                 |
| `search`            | string · min length 1 · max length 200 |          | Provide the search.                                                                                  |
| `project_reference` | string · min length 1 · max length 200 |          | Project identifier or slug that scopes the tool call.                                                |
| `access`            | string · default all                   |          | Provide the access. One of `all`, `project`, `shared`.                                               |
| `kind`              | string                                 |          | Provide the kind. One of `source_project_agent`, `installed_project_agent`.                          |
| `runtime_status`    | string                                 |          | Provide the runtime status. One of `ready`, `offline`, `not_applicable`, `unknown`.                  |
| `label`             | array of string                        |          | Provide the label.                                                                                   |
| `sort_by`           | string · default project\_name         |          | Field to sort by. Ties break by agent row ID ascending. One of `name`, `project_name`, `updated_at`. |
| `sort_order`        | string · default asc                   |          | Sort direction. Defaults to asc, the order the directory has always used. One of `asc`, `desc`.      |

## 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_accessible_agents",
    "arguments": {}
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"id\":\"string\",\"agent_id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"avatar_url\":\"string\",\"kind\":\"source_project_agent\",\"source_type\":\"project\",\"can_run\":false,\"provider\":{\"organization\":\"string\",\"url\":\"string\"},\"version\":\"string\",\"capabilities\":{\"streaming\":false,\"push_notifications\":false,\"extensions\":[\"string\"]},\"default_input_modes\":[\"string\"],\"default_output_modes\":[\"string\"],\"tools\":[\"string\"],\"skills\":[{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"tags\":[\"string\"],\"examples\":[\"string\"]}],\"suggestions\":[\"string\"],\"project\":{\"account_id\":\"00000000-0000-0000-0000-000000000000\",\"account_name\":\"string\",\"id\":\"00000000-0000-0000-0000-000000000000\",\"reference\":\"string\",\"name\":\"string\"},\"access\":{\"type\":\"project\",\"relation\":\"owner\"},\"runtime_readiness\":{\"status\":\"ready\",\"reason\":\"string\",\"runtime_target_kind\":\"registered_push_service\",\"runtime_service_key\":\"string\"},\"model\":\"string\",\"url\":\"string\",\"updated_at\":\"string\",\"labels\":[{\"id\":\"00000000-0000-0000-0000-000000000000\",\"resource_kind\":\"project\",\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"source_target_kind\":\"string\",\"source_agent_id\":\"string\",\"namespace\":\"string\",\"key\":\"string\",\"value\":\"string\",\"color\":\"string\",\"created_at\":\"string\",\"updated_at\":\"string\"}]}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"}}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "id": "string",
          "agent_id": "string",
          "name": "string",
          "description": "string",
          "avatar_url": "string",
          "kind": "source_project_agent",
          "source_type": "project",
          "can_run": false,
          "provider": {
            "organization": "string",
            "url": "string"
          },
          "version": "string",
          "capabilities": {
            "streaming": false,
            "push_notifications": false,
            "extensions": [
              "string"
            ]
          },
          "default_input_modes": [
            "string"
          ],
          "default_output_modes": [
            "string"
          ],
          "tools": [
            "string"
          ],
          "skills": [
            {
              "id": "string",
              "name": "string",
              "description": "string",
              "tags": [
                "string"
              ],
              "examples": [
                "string"
              ]
            }
          ],
          "suggestions": [
            "string"
          ],
          "project": {
            "account_id": "00000000-0000-0000-0000-000000000000",
            "account_name": "string",
            "id": "00000000-0000-0000-0000-000000000000",
            "reference": "string",
            "name": "string"
          },
          "access": {
            "type": "project",
            "relation": "owner"
          },
          "runtime_readiness": {
            "status": "ready",
            "reason": "string",
            "runtime_target_kind": "registered_push_service",
            "runtime_service_key": "string"
          },
          "model": "string",
          "url": "string",
          "updated_at": "string",
          "labels": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "resource_kind": "project",
              "project_id": "00000000-0000-0000-0000-000000000000",
              "source_target_kind": "string",
              "source_agent_id": "string",
              "namespace": "string",
              "key": "string",
              "value": "string",
              "color": "string",
              "created_at": "string",
              "updated_at": "string"
            }
          ]
        }
      ],
      "page_info": {
        "self": "string",
        "first": null,
        "next": "string",
        "prev": "string"
      }
    }
  }
}
```
