veryfront__create_upload_urlAccess
No external-service connection is required. Use a Veryfront credential with access to the requested resources. Call type: Can change resources.Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug |
file_path | string | Yes | Raw project-relative destination path (e.g., assets/image.png). Do not URL-encode JSON input; spaces, percent signs and Unicode are literal path characters. |
content_type | string | No | MIME type |
size | integer | Yes | File size in bytes (required for quota tracking) Minimum: -9007199254740991. Maximum: 9007199254740991. |
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.request.json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "veryfront__create_upload_url",
"arguments": {
"file_path": "example",
"size": -9007199254740991
}
}
}
Result
The published output shape is summarized below. Inspect both the MCP response content andisError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
upload_url | string | Yes | The upload url associated with this record. |
file_path | string | Yes | Storage path including the project id prefix. Prefer path when chaining upload tools. create_upload_signed_url also accepts this legacy value within the same project. |
path | string | Yes | Path relative to the project root, without the project id. Pass this path value to create_upload_signed_url and to upload tools taking a file_path input. |
upload_id | string | Yes | The upload id associated with this record. |
required_headers | object | Yes | Headers the client must include in the PUT request |
Full schemas
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"description": "Project ID or slug"
},
"file_path": {
"type": "string",
"description": "Raw project-relative destination path (e.g., assets/image.png). Do not URL-encode JSON input; spaces, percent signs and Unicode are literal path characters."
},
"content_type": {
"type": "string",
"description": "MIME type"
},
"size": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"exclusiveMinimum": 0,
"description": "File size in bytes (required for quota tracking)"
}
},
"required": [
"file_path",
"size"
],
"additionalProperties": false,
"description": "Arguments for the create_upload_url tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}
{
"type": "object",
"properties": {
"upload_url": {
"type": "string",
"description": "The upload url associated with this record."
},
"file_path": {
"type": "string",
"description": "Storage path including the project id prefix. Prefer `path` when chaining upload tools. `create_upload_signed_url` also accepts this legacy value within the same project."
},
"path": {
"type": "string",
"description": "Path relative to the project root, without the project id. Pass this `path` value to `create_upload_signed_url` and to upload tools taking a `file_path` input."
},
"upload_id": {
"type": "string",
"description": "The upload id associated with this record."
},
"required_headers": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "Additional structured values associated with this result."
},
"description": "Headers the client must include in the PUT request"
}
},
"required": [
"upload_url",
"file_path",
"path",
"upload_id",
"required_headers"
],
"additionalProperties": false,
"description": "Structured get upload url output schema for MCP tools.",
"$schema": "http://json-schema.org/draft-07/schema#"
}