decorate
open override fun decorate(tool: <Error class: unknown class>, agentProcess: AgentProcess, action: Action?, llmOptions: <Error class: unknown class>): <Error class: unknown class>
Decorate the tool with some extra information.
Return
The decorated tool.
Parameters
tool
The tool to decorate.
agent Process
The agent process that is using the tool.
action
The action that resulted in the tool being called, if any.
llm Options
The LLM options that resulted in the tool being called.