Run Pml
run_pmlExecute raw PyMOL command-language statements for molecular visualization and analysis. Enabled only when PYMOL_MCP_ALLOW_CODE_EXEC=1 is set.
Instructions
[opt-in] Execute raw PyMOL command-language statements. Requires PYMOL_MCP_ALLOW_CODE_EXEC=1.
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": {
"command": "<command>"
},
"name": "run_pml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | PyMOL command-language (.pml) statement(s), newline-separated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |