-record(execute_tools, { calls :: list(pig_protocol@message:tool_call()), on_results :: fun((list({pig_protocol@message:tool_call(), {ok, gleam@json:json()} | {error, pig@tool:tool_error()}})) -> any()) }).