Change an earlier figure
edit_drawingChange a figure Lone Pair made earlier and get the new figure: add a structure to the right of it, change the journal style, or put a caption under it. Give the earlier result's drawing. Everything else in the drawing stays as it was. Moving or deleting atoms is not supported; draw the structure again instead. The result carries drawing (Lone Pair JSON to pass to edit_drawing or back in as input) and notes (anything changed on reading or lost in the format).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "edit_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | A structure to add to the right of the drawing (SMILES, InChI, molfile). | |
| dpi | No | PNG resolution, 300 by default; 600 for print. | |
| style | No | Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides. | |
| format | No | png (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`). | |
| opaque | No | White background instead of transparent (SVG, PNG). Default false. | |
| caption | No | Text to put under the drawing. | |
| drawing | No | The `drawing` object from an earlier result. | |
| add_is_name | No | True when `add` is a compound name to look up at PubChem. Default false. |