
Set approval callback for human-in-the-loop tool execution
set_approval_callback.RdSet approval callback for human-in-the-loop tool execution
Details
The callback function receives a list with the following elements:
name: The name of the tool being calledarguments: A list of arguments passed to the toolid: The unique identifier for this tool call
The callback should return:
TRUEto approve the tool executionFALSEto deny the tool executionA character string to deny with a custom error message