Select
selectCreate a named atom subset from a PyMOL expression and return the count of matching atoms.
Instructions
Create a named selection and return how many atoms it matched.
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": {
"name": "<name>",
"selection": "<selection>"
},
"name": "select"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new named selection. | |
| selection | Yes | PyMOL selection-algebra expression, e.g. 'chain A and resn ALA'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||