adk_connector_toolset (erlang_adk v0.10.0)

View Source

Policy-enforcing bridge from connector adapters to adk_toolset.

Connector packages implement the normal schemas/1 and resolved_call/4 callbacks. This bridge snapshots their schemas only after a complete manifest has been validated against the advertised catalog, and applies manifest execution policy to every resolved call.

Summary

Functions

new(Adapter, Handle, Manifest0)

-spec new(module(), term(), map()) -> {ok, adk_toolset:descriptor()} | {error, term()}.

resolved_call(State, Name, Args, Context)

-spec resolved_call(map(), binary(), map(), map()) -> {ok, map()} | {error, term()}.

schemas(State)

-spec schemas(map()) -> [map()].