ToolDecorator

fun interface ToolDecorator

Decorate tools for use on the platform: for example, to time them and emit events.

Inheritors

Functions

Link copied to clipboard
abstract fun decorate(tool: Tool, agentProcess: AgentProcess, action: Action?, llmOptions: <Error class: unknown class>): Tool

Decorate the tool with some extra information.