Set number and date formatting
set_dashboard_formattingSet the default locale and number, currency, percentage, duration, date and datetime formatting for a dashboard. Individual widgets can still override these.
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": {
"dashboardId": "<dashboardId>"
},
"name": "set_dashboard_formatting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| locale | No | BCP 47 locale such as en-US, en-GB or de-DE. | |
| number | No | ||
| currency | No | For example { "currency": "USD", "decimals": 2 }. | |
| datetime | No | ||
| duration | No | ||
| percentage | No | ||
| dashboardId | Yes | Dashboard id. | |
| nullDisplay | No | What to show for an empty value, for example a dash. |