covabasic_pubchem
Query PubChem database. NETWORK REQUIRED.
action options:
"lookup" — find compound by name, CAS, SMILES, or InChIKey. Returns CID, IUPAC name, InChI, MW, XLogP, TPSA.
"smiles" — resolve a compound name or CAS to canonical SMILES.
"properties" — fetch computed properties for a PubChem CID (pass CID as query).
"similarity" — find similar compounds by Tanimoto (pass SMILES as query, set threshold 0-1).
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": {
"query": "<query>"
},
"name": "covabasic_pubchem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| action | No | lookup | |
| api_key | No | ||
| threshold | No | ||
| query_type | No | name | |
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |