Patch Changes
- #1122
a16e74dThanks @threepointone! - AddToolProviderinterface for composing tools from multiple sources into a single codemode sandbox.createCodeToolnow accepts aToolProvider[]alongside raw tool sets. Each provider contributes tools under a named namespace (e.g.state.*,mcp.*) with the default beingcodemode.*. Providers withpositionalArgs: trueuse natural function signatures (state.readFile("/path")) instead of single-object args. The oldexecutor.execute(code, fns)signature is deprecated but still works with a warning.