Link to edit in HexSketch
structure_linkA link that opens the structure in HexSketch (in the browser, nothing to install), where the user can edit it by drawing and copy it back. Give it to the user whenever they may want to change a structure.
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": {
"structure": "<structure>"
},
"name": "structure_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Drawing style: hexsketch (default) or acs (ACS 1996 journal style). | |
| structure | Yes | The structure: SMILES (e.g. "CC(=O)Oc1ccccc1C(=O)O"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name. |