Request photo upload link
klynx_request_photo_uploadUse this when the user has a photo on their phone or computer, or attached to the chat, and there is no public https link to it. Creates a private one-time upload link that accepts one photo within 15 minutes. Free, takes no inputs. Returns upload_id, upload_url (a page where the owner chooses the photo), upload_api_url (an endpoint that accepts the photo bytes) and expires_at. Once the photo is uploaded, the upload_id is the photo input for klynx_check_photo and klynx_create_post_pack. It does not enhance, caption or publish anything.
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": "klynx_request_photo_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next_step | Yes | ||
| upload_id | Yes | ||
| expires_at | Yes | ||
| upload_url | Yes | A page where the owner chooses the photo. | |
| upload_api_url | Yes | An endpoint that accepts the photo bytes. |