prepare_upload
Get a single-use upload URL, valid for 10 minutes, bound to one project and asset key. Client with access to PNG/JPEG/static SVG bytes must POST them as application/octet-stream. Failed attempts consume the URL; mint another to retry. Never send local paths to remote MCP.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"key": "<key>"
},
"name": "prepare_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| theme | No | ||
| locale | No | ||
| screen | No | ||
| projectId | Yes |