name
used in the prompt for an agent.description
of what the tool does, the inputs it expects, and the output(s) it will return.output
.Inputs
it expects.agent
object. The agent can run with any number of tools, including no tools at all.
dexscreener.fetch_market_data
is a tool available in galadriel.tools.web3
.
Complete example code is here.
@tool
.
Then, right under the function signature, provide the description explaining what the tool does, arguments it expects, and the return format. These values will be used by LLM to evaluate when and how to use the tool.
Tool
class similarly to RetrieverTool.