color_structure
Color atoms or residues by chain, bfactor, rainbow scheme, or apply a named/hex color to visualize structural features.
Instructions
Color atoms/residues by scheme (chain, bfactor, rainbow) or a named/hex color. For electrostatic or hydrophobicity coloring use the dedicated surface tools. Aliases: colour, paint, set color, recolor.
Example: color_structure("#1", "chain")
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": {
"spec": "<spec>",
"color_scheme": "<color_scheme>"
},
"name": "color_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| color_scheme | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |