Expand description
Caller restrictions: which callers (the model directly, or other tools) may trigger a tool, and how caller tools receive their callees.
Structs§
- Prepared
Tool Callers - Tool sets derived from a caller configuration.
Enums§
- Tool
Caller - Something that may trigger a tool call.
- Tool
Caller Definition - How a caller tool reaches its callees.
Functions§
- prepare_
tools_ for_ callers - Applies a caller configuration: callees of provider callers get their provider options prepared, callees of local callers are bound into the caller and hidden from the model, and tools without a direct or provider caller are removed from the model tool set.
- validate_
tool_ callers - Checks a caller configuration against the tool set.
Type Aliases§
- Local
Bind Fn - Binds callees to a caller tool.
- Prepare
Provider Options Fn - Adjusts a callee’s provider options so the provider routes its calls through the caller tool.
- Tool
Callers - Allowed callers per tool. Tools not listed keep the default (direct calls only).