upsert_functional_groups_batch
Batch insert or update functional groups for a specific molecule, matching existing groups by lowercased name to avoid duplicate entries.
Instructions
Batch insert or update functional groups for a specific molecule matching on lower(name).
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": {
"molecule_id": "<molecule_id>",
"functional_groups": "<functional_groups>"
},
"name": "upsert_functional_groups_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| molecule_id | Yes | Parent Molecule ID | |
| functional_groups | Yes | Array of functional groups to upsert |