upload_dashboard_file
Upload an HTML dashboard file to S3 and add it as a client menu section. The menu link is auto-generated from the S3 URL.
Instructions
Upload an HTML dashboard file to S3 and add it as a menu section
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": {
"clientName": "<clientName>",
"fileName": "<fileName>",
"fileContent": "<fileContent>",
"menuSection": "<menuSection>"
},
"name": "upload_dashboard_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | Name for the dashboard file (will be made unique automatically) | |
| clientName | Yes | Name of the client to add the dashboard to (e.g., 'onesea') | |
| contentType | No | Content type of the file (default: 'text/html') | text/html |
| fileContent | Yes | HTML content of the dashboard file | |
| menuSection | Yes | Menu section details (link will be auto-generated from S3 URL) |