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.
Arguments
pathstringrequiredProject-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_bytesinteger · max 9007199254740991requiredFile size in bytes, checked against the storage quota.
project_referencestringProject UUID, slug or configured domain; optional when the selected context supplies a project.
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__create_upload", "arguments": { "path": "string", "size_bytes": 1 } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"upload_id\":\"string\",\"path\":\"string\",\"upload_url\":\"string\",\"required_headers\":{},\"status\":\"pending\"}" } ], "structuredContent": { "upload_id": "string", "path": "string", "upload_url": "string", "required_headers": {}, "status": "pending" } }}The tool ran; its output is result.structuredContent.