Create Pulse Dashboard Attachment Upload Url
createPulseDashboardAttachmentUploadUrlIssue a presigned upload URL for a file to attach to a Duvo Pulse dashboard message (e.g. an HTML dashboard to copy, or a screenshot to match). POST the file bytes to the returned upload_url as multipart form data under the field name 'file', then pass the returned attachment_id in the attachments array of POST /artifacts/{artifactId}/messages. The agent reads the file directly from its sandbox. Files live as long as the dashboard's sandbox (about 12 hours), so upload shortly before sending.
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": {
"artifactId": "<artifactId>",
"filename": "<filename>",
"mime_type": "<mime_type>",
"size_bytes": "<size_bytes>"
},
"name": "createPulseDashboardAttachmentUploadUrl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Name of the file being attached, without any path segments | |
| mime_type | Yes | MIME type of the file, e.g. text/html or image/png | |
| artifactId | Yes | ||
| size_bytes | Yes | Size of the file in bytes (max 25MB) |