veryfront__create_file

Create a file. Requires project.files.write.

Risk: mutating.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug
refstringContent selector: main or branch:<name-or-id>. Omit for main. Release and environment snapshots are read-only. Supplied aliases must name the same content.
branch_idstringLegacy branch name or ID alias for ref=branch:<value>. Omit for main.
pathstringYesFile path to create in main or the selected branch. Atomically fails if the path already exists, including concurrent creation; it does not overwrite.
contentstringYesFile content

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__create_file",    "arguments": {      "path": "<path>",      "content": "<content>"    }  }}