Learn R Programming

aisdk (version 1.1.0)

create_invalid_tool_handler: Create Invalid Tool Handler

Description

Creates a special "invalid" tool that handles unrecognized or failed tool calls gracefully. This allows the system to continue operating and provide meaningful feedback to the LLM.

Usage

create_invalid_tool_handler()

Arguments

Value

A Tool object for handling invalid tool calls.