# List skills

Tool: `veryfront__list_skills`

List the skills defined in the source of a project, a branch or an environment to find one to assign or edit; returns every skill with the source files that could not be read as skills. Requires project.agents.read.

## Arguments

| Name                    | Type                                   | Required | Description                                                                                                                                                                                  |
| ----------------------- | -------------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference`     | string                                 |          | Project ID or slug                                                                                                                                                                           |
| `runtime_target_kind`   | string \| null                         |          | Runtime target: main\_branch, environment or preview\_branch. Used as the source target kind when source\_target\_kind is omitted.                                                           |
| `target_environment_id` | string · uuid \| null                  |          | Environment UUID, for an environment target.                                                                                                                                                 |
| `target_branch_id`      | string · uuid \| null                  |          | Preview branch UUID, for a preview\_branch target.                                                                                                                                           |
| `source_target_kind`    | string                                 |          | Source target: project, main\_branch, environment or preview\_branch. Must match runtime\_target\_kind when both are sent. One of `project`, `main_branch`, `environment`, `preview_branch`. |
| `limit`                 | integer · min 1 · max 50               |          | Maximum number of results to return.                                                                                                                                                         |
| `cursor`                | string · min length 1 · max length 512 |          | Opaque pagination cursor returned by a previous response.                                                                                                                                    |

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

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"source_path\":\"string\",\"edit_mode\":\"structured\",\"owner_agent_id\":\"string\",\"short_name\":\"string\"}],\"diagnostics\":[{\"kind\":\"source_file_diagnostic\",\"source_kind\":\"agent\",\"source_path\":\"string\",\"source_id\":\"string\",\"code\":\"parse_error\",\"message\":\"string\"}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"}}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "id": "string",
          "name": "string",
          "description": "string",
          "source_path": "string",
          "edit_mode": "structured",
          "owner_agent_id": "string",
          "short_name": "string"
        }
      ],
      "diagnostics": [
        {
          "kind": "source_file_diagnostic",
          "source_kind": "agent",
          "source_path": "string",
          "source_id": "string",
          "code": "parse_error",
          "message": "string"
        }
      ],
      "page_info": {
        "self": "string",
        "first": null,
        "next": "string",
        "prev": "string"
      }
    }
  }
}
```
