adk_a2a_v1_card (erlang_adk v0.7.0)

View Source

Agent Card construction and selection for the A2A 1.0 JSON-RPC binding.

Summary

Functions

Return the bounded set of extension URIs clients must acknowledge.

Functions

json(Card)

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

jsonrpc_interface(_)

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

new(Config)

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

required_extensions(Card)

-spec required_extensions(map()) -> [binary()].

Return the bounded set of extension URIs clients must acknowledge.

validate(Card)

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