covabasic_image_to_smiles
Convert a chemical structure image to SMILES via Mathpix OCR. Input: base64-encoded PNG/JPG of a drawn molecule. Returns SMILES, confidence, and all detected structures. Requires Mathpix API credentials on server.
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": {
"image_base64": "<image_base64>"
},
"name": "covabasic_image_to_smiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| image_base64 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |