Tools
cascadeflow provides a tool calling framework for agent loops. Define tools, execute them, and track tool call budgets.ToolConfig
Define a tool with its schema and handler function.ToolExecutor
Executes tool calls and returns results.@tool Decorator
Define tools using a decorator for cleaner syntax.Tool Call Limits
Usemax_tool_calls in cascadeflow.run() to cap tool usage:
deny_tool action — the agent continues with what it has.
ToolResult
Returned byToolExecutor.execute().