alter_state
Modify atomic coordinates within a specified molecular state using a selection and coordinate expression, such as x=x+10, to adjust structures in PyMOL.
Instructions
Alters atomic coordinates in a state
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": {
"state": "<state>",
"selection": "<selection>",
"expression": "<expression>"
},
"name": "alter_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | State to modify. | |
| selection | Yes | Atoms to modify. | |
| expression | Yes | Assignment over coordinates, e.g. ``x=x+10``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |