run_python
Execute Python scripts or code directly within the Code Buddy MCP server to test, run, and validate Python programs during development workflows.
Instructions
Run a Python script or code
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": "run_python"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Python code to execute | |
| filepath | No | Python file to run (alternative to code) | |
| timeout | No | Timeout in seconds |