Skip to main content
Use test_tool after get_tool_context or search_docs when you have written a small program and want to know if it installs and runs. The snippet runs in a UseAgents sandbox, not on the user’s machine.
Pass config and secrets through optional env as { name, value?, secret? }. Each item needs a value or a secret. Logs store env names only. The sandbox allows outbound network so live vendor API calls can run. JavaScript and TypeScript (runtime: node) use the Bun runtime to add packages and run files. Pass sessionId from a previous result to reuse the same sandbox. The box is paused between runs and has no hard TTL.

Parameters

Example call