Show a protein or antibody
generate_protein_or_antibodyDraw a protein, enzyme, or antibody as a cartoon ribbon diagram by fetching its PDB or AlphaFold structure and saving PNG/SVG files with a rotatable 3D panel.
Instructions
Draw a protein, enzyme or antibody as a cartoon (ribbon diagram).
Fetches its structure from the PDB (AlphaFold model if there is none) and writes PNG/SVG files plus a rotatable panel: helices as spirals, strands as arrows, bound groups such as heme or zinc as sticks. Works for enzyme and protein names (lysozyme, trypsin, hemoglobin, insulin), gene symbols (RecA), antibody INNs (trastuzumab) and a plain "antibody" or "IgG". Antibodies come with the IgG domain scheme; an antibody without a known structure shows the architecture of an intact IgG. A protein's 3D structure is this tool too — the panel rotates.
Not this tool for: a small molecule, a peptide sequence or any skeletal formula (use generate_molecule); a small molecule as a 3D model (use generate_3d); a protein's function, EC number or cofactors as text (use lookup, topic "biochem").
Args: name: English protein, enzyme, gene or antibody name ("lysozyme", "trastuzumab", "antibody"); an organism may follow ("human lysozyme"). formats: "png", "svg" (default both). A cartoon has no CDXML.
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": {
"name": "<name>"
},
"name": "generate_protein_or_antibody"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| formats | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | No | ||
| name | No | ||
| type | No | protein | |
| atoms | No | ||
| files | No | ||
| views | No | ||
| foundAs | No | ||
| message | No | ||
| protein | No | ||
| viewSvg | No | ||
| lipinski | No | ||
| subtitle | No | ||
| viewAtoms | No | ||
| candidates | No | ||
| cdxml_path | No | ||
| properties | No | ||
| stereoNote | No | ||
| initialView | No | ||
| viewRequest | No | ||
| projectionNote | No | ||
| stereoWarnings | No | ||
| functionalGroups | No |