Install whole Klar dashboards into a project
install_dashboardsCopies selected Klar dashboards and the shared kit into a project, rewrites imports to relative paths, and generates index.ts so you can import and render them.
Instructions
Copies the Klar kit and the chosen dashboards into the project (default /src/klar), rewriting imports to relative paths and generating an index.ts. Dashboards can be given as slugs or names. Never overwrites existing files unless overwrite is true. Returns the files written and the remaining setup steps (packages to install, CSS import, render snippet). For a single chart use install_chart instead.
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": {
"project_dir": "<project_dir>"
},
"name": "install_dashboards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Report what would be written without writing | |
| overwrite | No | ||
| dashboards | No | Slugs or names to install, or ["all"]. Empty installs only the kit. Slugs: orbit, lumen, hearth, beacon, meridian, recur, sentinel, cadence, atrium, fieldstone, halo, synapse | |
| target_dir | No | Folder inside the project to install into | src/klar |
| include_kit | No | Also copy the shared kit (needed the first time) | |
| project_dir | Yes | Absolute path to the project root (the folder with package.json) |