dashboard.get_dashboard_script
dashboard_get_dashboard_scriptRetrieves a dashboard export and wraps its script in a SisenseScript helper for rendering as plain text, markdown, or file output.
Instructions
Build a formatted dashboard script helper object. Retrieves a dashboard export payload and wraps its script content in a :class:SisenseScript helper that can render plain text, markdown, or file output.
Returns: SisenseScript | dict[str, str] A :class:SisenseScript instance when the dashboard is retrieved and has a script. {"error": "..."} when the export fails (including status_code for HTTP failures such as missing …
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": {
"dashboard_id": "<dashboard_id>"
},
"name": "dashboard_get_dashboard_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dashboard_id | Yes | The dashboard identifier to export. |