search_compounds
Find chemical compounds in PubChem database using names, CAS numbers, formulas, or identifiers to support research and analysis.
Instructions
Search PubChem database for compounds by name, CAS number, formula, or identifier
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_records | No | Maximum number of results (1-10000, default: 100) | |
| query | Yes | Search query (compound name, CAS, formula, or identifier) | |
| search_type | No | Type of search to perform (default: name) |
Input Schema (JSON Schema)
{
"properties": {
"max_records": {
"description": "Maximum number of results (1-10000, default: 100)",
"maximum": 10000,
"minimum": 1,
"type": "number"
},
"query": {
"description": "Search query (compound name, CAS, formula, or identifier)",
"type": "string"
},
"search_type": {
"description": "Type of search to perform (default: name)",
"enum": [
"name",
"smiles",
"inchi",
"sdf",
"cid",
"formula"
],
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}