Move a file. Requires project.files.write.
Arguments
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.
expected_version_idstringExpected current source file version ID. Omission disables this guard; a stale version returns a concurrency conflict.
file_pathstringPath of the file. Send file_path or source_path, not two different values.
source_pathstringCurrent file path
destination_pathstringrequiredDestination file path. The source receives a deletion version and the destination receives a new file ID derived from its path; immutable history remains.
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__move_file", "arguments": { "destination_path": "string" } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"source_path\":\"string\",\"destination_path\":\"string\",\"id\":\"string\",\"path\":\"string\",\"version_id\":\"string\",\"type\":\"page\",\"size_bytes\":0,\"checksum\":\"string\",\"updated_at\":\"string\"}" } ], "structuredContent": { "source_path": "string", "destination_path": "string", "id": "string", "path": "string", "version_id": "string", "type": "page", "size_bytes": 0, "checksum": "string", "updated_at": "string" } }}The tool ran; its output is result.structuredContent.