Agentic Tool
Create an agentic tool that will need to be customized to add tools (and possibly specify an LLM) to be useful.
constructor(definition: Tool.Definition, metadata: Tool.Metadata = Tool.Metadata.DEFAULT, llm: <Error class: unknown class> = LlmOptions(), tools: List<Tool> = emptyList(), systemPromptCreator: SystemPromptCreator = { defaultSystemPrompt(definition.description) })
Parameters
definition
Tool definition (name, description, input schema)
metadata
Optional tool metadata
llm
Llm to use for orchestration
tools
Sub-tools available for the LLM to orchestrate
system Prompt Creator
Create prompt for the LLM to use. Specify to customize behavior