Return file draft. Requires project.files.read.
Arguments
project_referencestringProject ID or slug; defaults to the current project.
branch_referencestring · min length 1Branch name or UUID. Omit for main; a missing selection is an error.
pathstring · min length 1requiredSource-file path or UUID in the selected project/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_file_draft", "arguments": { "path": "string" } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"file_id\":\"00000000-0000-0000-0000-000000000000\",\"entity_type\":\"page\",\"version\":1,\"updated_at\":\"string\",\"path\":\"string\",\"content\":\"string\"}" } ], "structuredContent": { "file_id": "00000000-0000-0000-0000-000000000000", "entity_type": "page", "version": 1, "updated_at": "string", "path": "string", "content": "string" } }}The tool ran; its output is result.structuredContent.