Provide tools to an agent
createTool
function.
input
: The validated parameters matching your schema definitioncontext
: An object containing:
agent
: The Agent instance that called the toolnetwork
: The network instance, providing access to the network.state
.lifecycle
onStart
hook can be used to:onFinish
hook can be used to: