Get file upload link
presign-uploadReturns a time-limited upload URL and the final object key for one file (for a post image or persona asset). The file is uploaded with an HTTP PUT to that URL.
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": {
"filename": "<filename>",
"contentType": "<contentType>"
},
"name": "presign-upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Upload kind/bucket (e.g. "post", "persona", "onboarding") | |
| postId | No | Post ID (for post assets) | |
| filename | Yes | The filename, e.g. "logo.png" | |
| personaId | No | Persona ID (for persona assets) | |
| contentType | Yes | MIME type, e.g. "image/png" |