Save an uploaded image to the media library
save_media_imagePersists an uploaded image in the media library after the client has PUT it to the signed URL.
Instructions
Rate limit: 100 requests / 10 seconds per shop. See Rate limiting.
Persists an uploaded image in the media library after the client has PUT it to the signed URL
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": "save_media_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| account | No | Exact private shop profile label; not a provider identity or authorization proof. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| fileUrl | No | ||
| payload | No | Complete current native JSON body; cannot mix with native body flags or payload_file. | |
| payload_file | No | Absolute regular non-symlink native JSON body file, at most1MiB. Cannot mix with payload or body flags. |