decompose_r_groups
RDKit's R-group decomposition of a list of small molecules on a core given as SMARTS (default RGroupDecomposition parameters): per matched structure its core and substituents R1, R2 …, and the structures the core does not match.
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>",
"core": "<core>"
},
"name": "decompose_r_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| core | Yes | the core, as SMARTS. | |
| _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. | |
| _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 structures: one SMILES or molfile per entry. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | per matched structure: its index and its groups (Core, R1, R2 …) as SMILES | |
| summary | Yes | the decomposition in words, generated from this run | |
| unmatched | Yes | input indices the core does not match |