FormNord: opplastingslenke
create_upload_linkCreate a one-time upload page for the user's model file, for when the user has the file (attached in chat or on their device) and you cannot pass its contents to get_print_quote. Give the user upload_url; when they say it is uploaded, call get_print_quote with upload_id. Accepts STL, 3MF or zip up to 500 MB (large models are simplified automatically for pricing). The link is valid for 24 hours.
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 |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| kode | No | Machine-readable error code when ok is false. | |
| grunn | No | Human-readable reason (Norwegian) when ok is false. | |
| upload_id | No | ||
| expires_at | No | ||
| upload_url | No |