Function: createBALTool()
createBALTool(
config?):ZodToolDefinition<ZodObject<{code:ZodString; },$strip>,AsyncGenerator<StreamingToolYield,unknown,unknown>>
Defined in: packages/tools/src/baleybots-dsl-v2/index.ts:627
Create the execute_baleybots tool.
This tool allows an LLM to write and execute BAL code, creating composable AI systems at runtime.
Prefer createBalTools() when you also want the on-demand bal_docs tool.
Parameters
config?
BALConfig = {}
Returns
ZodToolDefinition<ZodObject<{ code: ZodString; }, $strip>, AsyncGenerator<StreamingToolYield, unknown, unknown>>