ms_gui_add_vacuum_current
Add vacuum thickness to the current periodic structure. For 3D cells, extends lattice length; for 2D surfaces, inserts vacuum slab.
Instructions
Add vacuum to the current GUI periodic document in place only when the user explicitly asks for vacuum. For an already-built 3D cell, extend_lattice increases the chosen lattice length while preserving Cartesian atom positions; for 2D surfaces, vacuum_slab uses CrystalBuilder VacuumSlab.
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": {
"thickness": "<thickness>"
},
"name": "ms_gui_add_vacuum_current"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | C | |
| mode | No | extend_lattice | |
| thickness | Yes | Vacuum thickness to add in Angstrom. | |
| exportFile | No | ||
| ballAndStick | No | ||
| documentName | No | ||
| slabPosition | No | ||
| transferSymmetry | No | ||
| reorientAfterVacuumSlab | No |