build_structure
Construct an ASE structure from a declarative specification, supporting bulk, molecule, and surface types with optional rattling.
Instructions
Build an ASE structure from a declarative spec and register it.
Examples: {"kind":"bulk","name":"Cu","crystalstructure":"fcc","a":3.6,"repeat":[2,2,2]} {"kind":"molecule","name":"H2O"} {"kind":"surface","name":"Pt","size":[2,2,4],"vacuum":10.0} Add "rattle": 0.1 to perturb positions (good for testing relaxation).
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": {
"spec": "<spec>"
},
"name": "build_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes |