Ask the person for their images
ask_for_imagesFor a picture the person has on their phone or computer and has not attached in the chat: gives a link where they upload it — their logo, photos, a signature scan; also when you see an attached picture but have no file of it. The person opens the link and picks the files; ask_for_images with the upload_id then returns each image's link (with its size and file name), for the document in render_pdf or update_document. The link also accepts the file’s bytes by POST. The link works for 24 hours and takes up to 50 images — photos straight from a phone or a camera too (HEIC, up to 40 MB each; brought to print size, 4096 px on the long side).
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": "ask_for_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | What to upload, shown to the person on the page, e.g. "Your company logo (PNG with a transparent background is best)". Only for a new link. | |
| upload_id | No | The upload_id of a link you gave: what the person has uploaded to it so far. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| images | Yes | ||
| uploadId | Yes | ||
| expiresAt | Yes | ||
| uploadUrl | Yes | The link for the person. |