extract
Move selected atoms into a new PyMOL object, removing them from the original structure for focused analysis.
Instructions
Extracts a selection to a new object
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>"
},
"name": "extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new object. | |
| selection | No | Atoms to move into it. Unlike create, these are *removed* from the original object. | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |