veryfront__create_upload

Create a pending upload at a project path and return the signed URL and headers for the PUT request that sends the bytes. Requires project.uploads.write.

Risk: mutating.

Arguments

NameTypeRequiredDescription
pathstringYesProject-relative destination path, for example assets/image.png. Leading slashes are stripped.
content_typestringMIME type; it becomes a required header of the PUT request.
size_bytesintegerYesFile size in bytes, checked against the storage quota.
project_referencestringProject UUID, slug or configured domain; optional when the selected context supplies a project.

Call it

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