fetch_uniprot
Retrieve a protein sequence from UniProt using an accession or ID. Choose output format: FASTA, text, or XML. Ideal for sequence analysis workflows.
Instructions
Fetch a protein sequence from UniProt.
Args: uniprot_id: UniProt accession or ID format: Output format - 'fasta', 'txt', 'xml' (default: 'fasta')
Returns: Dictionary containing the UniProt record
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": {
"uniprot_id": "<uniprot_id>"
},
"name": "fetch_uniprot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uniprot_id | Yes | ||
| format | No | fasta |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||