execute_claude_script
Automatically detect and execute Python scripts from Claude LLM for bioinformatics analysis, with auto-installation of dependencies and generation of HTML reports including execution logs.
Instructions
🚀 MAIN TOOL: Automatically detect and execute Python scripts generated by Claude LLM for bioinformatics tasks. Features: ✅ Auto-detects Python installation ✅ Provides detailed installation guide if Python missing ✅ Auto-installs required packages (pandas, numpy, biopython, etc.) ✅ Full execution logging and error handling ✅ Script length monitoring (recommends ≤100 lines) ✅ HTML report generation with auto-browser opening
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": {
"claude_response": "<claude_response>"
},
"name": "execute_claude_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claude_response | Yes | The full response from Claude LLM that may contain Python scripts | |
| workflow_id | No | Optional workflow ID to associate with this execution | |
| execution_context | No | Context about what the script is supposed to do |