create_upload_link
Get a link where the USER uploads documents (Word, PDF, Excel, PowerPoint, anything) to keep with a database. Use this whenever a file should be stored in Azquo - NEVER base64 a file into a tool call. Give the user the url; they open it in a browser and drop the files. The server keeps each original (downloadable later) and makes a Markdown copy of Word/PDF/Excel/PowerPoint/HTML/text for you to read with read_document. Pass nameId to attach them to a name, typically a Meta info note: each upload adds a short attribute DOCUMENT to it (IMAGE for a png/jpg/gif/webp/bmp picture) - the file itself is never put in the name. The link lasts 30 minutes and takes any number of files. Afterwards call list_documents to see what arrived.
FILES YOU MADE YOURSELF (e.g. a .docx built in your code sandbox): do not make the user download and
re-upload them. If your sandbox can reach this server, POST them straight to the link with the returned
curlCommand (multipart, one -F files=@... per file); the reply is JSON with each document's id. The link
is the only credential - no API key. If the request cannot connect, the sandbox's network access does not
include this server: tell the user it can be allowed in Claude.ai's code-execution network settings, and
meanwhile give them the url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional: a line shown on the upload page saying what to upload, e.g. "The signed contract for Acme" | |
| nameId | No | Optional: id of the name (e.g. a Meta info note) to attach the documents to | |
| database | Yes | Database the documents belong to |