veryfront__create_upload
Requires project.uploads.write.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Can change resources.
Arguments
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "veryfront__create_upload",
"arguments": {
"path": "example",
"size_bytes": 1
}
}
}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
Full schemas
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Project-relative destination path, for example assets/image.png. Leading slashes are stripped."
},
"content_type": {
"type": "string",
"description": "MIME type; it becomes a required header of the PUT request."
},
"size_bytes": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "File size in bytes, checked against the storage quota."
},
"project_reference": {
"type": "string",
"description": "Project UUID, slug or configured domain; optional when the selected context supplies a project."
}
},
"required": [
"path",
"size_bytes"
],
"additionalProperties": false,
"description": "Arguments for the create_upload tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}{
"type": "object",
"properties": {
"upload_id": {
"type": "string",
"description": "UUID of the pending upload."
},
"path": {
"type": "string",
"description": "Project-relative path of the upload."
},
"upload_url": {
"type": "string",
"description": "Short-lived signed URL for the PUT request that sends the bytes."
},
"required_headers": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "Additional structured values associated with this result."
},
"description": "Headers the PUT request must send."
},
"status": {
"type": "string",
"const": "pending",
"description": "Always pending until the bytes are stored."
}
},
"required": [
"upload_id",
"path",
"upload_url",
"required_headers",
"status"
],
"additionalProperties": false,
"description": "Structured result returned by the create_upload tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}