notification_document_upload_url_create
Creates a new presigned URL for an existing notification document attachment when its upload link expires, so you can PUT the file bytes to the returned URL.
Instructions
Creates a fresh presigned upload URL for a document attachment already registered via notification_document_add — needed only when the uploadLinks url that call returned has expired. Requires: notification_request_create → requestId, and the attachment's id as attachmentId (the fileId in notification_document_add's uploadLinks). Who uploads: this tool only returns the presigned URL — you must PUT the raw file bytes to it yourself (no Authorization header; the composite tools also send x-amz-checksum-sha256 with the base64 SHA-256 of the file). No MCP tool uploads notification attachments, so this PUT is always yours.
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": {
"requestId": "<requestId>",
"attachmentId": "<attachmentId>"
},
"name": "notification_document_upload_url_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileSize | No | ||
| requestId | Yes | UUID of the notification request. Obtain from notification_request_create. | |
| attachmentId | Yes | MANDATORY. UUID of the attachment. Obtain from notification_document_add. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| expiration | No |