Search pharmaceutical compounds
search_compoundsFind pharmaceutical compounds two ways: by example drugs you already know (fuzzy-matched), or by setting target characteristics on a −4…+4 scale. Provide exactly one of examples or preferences. Use list_compound_characteristics for the available preference names.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_compounds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (1–100, default 20). | |
| examples | No | Known drug names to find similar compounds for, e.g. ["aspirin","ibuprofen"]. Mutually exclusive with preferences. | |
| preferences | No | Map of characteristic name to desired value on the −4…+4 scale, e.g. {"Neuroactive":3,"Immunoactive":-2}. Omit a characteristic to ignore it. Mutually exclusive with examples. | |
| include_characteristics | No | Include each result’s characteristic scores in the response. |