DashboardsWriteDo not retry automatically

Publish widget

publish_widget

Set a widget's visibility / publishing options and mint or rotate its shortcode.

Parameters

ParameterTypeRequiredDescription
visibility"private" | "workspace" | "public-link" | "public-indexed"requiredInput for visibility.
indexablebooleanoptionalInput for indexable.
embedAllowedOriginsstring[]optionalInput for embedAllowedOrigins.
regeneratebooleanoptionalInput for regenerate.
widgetIdstringrequiredInput for widgetId.

Example call

The tool call an MCP client sends (required arguments shown with placeholder values).

{
"tool": "publish_widget",
"arguments": {
"visibility": "value",
"widgetId": "widgetId_123"
}
}

Use this tool in

Related Dashboards tools