A2AClientOptions
Defined in: agents/src/a2a/client.ts:159
Extends
Section titled “Extends”A2ADialect.RequestHooks
Properties
Section titled “Properties”binding
Section titled “binding”binding: A2ABinding;Defined in: agents/src/a2a/wire.ts:10
Inherited from
Section titled “Inherited from”cardUrl?
Section titled “cardUrl?”optional cardUrl?: string;Defined in: agents/src/a2a/client.ts:162
endpoint
Section titled “endpoint”endpoint: string;Defined in: agents/src/a2a/client.ts:160
extensions?
Section titled “extensions?”optional extensions?: readonly string[];Defined in: agents/src/a2a/client.ts:164
fetch?
Section titled “fetch?”optional fetch?: FetchLike;Defined in: agents/src/a2a/client.ts:153
Inherited from
Section titled “Inherited from”RequestHooks.fetchheaders?
Section titled “headers?”optional headers?: (request) => HeadersInit | Promise<HeadersInit>;Defined in: agents/src/a2a/client.ts:155
Host-only hook for credentials, trace headers and request IDs. Never populated from messages.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
request |
{ method: string; url: string; } |
request.method |
string |
request.url |
string |
Returns
Section titled “Returns”HeadersInit | Promise<HeadersInit>
Inherited from
Section titled “Inherited from”RequestHooks.headersidleMs?
Section titled “idleMs?”optional idleMs?: number;Defined in: agents/src/a2a/client.ts:169
limits?
Section titled “limits?”optional limits?: Partial<A2ALimits>;Defined in: agents/src/a2a/client.ts:165
maxResultBytes?
Section titled “maxResultBytes?”optional maxResultBytes?: number;Defined in: agents/src/a2a/client.ts:166
policy
Section titled “policy”policy: A2AEndpointPolicy;Defined in: agents/src/a2a/client.ts:163
tenant?
Section titled “tenant?”optional tenant?: string;Defined in: agents/src/a2a/client.ts:161
timeoutMs?
Section titled “timeoutMs?”optional timeoutMs?: number;Defined in: agents/src/a2a/client.ts:168
Preparation, headers and unary-body deadline. Streaming bodies have their own idle deadline.
token?
Section titled “token?”optional token?: object;Defined in: agents/src/a2a/client.ts:157
Read once per request. A rejected token never causes a mutation to be sent again.
getToken()
Section titled “getToken()”getToken(): Promise<{ accessToken: string;}>;Returns
Section titled “Returns”Promise<{
accessToken: string;
}>
Inherited from
Section titled “Inherited from”RequestHooks.tokenversion
Section titled “version”version: A2AVersion;Defined in: agents/src/a2a/wire.ts:9