notification_document_add
Attach document metadata (filename and SHA-256 hash) to a draft notification request before uploading actual files.
Instructions
Registers one or more document attachments (metadata only — fileName + SHA-256 hash) on a draft notification request. Use once per batch of documents before activating. Requires: notification_request_create → requestId. This only registers metadata; call notification_document_upload_url_create for each registered attachment to get a URL to PUT the actual file bytes to.
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>",
"attachments": "<attachments>"
},
"name": "notification_document_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes | UUID of the notification request. Obtain from notification_request_create. | |
| attachments | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | No | ||
| uploadLinks | No | ||
| notificationIds | No |