Fallback pattern for executing Python code when execute_code_sandbox fails by writing to file and running via shell
Use this skill when execute_code_sandbox fails during Python code execution, particularly for tasks involving:
When execute_code_sandbox returns an error or fails to produce expected output:
Use write_file to save your Python script to a file:
# Use write_file tool with: