# Get capabilities

Tool: `veryfront__get_project_capabilities`

Get project capabilities. Requires project.agents.read.

## Arguments

| Name                    | Type                  | Required | Description                                                                                       |
| ----------------------- | --------------------- | -------- | ------------------------------------------------------------------------------------------------- |
| `runtime_target_kind`   | string \| null        |          | Provide the runtime target kind.                                                                  |
| `target_environment_id` | string · uuid \| null |          | Provide the target environment id.                                                                |
| `target_branch_id`      | string · uuid \| null |          | Provide the target branch id.                                                                     |
| `source_target_kind`    | string                |          | Provide the source target kind. One of `project`, `main_branch`, `environment`, `preview_branch`. |
| `project_reference`     | string · min length 1 |          | Project identifier or slug that scopes the tool call.                                             |

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

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"resolved_capabilities\":{\"source_target\":{\"kind\":\"project\",\"target_environment_id\":\"00000000-0000-0000-0000-000000000000\",\"target_branch_id\":\"00000000-0000-0000-0000-000000000000\"},\"runtime_target\":{\"kind\":\"main_branch\",\"target_environment_id\":\"00000000-0000-0000-0000-000000000000\",\"target_branch_id\":\"00000000-0000-0000-0000-000000000000\"},\"skills\":[{\"type\":\"project\",\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"source_path\":\"string\",\"edit_mode\":\"structured\",\"allowed_tools\":[\"string\"]}],\"tools\":[{\"type\":\"control_plane\",\"name\":\"string\",\"description\":\"string\",\"parameters\":{}}],\"integrations\":[{\"id\":\"string\",\"name\":\"string\",\"tool_names\":[\"string\"]}],\"tool_resolution\":[{\"tool_name\":\"string\",\"source_selected\":false,\"catalog_available\":false,\"catalog_state\":\"available\",\"effective_authorization\":\"authorized\",\"policy\":{\"state\":\"absent\",\"scope\":\"project\",\"allowed_tools\":[\"string\"],\"execution_mode\":\"real\"},\"credential_requirement\":{\"mode\":\"oauth_connection\",\"managed_oauth\":false,\"byo_oauth_app_override\":{\"supported\":false,\"required\":false,\"client_id_env_var\":\"string\",\"client_secret_env_var\":\"string\"},\"mandatory_env_vars\":[\"string\"]},\"connection_readiness\":{\"status\":\"ready\",\"scope\":\"project\",\"connected_count\":0}}],\"tool_access\":{\"version\":1,\"freshness\":{\"resolved_at\":\"2026-01-01T00:00:00Z\",\"valid_for_ms\":1,\"fail_closed_on_expiry\":true},\"inputs\":{\"capabilities\":[\"project.read\"],\"billing\":{\"collaboration_allowed\":false,\"can_invite\":false},\"entitlements\":{\"dedicated_runtime\":false,\"custom_domains\":false,\"export_apps\":false}},\"families\":[{\"family\":\"collaboration\",\"default_decision\":{\"visibility\":\"visible\",\"reason_code\":\"allowed\",\"message\":\"string\"},\"action_overrides\":[{\"action\":\"create_invite\",\"decision\":{\"visibility\":\"visible\",\"reason_code\":\"allowed\",\"message\":\"string\"}}]}]},\"prompts\":[{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"source_path\":\"string\",\"edit_mode\":\"structured\"}],\"workflows\":[{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"target\":\"string\",\"source_path\":\"string\",\"edit_mode\":\"structured\",\"version\":\"string\",\"input_schema\":{},\"output_schema\":{},\"schedulable\":false}],\"tasks\":[{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"target\":\"string\",\"source_path\":\"string\",\"edit_mode\":\"structured\",\"input_schema\":{},\"output_schema\":{},\"schedulable\":false}],\"diagnostics\":[{\"kind\":\"source_file_diagnostic\",\"source_kind\":\"agent\",\"source_path\":\"string\",\"source_id\":\"string\",\"code\":\"parse_error\",\"message\":\"string\",\"details\":{}}],\"agents\":[{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"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\"],\"kind\":\"source_project_agent\",\"can_run\":false,\"source_type\":\"project\",\"installed_access\":{\"grant_id\":\"00000000-0000-0000-0000-000000000000\",\"relation\":\"owner\",\"service_account_id\":\"00000000-0000-0000-0000-000000000000\",\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"status\":\"string\"},\"runtime_readiness\":{\"status\":\"ready\",\"reason\":\"string\",\"runtime_target_kind\":\"registered_push_service\",\"runtime_service_key\":\"string\"},\"source_path\":\"string\",\"edit_mode\":\"structured\",\"avatar_url\":\"string\",\"model\":\"string\",\"url\":\"string\"}]}}"
      }
    ],
    "structuredContent": {
      "resolved_capabilities": {
        "source_target": {
          "kind": "project",
          "target_environment_id": "00000000-0000-0000-0000-000000000000",
          "target_branch_id": "00000000-0000-0000-0000-000000000000"
        },
        "runtime_target": {
          "kind": "main_branch",
          "target_environment_id": "00000000-0000-0000-0000-000000000000",
          "target_branch_id": "00000000-0000-0000-0000-000000000000"
        },
        "skills": [
          {
            "type": "project",
            "id": "string",
            "name": "string",
            "description": "string",
            "source_path": "string",
            "edit_mode": "structured",
            "allowed_tools": [
              "string"
            ]
          }
        ],
        "tools": [
          {
            "type": "control_plane",
            "name": "string",
            "description": "string",
            "parameters": {}
          }
        ],
        "integrations": [
          {
            "id": "string",
            "name": "string",
            "tool_names": [
              "string"
            ]
          }
        ],
        "tool_resolution": [
          {
            "tool_name": "string",
            "source_selected": false,
            "catalog_available": false,
            "catalog_state": "available",
            "effective_authorization": "authorized",
            "policy": {
              "state": "absent",
              "scope": "project",
              "allowed_tools": [
                "string"
              ],
              "execution_mode": "real"
            },
            "credential_requirement": {
              "mode": "oauth_connection",
              "managed_oauth": false,
              "byo_oauth_app_override": {
                "supported": false,
                "required": false,
                "client_id_env_var": "string",
                "client_secret_env_var": "string"
              },
              "mandatory_env_vars": [
                "string"
              ]
            },
            "connection_readiness": {
              "status": "ready",
              "scope": "project",
              "connected_count": 0
            }
          }
        ],
        "tool_access": {
          "version": 1,
          "freshness": {
            "resolved_at": "2026-01-01T00:00:00Z",
            "valid_for_ms": 1,
            "fail_closed_on_expiry": true
          },
          "inputs": {
            "capabilities": [
              "project.read"
            ],
            "billing": {
              "collaboration_allowed": false,
              "can_invite": false
            },
            "entitlements": {
              "dedicated_runtime": false,
              "custom_domains": false,
              "export_apps": false
            }
          },
          "families": [
            {
              "family": "collaboration",
              "default_decision": {
                "visibility": "visible",
                "reason_code": "allowed",
                "message": "string"
              },
              "action_overrides": [
                {
                  "action": "create_invite",
                  "decision": {
                    "visibility": "visible",
                    "reason_code": "allowed",
                    "message": "string"
                  }
                }
              ]
            }
          ]
        },
        "prompts": [
          {
            "id": "string",
            "name": "string",
            "description": "string",
            "source_path": "string",
            "edit_mode": "structured"
          }
        ],
        "workflows": [
          {
            "id": "string",
            "name": "string",
            "description": "string",
            "target": "string",
            "source_path": "string",
            "edit_mode": "structured",
            "version": "string",
            "input_schema": {},
            "output_schema": {},
            "schedulable": false
          }
        ],
        "tasks": [
          {
            "id": "string",
            "name": "string",
            "description": "string",
            "target": "string",
            "source_path": "string",
            "edit_mode": "structured",
            "input_schema": {},
            "output_schema": {},
            "schedulable": false
          }
        ],
        "diagnostics": [
          {
            "kind": "source_file_diagnostic",
            "source_kind": "agent",
            "source_path": "string",
            "source_id": "string",
            "code": "parse_error",
            "message": "string",
            "details": {}
          }
        ],
        "agents": [
          {
            "id": "string",
            "name": "string",
            "description": "string",
            "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"
            ],
            "kind": "source_project_agent",
            "can_run": false,
            "source_type": "project",
            "installed_access": {
              "grant_id": "00000000-0000-0000-0000-000000000000",
              "relation": "owner",
              "service_account_id": "00000000-0000-0000-0000-000000000000",
              "project_id": "00000000-0000-0000-0000-000000000000",
              "status": "string"
            },
            "runtime_readiness": {
              "status": "ready",
              "reason": "string",
              "runtime_target_kind": "registered_push_service",
              "runtime_service_key": "string"
            },
            "source_path": "string",
            "edit_mode": "structured",
            "avatar_url": "string",
            "model": "string",
            "url": "string"
          }
        ]
      }
    }
  }
}
```
