smiles_has_substructure
Verify if a SMILES molecule has a substructure matching a SMARTS pattern.
Instructions
Check if SMILES contains SMARTS pattern substructure
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": {
"mol": "<mol>",
"target_smarts": "<target_smarts>"
},
"name": "smiles_has_substructure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mol | Yes | ||
| target_smarts | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |