Create an image upload link
get_image_upload_linkCreate a 10-minute upload link for one JPEG, PNG, or WebP file just under 10 MiB. If you hold the file and can make HTTP requests, post it yourself as directUpload describes (multipart field "image" with the Authorization header) and read the image ID from the reply. Otherwise give the user uploadUrl, a page where they sign in to OyList and choose the file, then call get_image_upload_status.
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": "get_image_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | The username of the profile to work as. Needed only when the connection has several profiles; the user chooses it. |