chimerax_tool_screenshot
Capture ChimeraX tool panel screenshots separately from the 3D view, with optional resizing and padding. Save to a chosen path or default folder.
Instructions
Capture a screenshot of a ChimeraX tool window (e.g., Chain Contacts, Log).
This captures separate tool panels, not the main 3D view.
Use chimerax_screenshot for the main 3D view.
Args:
tool_name: Name of the tool window to capture (e.g., "Chain Contacts", "Log")
width: Optional width to resize the widget before capture (1-8192)
height: Optional height to resize the widget before capture (1-8192)
padding: Pixels of white padding around the image (default: 0, must be >= 0)
output_path: Where to save the image. If not provided, saves to
~/.local/share/chimerax-mcp/screenshots/ with a timestamp filename.
Returns:
Dict with status, tool_name, and file_path on success,
or status and message on error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| padding | No | ||
| tool_name | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||