Search compounds
search_compoundsUse when you need a list of cannabis compounds, for example every compound at CB2 or every terpene. Find the compounds mapped onto the human body (curated Greencyclepedia records and database compounds with a measured, sourced value at a target placed in tissue) by name, chemical class, record type or molecular target (for example every compound acting at CB2, TRPV1, 5-HT1A or FAAH, or every terpene). Returns identity, PubChem CID, record type, targets and the Greencyclepedia url. Use get_compound for one full record. Educational reference, not medical advice. Example arguments: {"target":"CB2","limit":10}.
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 |
|---|---|---|---|
| class | No | Chemical class. | |
| limit | No | How many items to return, at most 100. | |
| query | No | Part of a name or identifier, for example "cannabidiol", "CBD", "thymol" or "CDB000032". Leave out to list all. | |
| target | No | A receptor, channel or enzyme by name or gene, for example "CB2", "CNR1" or "PPAR-gamma". | |
| recordType | No | curated (Greencyclepedia records with reviewed effects and grades) or database (compounds with a measured value at a placed target). |