veryfront__list_project_file_draftsAccess
No external-service connection is required. Use a Veryfront credential with access to the requested resources. Call type: Read-only.Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | 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_reference | string | No | Branch name or UUID. Omit for main; a missing selection is an error. Minimum length: 1. |
entity_type | string | No | Filter by the actual source-file type. Values: "page", "component", "function", "virtual_file". |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.request.json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "veryfront__list_project_file_drafts",
"arguments": {}
}
}
Result
The published output shape is summarized below. Inspect both the MCP response content andisError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
drafts | object[] | Yes | One latest update per canonically visible source file. Restricted server-function drafts are omitted. |
Full schemas
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"description": "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_reference": {
"type": "string",
"minLength": 1,
"description": "Branch name or UUID. Omit for main; a missing selection is an error."
},
"entity_type": {
"type": "string",
"enum": [
"page",
"component",
"function",
"virtual_file"
],
"description": "Filter by the actual source-file type."
}
},
"additionalProperties": false,
"description": "Arguments for the list_project_file_drafts tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}
{
"type": "object",
"properties": {
"drafts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"file_id": {
"type": "string",
"format": "uuid",
"description": "Deterministic source-file identity within the project."
},
"entity_type": {
"type": "string",
"enum": [
"page",
"component",
"function",
"virtual_file"
],
"description": "Canonical source-file type."
},
"version": {
"type": "integer",
"minimum": 1,
"description": "Current pending draft sequence; commit/discard resets the pending sequence to 0."
},
"updated_at": {
"type": "string",
"description": "Timestamp of the current full-body draft snapshot."
},
"body_snapshot": {
"type": [
"string",
"null"
],
"description": "Latest pending full-body snapshot; null for updates without a full body, including deletions."
}
},
"required": [
"file_id",
"entity_type",
"version",
"updated_at",
"body_snapshot"
],
"additionalProperties": false
},
"description": "One latest update per canonically visible source file. Restricted server-function drafts are omitted."
}
},
"required": [
"drafts"
],
"additionalProperties": false,
"description": "Structured result returned by the list_project_file_drafts tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}