I think about tool design in terms of how much capability a model gets from each interface. My view on code execution as a general-purpose tool connects to my work on llm tool calling.
I think an LLM with a single tool that can execute code (with sensible restrictions) may be universally more useful than an LLM with multiple smaller tools.
I see code execution as effectively ALL the tools at once!
I invited people to challenge my view: Anyone want to convince me otherwise?
Related: tool calling design, llm apis and tool calling, api client libraries