search_molecule_library
Which of a list of small molecules contain a SMARTS substructure, with RDKit's substructure library (pattern-fingerprint screen, then atom matching).
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": {
"molecules": "<molecules>",
"smarts": "<smarts>"
},
"name": "search_molecule_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| smarts | Yes | the substructure, as SMARTS (a plain SMILES reads as one). | |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. | |
| molecules | Yes | the library: one SMILES or molfile per entry. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | Yes | 0-based indices of the molecules that contain the pattern, ascending | |
| unread | Yes | 0-based indices of the entries RDKit could not read, never searched | |
| summary | Yes | how many structures contain the pattern, of how many searched |