Request an attachment upload URL
request_attachment_uploadGet a short-lived, one-time upload_url to hand the file bytes off outside this conversation — use this for files too large or too binary to inline via create_attachments (text/content_base64 there are capped at 4 MB and go through the model's own context). POST the file as multipart form data to upload_url with the field named file (max size and allowed content types are in the response) before expires_at; the token is consumed by the first successful upload and creates the attachment itself, scoped to company_id and, if given, project_id. This call only reserves the slot — it does not create the attachment yet, so it won't show up in list_attachments until the upload completes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes |