Confirm an image upload
design_confirm_image_uploadStep 2 of attaching a user image: register the uploaded image.
Call after PUTting the bytes to the presigned URL. upload_url is that
presigned url (the query string is dropped automatically). Attaches the
image's public URL to the session, so a following design_chat embeds it.
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": {
"session_id": "<session_id>",
"design_id": "<design_id>",
"filename": "<filename>",
"upload_url": "<upload_url>"
},
"name": "design_confirm_image_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| design_id | Yes | ||
| session_id | Yes | ||
| upload_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |