execute_pymol_command
Execute raw PyMOL CLI commands for advanced control when dedicated tools are not available.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |