fetch_structure
Fetches PDB coordinates or AlphaFold models by known accession for coordinate-based analyses, with configurable live, cache, and fixture fallback.
Instructions
Retrieve PDB coordinates from RCSB or an AlphaFold model from the configured provider, or replay an exact fixture. Use when a structure accession is known and before coordinate-based analyses; this is not sequence prediction. LIVE_ONLY requires network access and returns source provenance plus coordinate artifact bytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Caller-chosen identifier linking this call to one research run. | |
| source | Yes | Selected remote provider or exact fixture source. | |
| targetId | Yes | Caller-chosen identifier for the target protein or structure. | |
| accession | Yes | Provider accession, such as an RCSB PDB ID or AlphaFold accession, matching source. | |
| fallbackPolicy | Yes | Allowed source order; LIVE_ONLY forbids cache and fixture substitution, FIXTURE_ONLY forbids live calls. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether execution completed successfully. | |
| data | No | Tool-specific result fields on success. | |
| meta | Yes | Run identifiers, timings, and input/output hashes. | |
| error | No | Structured failure on unsuccessful execution. |