fetch_structure
Download a protein structure by PDB ID or UniProt accession from RCSB or AlphaFold and load it into the Blender scene with an initial style, color, and material.
Instructions
Download a structure by ID and add it to the scene with an initial style.
pdb_id: a PDB code like "4HHB", or a UniProt accession when database is "alphafold". Use style="none" to load without any style and build it up with add_style.
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": {
"pdb_id": "<pdb_id>"
},
"name": "fetch_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | chain | |
| style | No | cartoon | |
| pdb_id | Yes | ||
| database | No | rcsb | |
| material | No |