Load Structure
load_structureLoad a molecular structure or single-frame coordinate file into PyMOL, then return the created object name and atom/state counts.
Instructions
Load a molecular structure or single-frame coordinate file into PyMOL.
Returns the created object name and its atom/state counts.
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": {
"path": "<path>"
},
"name": "load_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a structure/coordinate file (.pdb, .cif, .gro, .mol2, .sdf, .xyz). | |
| object_name | No | Optional name for the loaded object. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||