smiles_replace
Replace a SMARTS pattern in a SMILES string with a given replacement SMARTS pattern.
Instructions
Replace SMARTS pattern in a SMILES
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>",
"replacement_smarts": "<replacement_smarts>"
},
"name": "smiles_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mol | Yes | ||
| target_smarts | Yes | ||
| replacement_smarts | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |