Python File
python_fileExecute a Python script file and return its output, enabling AI agents to run Python code through the MCP terminal server.
Instructions
This function will execute a python file and return the output.
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": {
"file": "<file>"
},
"name": "python_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes |