Import design from JSON
mpb_import_designImport an MPB design envelope from a file or inline JSON, apply import fixes, and assign a new design ID; re-enter test-source credentials before running source tests.
Instructions
Imports a design envelope (MPB export format) from a file or inline JSON, first fixing known import quirks (unwrapped list items, flat-format fields). The server assigns a new design id. Credentials must be re-entered (mpb_test_source credentials) before a source test passes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mpb_import_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Override design.version before import | |
| envelope | No | Inline envelope instead of filePath | |
| filePath | No | Envelope file; relative paths resolve under MPB_DESIGNS_DIR | |
| sanitize | No | Apply import fixes (default true) |