# List agent templates

Tool: `veryfront__list_agent_templates`

List agent templates.

## Arguments

| Name         | Type                                   | Required | Description                                                       |
| ------------ | -------------------------------------- | -------- | ----------------------------------------------------------------- |
| `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.                                               |
| `category`   | string · min length 1                  |          | Provide the category.                                             |
| `kind`       | string                                 |          | Provide the kind. One of `template_agent`, `installable_agent`.   |
| `origin`     | string                                 |          | Provide the origin. One of `veryfront`, `user`.                   |
| `sort_by`    | string                                 |          | Provide the sort by. One of `name`, `agent_id`, `category_label`. |
| `sort_order` | string                                 |          | Provide the sort order. 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_agent_templates",
    "arguments": {}
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"id\":\"string\",\"agent_id\":\"string\",\"kind\":\"template_agent\",\"name\":\"string\",\"description\":\"string\",\"avatar_url\":\"https://example.com\",\"category_id\":\"string\",\"category_label\":\"string\",\"provider_name\":\"string\",\"provider_url\":\"https://example.com\",\"model\":\"string\",\"version\":\"string\",\"tools\":[\"string\"],\"suggestions\":[\"string\"],\"actions\":[\"fork\"],\"template_project\":{\"name\":\"string\",\"project_reference\":\"string\",\"source_path\":\"string\"},\"installability\":{\"status\":\"installable\",\"reason\":\"string\"},\"origin\":\"veryfront\",\"runtime_mode\":\"push_service\",\"runtime_service_key\":\"string\",\"environment_scope\":\"development\",\"card\":{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"provider\":{\"name\":\"string\",\"url\":\"https://example.com\"},\"version\":\"string\",\"runtime_mode\":\"push_service\",\"runtime_service_key\":\"string\",\"default_input_modes\":[\"string\"],\"default_output_modes\":[\"string\"],\"skills\":[{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\"}],\"tools\":[\"string\"]}}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"},\"total\":0}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "id": "string",
          "agent_id": "string",
          "kind": "template_agent",
          "name": "string",
          "description": "string",
          "avatar_url": "https://example.com",
          "category_id": "string",
          "category_label": "string",
          "provider_name": "string",
          "provider_url": "https://example.com",
          "model": "string",
          "version": "string",
          "tools": [
            "string"
          ],
          "suggestions": [
            "string"
          ],
          "actions": [
            "fork"
          ],
          "template_project": {
            "name": "string",
            "project_reference": "string",
            "source_path": "string"
          },
          "installability": {
            "status": "installable",
            "reason": "string"
          },
          "origin": "veryfront",
          "runtime_mode": "push_service",
          "runtime_service_key": "string",
          "environment_scope": "development",
          "card": {
            "id": "string",
            "name": "string",
            "description": "string",
            "provider": {
              "name": "string",
              "url": "https://example.com"
            },
            "version": "string",
            "runtime_mode": "push_service",
            "runtime_service_key": "string",
            "default_input_modes": [
              "string"
            ],
            "default_output_modes": [
              "string"
            ],
            "skills": [
              {
                "id": "string",
                "name": "string",
                "description": "string"
              }
            ],
            "tools": [
              "string"
            ]
          }
        }
      ],
      "page_info": {
        "self": "string",
        "first": null,
        "next": "string",
        "prev": "string"
      },
      "total": 0
    }
  }
}
```
