View Source Train.ToolSpec behaviour (train v0.0.1-dev)

Link to this section Summary

Callbacks

Async query the given tool and return the result or error.

Link to this section Types

Link to this section Callbacks

@callback description() :: String.t()
@callback name() :: String.t()
@callback query(String.t()) :: {:ok, any()} | {:error, any()}

Async query the given tool and return the result or error.