query_rcsb_api
Query the RCSB Data API directly to retrieve protein structure, assembly, entity, or UniProt data by specifying an endpoint and optional parameters.
Instructions
Make a custom query to the RCSB Data API.
This is an advanced tool for accessing any RCSB Data API endpoint directly.
Args: endpoint: API endpoint path (e.g., 'assembly/1ABC-1', 'uniprot/P12345') params: Optional JSON string of query parameters (e.g., '{"format": "json"}')
Common endpoints: - entry/{pdb_id}: Entry-level information - polymer_entity/{pdb_id}{entity_id}: Polymer entity info - assembly/{pdb_id}-{assembly_id}: Biological assembly info - nonpolymer_entity/{pdb_id}{entity_id}: Small molecule/ligand info - uniprot/{uniprot_id}: UniProt cross-reference
Returns: JSON string containing the API response
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| endpoint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |