The server exposes a managed Python environment for quick analysis and scripting.
Returned shape
All tools on this page return JSON-formatted strings.
execute_python_code
Use this for one-off probes and analysis.
Prefer this over python -c inside run_command. The subprocess backend will steer you back here if you use the wrong interface.
execute_python_script
Use this only when a .py file already exists.
Package management
install_python_packages installs additional packages with the shared package manager
list_python_packages lists what is already present in the managed environment
cwd still resolves under /workspace