biothings_get_chems
Fetch multiple chemical compounds by providing a comma-separated list of IDs, such as InChIKeys or PubChem CIDs, to retrieve their data in one request.
Instructions
Fetch multiple chemical compounds by a comma-separated list of IDs.
Retrieves information for multiple chemical compounds in a single request.
**Input Format:** Accepts comma-separated list of chemical IDs in various formats:
- InChIKeys: "KTUFNOKKBVMGRW-UHFFFAOYSA-N,XEFQLINVKFYRCS-UHFFFAOYSA-N"
- PubChem CIDs: "5793,5281"
- Mixed formats: "KTUFNOKKBVMGRW-UHFFFAOYSA-N,5281"
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": {
"chem_ids": "<chem_ids>"
},
"name": "biothings_get_chems"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| fields | No | all | |
| chem_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |