Package org.machanism.machai.ai.provider.tools
This package contains the tools-oriented provider used by the MachAI provider layer to
collect prompts, register ToolFunction instances,
and execute those functions from structured request data. The primary implementation,
ToolsProvider, extends the common provider
abstraction and supports YAML-based tool call descriptions that identify a tool name and
supply the parameters passed to the selected tool.
Classes in this package are intended for internal provider orchestration where host-defined
tool functions need to be made available through the same provider lifecycle used by other
AI integrations. A typical YAML tool call contains a tool entry naming the registered
function and a params entry containing the function arguments.
Example YAML request consumed by the provider:
tool: exampleTool params: name: sample enabled: true
- See Also:
-
ClassesClassDescriptionAI provider implementation for managing and invoking host-defined function tools.