execute_pymol_command
Run raw PyMOL CLI commands for operations not covered by dedicated tools, including custom settings and scripts.
Instructions
Executes a raw PyMOL command string (PyMOL CLI syntax). PREFER the dedicated tools when one
exists — show, color, select, distance, ligand_view, interface_view, etc. They have better
defaults, do compound setup in one call, and produce cleaner results. Reach for this tool
only when no other tool covers what you need (e.g. set ray_shadow, 0, bg_color grey20, multi-statement scripts). Note: this accepts the PyMOL cmd.do mini-language,
not Python.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | A PyMOL CLI command, e.g. `set ray_shadow, 0`. Not Python. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |