export_build
Export a copy of a Path of Building build to an XML file, creating a variant from an existing build file for backup or sharing.
Instructions
Export a copy of a build to an XML file. Creates a variant/copy from an existing build file. NOTE: This does NOT export from Lua bridge - use save_tree to apply Lua bridge modifications back to files.
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": {
"build_name": "<build_name>",
"output_name": "<output_name>"
},
"name": "export_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Additional notes to append to build notes | |
| overwrite | No | Allow overwriting existing file (default: false) | |
| build_name | Yes | Source build filename (e.g., 'MyBuild.xml') | |
| output_name | Yes | Output filename (without .xml extension) | |
| output_directory | No | Sub-directory under POB_DIRECTORY to export into (optional, defaults to POB_DIRECTORY/.pob-mcp/exports). Paths outside POB_DIRECTORY are rejected. |