Update project resource

veryfront__update_project_resource

Requires project.files.write.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
project_referencestringNoProject ID or slug
resource_idstringYesResource ID from list_project_resources
patternstringNoNew URI pattern. Omit it to keep the current pattern. Minimum length: 1.
descriptionstringNoNew description. Omit it to keep the current description. Minimum length: 1.
titlestring or nullNoNew display title. Omit it to keep the title; null clears it.
source_target_kindstringNoThe source to write: project (the default) or preview_branch. Values: "project", "preview_branch".
target_branch_idstring or nullNoThe preview branch to write. Required with preview_branch and not accepted with project.

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__update_project_resource",    "arguments": {      "resource_id": "example"    }  }}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
idstringYesUnique identifier for the returned record.
patternstringYes
descriptionstringYesHuman-readable description returned by the tool.
titlestring or nullYesShort human-readable title returned by the tool.
source_pathstringYes
sourcestringYes
edit_modestringYesValues: "structured", "source_only".
source_only_reasonsstring[]YesList of source only reasons associated with this tool result.

Full schemas

input-schema.json
{  "type": "object",  "properties": {    "project_reference": {      "type": "string",      "description": "Project ID or slug"    },    "resource_id": {      "type": "string",      "description": "Resource ID from list_project_resources"    },    "pattern": {      "type": "string",      "minLength": 1,      "description": "New URI pattern. Omit it to keep the current pattern."    },    "description": {      "type": "string",      "minLength": 1,      "description": "New description. Omit it to keep the current description."    },    "title": {      "type": [        "string",        "null"      ],      "description": "New display title. Omit it to keep the title; null clears it."    },    "source_target_kind": {      "type": "string",      "enum": [        "project",        "preview_branch"      ],      "description": "The source to write: project (the default) or preview_branch."    },    "target_branch_id": {      "anyOf": [        {          "type": "string",          "format": "uuid",          "description": "Provide the target branch id."        },        {          "type": "null",          "description": "Provide the target branch id."        }      ],      "description": "The preview branch to write. Required with preview_branch and not accepted with project."    }  },  "required": [    "resource_id"  ],  "additionalProperties": false,  "description": "Arguments for the update_project_resource tool.",  "$schema": "http://json-schema.org/draft-07/schema#"}
output-schema.json
{  "type": "object",  "properties": {    "id": {      "type": "string",      "description": "Unique identifier for the returned record."    },    "pattern": {      "type": "string"    },    "description": {      "type": "string",      "description": "Human-readable description returned by the tool."    },    "title": {      "type": [        "string",        "null"      ],      "description": "Short human-readable title returned by the tool."    },    "source_path": {      "type": "string"    },    "source": {      "type": "string"    },    "edit_mode": {      "type": "string",      "enum": [        "structured",        "source_only"      ]    },    "source_only_reasons": {      "type": "array",      "items": {        "type": "string"      },      "description": "List of source only reasons associated with this tool result."    }  },  "required": [    "id",    "pattern",    "description",    "title",    "source_path",    "source",    "edit_mode",    "source_only_reasons"  ],  "additionalProperties": false,  "description": "Structured result returned by the update_project_resource tool.",  "$schema": "http://json-schema.org/draft-07/schema#"}