png
Export the current PyMOL view to an image file, specifying the output path and optional dimensions, DPI, or ray-tracing settings for custom renders.
Instructions
Saves a PNG image
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": {
"filename": "<filename>"
},
"name": "png"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Extra arguments such as width, height, dpi, ray. | |
| filename | Yes | Output path for the PNG. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |