PythonComputationalTool
Execute Python code for data science tasks like web scraping, data analysis, visualization, and machine learning with automatic library management.
Instructions
Unified Python execution and data science tool with automatic library management and comprehensive workflow support
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": {
"operation": "<operation>"
},
"name": "PythonComputationalTool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Type of computational operation to perform | |
| input_data | No | Input data as string (HTML, XML, CSV, JSON, etc.) | |
| parameters | No | Operation-specific parameters and configuration | |
| custom_code | No | Custom Python code to execute (for custom operation) |