run_script
Execute Python scripts for data analytics tasks on the MCP server, enabling script-based data processing, results printing, and optional DataFrame storage without overwriting original data.
Instructions
Python Script Execution Tool
Purpose: Execute Python scripts for specific data analytics tasks.
Allowed Actions 1. Print Results: Output will be displayed as the script’s stdout. 2. [Optional] Save DataFrames: Store DataFrames in memory for future use by specifying a save_to_memory name.
Prohibited Actions 1. Overwriting Original DataFrames: Do not modify existing DataFrames to preserve their integrity for future tasks. 2. Creating Charts: Chart generation is not permitted.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
save_to_memory | No | ||
script | Yes |