Packages

A Gleam library for building and orchestrating agents on the BEAM.

Current section

Files

Jump to
pig include pig@agent@effect_ExecuteTools.hrl
Raw

include/pig@agent@effect_ExecuteTools.hrl

-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())
}).