count_atoms
Count atoms in molecular structures by specifying VMD atom-selection expressions, enabling precise analysis of molecular components.
Instructions
Count atoms matching a VMD atom-selection expression
(e.g. "protein and name CA", "resname LIG", "within 5 of protein").
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": {
"selection": "<selection>",
"structure": "<structure>"
},
"name": "count_atoms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selection | Yes | ||
| structure | Yes | ||
| trajectory | No |