BeamAgent.Tools.Behaviour behaviour (beam_agent v0.1.0)

Copy Markdown View Source

Behaviour implemented by every tool the agent can execute.

Summary

Callbacks

description()

@callback description() :: String.t()

execute(map)

@callback execute(map()) :: {:ok, term()} | {:error, term()}

name()

@callback name() :: atom()