Expand description
Native tool executors — Calculator and DateTimeTool.
Tools are pure functions that execute locally (no LLM call).
When a use_tool step references a known tool, the runner
intercepts it and calls the executor directly.
Supported tools:
- Calculator: safe arithmetic expression evaluator
- DateTimeTool: current date/time/timestamp queries
Structs§
- Tool
Result - Result of a tool execution.
Functions§
- calculator_
execute - Safe arithmetic expression evaluator.
- datetime_
execute - Current date/time queries using system time (UTC).
- dispatch
- Dispatch a tool call by name. Returns
Noneif the tool is not a native executor.