tokportal_upload_image
Generate a short-lived signed upload URL and token for uploading an image to TokPortal. Specify filename, MIME type, bundle ID, and optional purpose to obtain secure credentials for the upload.
Instructions
Create an image upload URL. Returns a short-lived signed upload URL and upload token. Do not send Idempotency-Key. The successful response contains a secret and is never stored in the replay ledger. A request with the header is rejected with IDEMPOTENCY_KEY_NOT_ALLOWED_FOR_SENSITIVE_RESPONSE (400) before any ledger claim or operation execution.
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": {
"body": "<body>"
},
"name": "tokportal_upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JSON request body. |