List the project resources defined in the source of a project, a branch or an environment to find one to read or edit; returns every project resource with the source files that could not be read. Requires project.resources.read.
Arguments
project_referencestringProject ID or slug
runtime_target_kindstring | nullProvide the runtime target kind.
target_environment_idstring · uuid | nullProvide the target environment id.
target_branch_idstring · uuid | nullProvide the target branch id.
source_target_kindstringProvide 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__list_project_resources", "arguments": {} }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"data\":[{\"id\":\"string\",\"pattern\":\"string\",\"description\":\"string\",\"title\":\"string\",\"source_path\":\"string\",\"edit_mode\":\"structured\"}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"},\"diagnostics\":[{\"kind\":\"source_file_diagnostic\",\"source_kind\":\"agent\",\"source_path\":\"string\",\"source_id\":\"string\",\"code\":\"parse_error\",\"message\":\"string\"}]}" } ], "structuredContent": { "data": [ { "id": "string", "pattern": "string", "description": "string", "title": "string", "source_path": "string", "edit_mode": "structured" } ], "page_info": { "self": "string", "first": null, "next": "string", "prev": "string" }, "diagnostics": [ { "kind": "source_file_diagnostic", "source_kind": "agent", "source_path": "string", "source_id": "string", "code": "parse_error", "message": "string" } ] } }}The tool ran; its output is result.structuredContent.