Create an upload link for a file the user has
create_upload_linkCreate a one-time upload page for a 3D file the server cannot access, then check its status after the user uploads. Use when no public URL or disk access is available.
Instructions
Create a one-time web page where the user drops a 3D file you cannot pass to this server, such as a chat attachment or a file on their phone. Use it only when the file has no public URL and you cannot read the user's disk; with a public URL, upload_scene is faster. Parameters: set as if the user said what the file is ('product' for one object; 'interior', 'building' or 'exterior' for walkable scenes) so Verse skips guessing; name pre-fills the scene id, which the user can still change on the page. Give the user the link and the returned instructions, wait until they say it is uploaded, then call get_upload_link_status. Each link accepts one file, expires after 30 minutes, and uploads into the user's own account with their plan's file-size cap (1 GB free, up to 20 GB paid). Up to 60 links an hour per account. Requires sign-in (connector sign-in, or VERSE_API_KEY for the local server).
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": "create_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | What the file is, if the user said: a 'product' (a single object) or a walkable 'interior'/'building'/'exterior'. | |
| name | No | Optional slug for the scene id, lowercase letters, digits, - and _ (the user can change it on the page). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | The one-time upload page to give the user. | |
| expiresAt | No | When the link stops working. | |
| singleUse | No | Always true: the link accepts one upload. | |
| instructions | Yes | Text to show the user with the link. |