Prepare asset upload
prepare_asset_uploadStage an image upload for an asset reference: a mark image, an app icon or a domain screenshot the user supplies. Returns a signed URL that accepts the raw image bytes by POST (PNG, JPEG, WebP, GIF or AVIF, up to 8 MB), and an upload_token that add_asset takes verbatim as reference.upload_token. The link is bound to this organization and expires within a few minutes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "prepare_asset_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accept | Yes | ||
| max_bytes | Yes | ||
| expires_at | Yes | ||
| upload_url | Yes | ||
| upload_token | Yes |