Packages

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

Current section

Files

Jump to
pig include pig@tool_Tool.hrl
Raw

include/pig@tool_Tool.hrl

-record(tool, {
definition :: pig@ai@tool_definition:tool_definition(),
handler :: fun((gleam@dynamic:dynamic_()) -> {ok, gleam@json:json()} |
{error, pig@tool:tool_error()})
}).