Get project resource

Read one project resource by its ID to inspect its URI pattern, title and description; returns the project resource. Requires project.resources.read.

Arguments

  • project_referencestring

    Project ID or slug

  • resource_idstringrequired

    Resource ID from list_project_resources

  • runtime_target_kindstring | null

    Provide the runtime target kind.

  • target_environment_idstring · uuid | null

    Provide the target environment id.

  • target_branch_idstring · uuid | null

    Provide the target branch id.

  • source_target_kindstring

    Provide the source target kind. One of project, main_branch, environment, preview_branch.

Responses

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_resource",    "arguments": {      "resource_id": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"string\",\"pattern\":\"string\",\"description\":\"string\",\"title\":\"string\",\"source_path\":\"string\",\"edit_mode\":\"structured\"}"      }    ],    "structuredContent": {      "id": "string",      "pattern": "string",      "description": "string",      "title": "string",      "source_path": "string",      "edit_mode": "structured"    }  }}

The tool ran; its output is result.structuredContent.