List pending file drafts

List file drafts. Requires project.files.read.

Arguments

  • project_referencestring

    Project whose pending drafts are selected. Returns one latest update per canonically visible source file; restricted server-function drafts are omitted. Project ID or slug; defaults to the current project.

  • branch_referencestring · min length 1

    Branch name or UUID. Omit for main; a missing selection is an error.

  • entity_typestring

    Filter by the actual source-file type. One of page, component, function, virtual_file.

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_file_drafts",    "arguments": {}  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"drafts\":[{\"file_id\":\"00000000-0000-0000-0000-000000000000\",\"entity_type\":\"page\",\"version\":1,\"updated_at\":\"string\",\"body_snapshot\":\"string\"}]}"      }    ],    "structuredContent": {      "drafts": [        {          "file_id": "00000000-0000-0000-0000-000000000000",          "entity_type": "page",          "version": 1,          "updated_at": "string",          "body_snapshot": "string"        }      ]    }  }}

The tool ran; its output is result.structuredContent.