add_representation
Layer multiple molecular representations on the same molecule without clearing previous ones, enabling combined visual styles.
Instructions
Add a representation WITHOUT clearing existing ones — layer several reps
(e.g. water as Points + solute as VDW). color is a coloring METHOD
(Name, ResName, ResType, Chain, Beta, ...); style is VDW/Lines/Points/
NewCartoon/Licorice/etc.
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": {
"molid": "<molid>"
},
"name": "add_representation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Name | |
| molid | Yes | ||
| style | No | VDW | |
| material | No | Opaque | |
| selection | No | all |