ToolCondition

interface ToolCondition

This is a condition that the tool call arguments must meet in order for a message to be triggered.

Functions

Link copied to clipboard

Creates a request complete message and adds it to the messages in the tool.

Link copied to clipboard

Creates a request delayed message and adds it to the messages in the tool.

Link copied to clipboard

Creates a request failed message and adds it to the messages in the tool.

Link copied to clipboard
abstract fun requestStartMessage(block: ToolMessageStart.() -> Unit): ToolMessageStart

Creates a request start message and adds it to the messages in the tool.