# Molclaw Compound Retrieve

> Molclaw Compound Retrieve is an Agent Skill for apps & automation published in the InternScience/Agents-A1 repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Retrieve SMILES strings from PubChem database using compound names.

- Skill name: `molclaw-compound-retrieve`
- Category: [Apps & Automation](https://www.openparable.com/skill/apps-automation/1)
- Source: https://github.com/InternScience/Agents-A1/blob/HEAD/evaluation/Tools/molbench/skills/L1_tools/molclaw-compound-retrieve/SKILL.md
- Repository: InternScience/Agents-A1 (469 GitHub stars when collected)

## SKILL.md

# Retrieve Compound SMILES

The description of tool *retrieve_smiles_by_compoundname*.

```tex
Retrieve SMILES strings from PubChem using compound names.
Args:
    compound_names (List[str]): List of input compound names (e.g., ["aspirin", "caffeine"])
Return:
    status (str): success/partial_success/error
    msg (str): message
    retrieve_smiles (List[dict]): List of dict, each containing the keys 'compound_name' and 'smiles'.
        --compound_name (str): A compound name of compound_names 
        --smiles (str): The retrieved SMILES string, if it exists; otherwise, None.
```

How to use tool *retrieve_smiles_by_compoundname* :

```python
response = await client.session.call_tool(
    "retrieve_smiles_by_compoundname",
    arguments={
        "compound_names": compound_names
    }
)
result = client.parse_result(response)
retrieve_smiles = result["retrieve_smiles"]
```

---

Source: https://www.openparable.com/skill/apps-automation/molclaw-compound-retrieve (OpenParable). Cite the canonical URL above.
