Export design to a JSON file
mpb_export_designExports a valid design in MPB exchange format, removes credential values, and writes a git-friendly JSON file for design-as-code; relative paths resolve under MPB_DESIGNS_DIR.
Instructions
Exports a VALID design in MPB exchange format, removes credential values, and writes it to a file (design as code, git-friendly). Relative paths resolve under MPB_DESIGNS_DIR.
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": {
"designId": "<designId>"
},
"name": "mpb_export_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| designId | Yes | MPB design UUID (see mpb_list_designs) | |
| outputPath | No | File to write. Default: <MPB_DESIGNS_DIR>/<name>-<version>.json |