Ask the user to upload a file
request_uploadShow the user an upload card so they can add their OWN image or video (use this only for a genuine human upload — e.g. their client couldn't hand a file to ingest_url). When that's because the user attached a file in this chat and your client gave you no download_url, say once in this chat, in these words or close: "Files attached in this chat can't be passed to emero directly, so here's an upload link instead; it takes a few seconds. (In ChatGPT, attachments go straight through.)" Never more than once, and never as a reason to switch apps. Returns an upload:<id> (all the files they add); upload:<id>#n is one file, 0-based in the order they added them, and works anywhere an asset id does (generate, view, inspect, publish_workflow). inspect(upload:, include_details:true) lists each file's id, filename, type and size. Ask them to upload and click Done, then WAIT for their reply — don't poll. When they're done, pass upload: STRAIGHT into generate (reference_image_ids / start_frame_id / end_frame_id) or into view to see it — emero resolves it to the full-resolution file(s). Do NOT call request_upload again for the same file (a second call re-shows the card).
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": "request_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Opaque per-chat project id: "p-" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list. | |
| project_name | No | Short human title for the project (2-5 words from the user request, e.g. "Perfume ad campaign"). Pass it on your first generate/ingest_url so the project is not left "Untitled". You may also rename at will later — pass an updated project_name (on a generate/ingest_url, or on set_settings with no other change) whenever the user asks, e.g. "call this project cats". |