Export a subsystem
mbe_exportFree. Export a subsystem and its dependencies (types, interface and item definitions, requirements, allocations; anything else as reference proxies) into a package of a target. dry_run returns the diff (create, update, unchanged, delete candidate) and touches nothing; create refuses a package that already holds it; update writes in place through the id map and never duplicates.
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": {
"model_id": "<model_id>",
"subsystem_id": "<subsystem_id>",
"target": "<target>",
"target_package": "<target_package>"
},
"name": "mbe_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | A branch, commit or baseline (default main). | |
| mode | No | dry_run | |
| target | Yes | ||
| model_id | Yes | A saved model id (m_ followed by 24 hex digits), as the studio and /v1/repos list them. | |
| subsystem_id | Yes | Qualified name of a package or definition, e.g. "L4Robotaxi::NetworkSwitch". | |
| target_package | Yes | Qualified name (Vehicle::Chassis::Braking) or a tool element id. | |
| create_missing_packages | No |