Spectrum
spectrumColor selected atoms along a gradient using per-atom values such as B-factor and a chosen palette to visualize structural value distributions.
Instructions
Color a selection along a spectrum of a per-atom expression (e.g. B-factor).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "spectrum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| palette | No | Color palette, e.g. 'rainbow', 'blue_white_red'. | rainbow |
| selection | No | Selection to color. | all |
| expression | No | Per-atom expression to color by, e.g. 'b', 'count', 'resi'. | count |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |