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: <Error class: unknown class>, agentProcess: AgentProcess, action: Action?, llmOptions: <Error class: unknown class>): <Error class: unknown class>

Decorate the tool with some extra information.