execute_tools


Description:

public override async ArrayList<Message> execute_tools (ArrayList<ToolCall> tool_calls)

Run tools, then append any queued urgent messages for the next model call.

Shared ChatBase.toolsReply adds every returned message to the session and send_append payload — no core-library change required.

Parameters:

tool_calls

tool calls from the assistant response

Returns:

tool reply messages, then any drained urgent messages