as
Show one PyMOL representation for a selection while hiding all others, so you can isolate a specific structural view.
Instructions
Shows one representation while hiding all others for the specified selection
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": {
"representation": "<representation>"
},
"name": "as"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selection | No | PyMOL selection string, e.g. "1abc and chain A". See the module note for syntax. | all |
| representation | Yes | The one representation to leave visible: ``cartoon``, ``sticks``, ``spheres``, ``surface``, ``lines``, ``ribbon``, ``dots``, ``mesh``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |