Skip to main content
Loading navigation
Back to prompt library

E2B Tool Definition

Linked challenge: TikTok Shop Growth Strategist with OpenAI Agents SDK and E2B

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Define a tool for the OpenAI Agents SDK that initializes an E2B sandbox and executes Python code for data analysis. The code should look like: agent = Agent(name='Strategist', tools=[e2b_tool]) where e2b_tool manages the Session and run_python methods.