Upload asset
upload_assetUpload a local file to Bannerbear as an asset, specifying exact content type and workspace profile, only after explicit confirmation.
Instructions
POST /v5/assets. Current Bannerbear V5 operation; provider scopes, locks and credits apply. Mandatory confirmation before provider execution; one submission only.
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": {
"asset_file": "<asset_file>",
"content_type": "<content_type>"
},
"name": "upload_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Exact private workspace profile label; no fallback to another profile key. | |
| confirm | No | Must be true for this exact requested render, upload, edit, install or delete. | |
| asset_file | Yes | Regular non-symlink local file, at most 5,000,000 bytes. Uploaded only after confirmation. | |
| content_type | Yes | Exact documented Content-Type for these raw file bytes. |