Save Dashboard Definition to File
appd_save_dashboard_fileSave a complete AppDynamics dashboard configuration as a local JSON file for inspection, editing, version control, or later import.
Instructions
Build a complete AppDynamics dashboard JSON definition and save it to a local file — without creating anything in AppDynamics yet.
The saved file can be:
Inspected or edited before importing
Version-controlled alongside your code
Imported with appd_import_dashboard at any time
The file format is identical to appd_export_dashboard output and is directly importable.
Widget types (use exact names):
"TIMESERIES_GRAPH": Time-series chart (needs applicationId + metricPath)
"METRIC_VALUE": Single metric number (needs applicationId + metricPath)
"HEALTH_LIST": Health status list (needs applicationId + entityType)
"TEXT": Static label or section heading (needs text)
"PIE": Pie chart (needs applicationId + metricPath)
"GAUGE": Gauge (needs applicationId + metricPath)
Grid layout: width max is 12 (full row). Height is in grid units (1–4 typical). Use appd_browse_metric_tree to discover metric paths.
Args:
name (string): Dashboard name
filePath (string, optional): Where to write the file. Default: ./dashboard-{name}.json
description (string, optional): Dashboard description
height/width (number, optional): Canvas size in pixels (default: 768×1024)
widgets (array, optional): Widget definitions
Returns: Absolute path of the saved file and a widget summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Dashboard name. | |
| width | No | Canvas width in pixels. Default: 1024. | |
| height | No | Canvas height in pixels. Default: 768. | |
| widgets | No | Widgets to include. Same format as appd_create_dashboard. | |
| filePath | No | File path to save the JSON. Default: ./dashboard-{slugified-name}.json | |
| description | No | Dashboard description. |