execute_python
Execute Python code in an isolated Docker container to create, edit, and analyze Excel files using openpyxl, pandas, numpy, and matplotlib; read from /inputs and write to /outputs.
Instructions
Execute Python for Excel work inside an isolated Docker container.
Available libraries: openpyxl, pandas, numpy, matplotlib. Read files from
/inputs and write new or edited files to /outputs. Assign a JSON value to
result for it to be returned. openpyxl writes formulas but does not
calculate them.
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": {
"code": "<code>"
},
"name": "execute_python"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |