load_structure
Load a structure from a local file into PyMOL and apply the BFS multimer heuristic to group chains by proximity, with options to replace the session or add to it.
Instructions
Loads a structure from a local file path and applies the BFS multimer heuristic.
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": {
"file_path": "<file_path>",
"obj_name": "<obj_name>"
},
"name": "load_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replace | No | Clear the session first, so this is the only structure loaded. Pass False to add to what is already loaded — which is how you get two structures into one session for superposition_view. | |
| obj_name | Yes | Name for the object in PyMOL | |
| file_path | Yes | Path to the structure file (PDB, MMCIF, etc.) | |
| multimer_cutoff | No | Distance (A) between chains to keep them in the same multimer. Default 8.0A is suitable for most functional assemblies. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |