request_message_reply_upload
Step 1 of 2 for attaching a document to a reply to a message from Moneda (only when get_moneda_message shows reply.attachment optional or required). Returns a presigned S3 PUT URL (uploadUrl), a signed uploadKey and a literal curlCommand to run in your code sandbox; the file bytes go straight to S3 and never enter the conversation. After the PUT succeeds, pass uploadKey to reply_to_moneda_message. PDF, JPEG or PNG, max 5 MB; the slot expires in 15 minutes. Only upload a file the user chose for this reply.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mimeType": "<mimeType>",
"fileSizeBytes": "<fileSizeBytes>"
},
"name": "request_message_reply_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mimeType | Yes | MIME type of the file. | |
| fileSizeBytes | Yes | Exact file size in bytes (e.g. `wc -c <file>`). Signed into the URL: the PUT fails if the body differs. |