veryfront__update_project_resource

Change the pattern, description or title of a structured project resource, where an omitted field keeps its value; returns the updated project resource source document. Requires project.files.write.

Risk: mutating.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug
resource_idstringYesResource ID from list_project_resources
patternstringNew URI pattern. Omit it to keep the current pattern.
descriptionstringNew description. Omit it to keep the current description.
titlestring,nullNew display title. Omit it to keep the title; null clears it.
source_target_kindstringThe source to write: project (the default) or preview_branch.
target_branch_idThe preview branch to write. Required with preview_branch and not accepted with project.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__update_project_resource",    "arguments": {      "resource_id": "<resource_id>"    }  }}