Skip to main content

A2A SDK

Google A2A protocol — agent cards, task submission, and task lifecycle

Operations

Generated Reference

Overview

Google A2A protocol — agent cards, task submission, and task lifecycle

Available Operations

lucidGetA2aAgentCard

Standard A2A discovery endpoint. Returns the Agent Card for the specified agent, conforming to the A2A protocol spec.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.A2AAgentCard>

Errors

lucidSendA2aTask

Admin-only. Sends a task to an A2A-compatible agent. If the agent has a deployment URL, the request is forwarded via the A2A client.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.A2ATask>

Errors

lucidDiscoverA2aAgent

Admin-only. Fetches the Agent Card from an external HTTPS URL. Includes SSRF protection (blocks internal/private IPs).

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.LucidDiscoverA2aAgentResponse>

Errors

lucidGetA2aTask

Admin-only. Retrieves the current state of a task.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.A2ATask>

Errors

lucidDeleteA2aTask

Admin-only. Deletes a task record. If the task is still in progress it is canceled first, then the record is removed. Returns 404 if the task does not exist.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.LucidDeleteA2aTaskResponse>

Errors

lucidListA2aTasks

Admin-only. Lists tasks with optional state filter and pagination.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.LucidListA2aTasksResponse>

Errors