Documentation
¶
Overview ¶
Package agenttool adapts an agent.Agent into a tool.FuncTool via New, so one agent can be invoked as a tool by another.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
RunOptions []agent.Option
// ArgName overrides the name of the single string argument the tool exposes
// to the model. Defaults to "query".
ArgName string
// ArgDescription overrides the description of that argument. Defaults to
// "input query to invoke the agent".
ArgDescription string
}
Config represents the configuration for New.
Click to show internal directories.
Click to hide internal directories.