Create document upload URL
create_upload_urlObtain a short-lived signed URL to upload a .docx document to the bucket via HTTP PUT. Confirm the action before the URL is generated.
Instructions
Get a short-lived signed URL to upload a generated .docx to the bucket. Upload with an HTTP PUT, Content-Type application/vnd.openxmlformats-officedocument.wordprocessingml.document. relPath is like 'chapitre_05/Manuel - Chapitre 5.docx'. After uploading, call log_generation with the same relPath. REQUIRES CONFIRMATION: called without confirm:true it only returns a needsConfirmation notice — ask the user to approve the upload, then call again with confirm:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| relPath | Yes |