Package-level declarations

Types

Link copied to clipboard
interface A2ARequest
Link copied to clipboard
data class AgentCapabilities(val extensions: List<AgentExtension>? = null, val streaming: Boolean = false, val pushNotifications: Boolean = false, val stateTransitionHistory: Boolean = false)

Defines optional capabilities supported by an agent.

Link copied to clipboard

Builder class for creating AgentCapabilities instances.

Link copied to clipboard
data class AgentCard(val protocolVersion: String = "0.3.0", val name: String, val description: String? = null, val url: String, val preferredTransport: Transport = Transport.JSONRPC, val additionalInterfaces: List<AgentInterface>? = null, val iconUrl: String? = null, val provider: AgentProvider? = null, val version: String, val documentationUrl: String? = null, val capabilities: AgentCapabilities, val defaultInputModes: List<String>, val defaultOutputModes: List<String>, val skills: List<AgentSkill>, val security: List<Map<String, List<String>>>? = null, val securitySchemes: Map<String, SecurityScheme>? = null, val signatures: List<AgentCardSignature>? = null, val supportsAuthenticatedExtendedCard: Boolean = false)

The AgentCard is a self-describing manifest for an agent. It provides essential metadata including the agent's identity, capabilities, skills, supported communication methods, and security requirements.

Link copied to clipboard

Builder class for creating AgentCard instances.

Link copied to clipboard
data class AgentCardSignature(val header: Data? = null, val protectedHeader: String, val signature: String)

AgentCardSignature represents a JWS signature of an AgentCard. This follows the JSON format of an RFC 7515 JSON Web Signature (JWS).

Link copied to clipboard

Builder for creating AgentCardSignature instances.

Link copied to clipboard
data class AgentExtension(val description: String? = null, val params: Data? = null, val required: Boolean? = null, val uri: String)

A declaration of a protocol extension supported by an Agent.

Link copied to clipboard

Builder for creating AgentExtension instances.

Link copied to clipboard
data class AgentInterface(val transport: Transport, val url: String)

Declares a combination of a target URL and a transport protocol for interacting with the agent.

Link copied to clipboard

Builder for creating AgentInterface instances.

Link copied to clipboard
data class AgentProvider(val organization: String, val url: String? = null)

Represents the service provider of an agent.

Link copied to clipboard

Builder class for creating AgentProvider instances.

Link copied to clipboard
data class AgentSkill(val id: String, val name: String, val description: String, val tags: List<String>, val examples: List<String>? = null, val inputModes: List<String>? = null, val outputModes: List<String>? = null, val security: List<Map<String, List<String>>>? = null)

Represents a distinct capability or function that an agent can perform.

Link copied to clipboard

Builder class for creating AgentSkill instances.

Link copied to clipboard

Location where API key should be placed.

Link copied to clipboard
@SerialName(value = "apiKey")
data class ApiKeySecurityScheme(val type: String = "apiKey", val name: String, val location: ApiKeyLocation) : SecurityScheme

API Key authentication scheme.

Link copied to clipboard
data class Artifact @JvmOverloads constructor(val artifactId: String? = null, val name: String? = null, val description: String? = null, val parts: List<Part>, val index: Long? = null, val append: Boolean? = null, val lastChunk: Boolean? = null, val metadata: Metadata? = null)
Link copied to clipboard

Builder class for creating Artifact instances.

Link copied to clipboard
data class AuthenticationInfo(val schemes: List<String>, val credentials: String? = null)
Link copied to clipboard

Builder class for creating AuthenticationInfo instances.

Link copied to clipboard
data class CancelTaskRequest(val jsonrpc: String = "2.0", val id: RequestId? = null, val method: String = "tasks/cancel", val params: TaskIdParams) : A2ARequest
Link copied to clipboard
Link copied to clipboard
data class CancelTaskResponse(val jsonrpc: String = "2.0", val id: RequestId? = null, val result: Task? = null, val error: JSONRPCError? = null)
Link copied to clipboard
Link copied to clipboard
typealias ContextId = String
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "data")
data class DataPart @JvmOverloads constructor(val kind: String = "data", val data: Data, val metadata: Metadata? = null) : Part
Link copied to clipboard

Builder for creating DataPart instances with a fluent DSL.

Link copied to clipboard

https://a2a-protocol.org/latest/specification/#781-deletetaskpushnotificationconfigparams-object-taskspushnotificationconfigdelete

Link copied to clipboard
data class DeleteTaskPushNotificationConfigRequest(val jsonrpc: String = "2.0", val id: RequestId? = null, val method: String = "tasks/pushNotificationConfig/delete", val params: DeleteTaskPushNotificationConfigParams? = null) : A2ARequest

https://a2a-protocol.org/latest/specification/#78-taskspushnotificationconfigdelete

Link copied to clipboard
data class DeleteTaskPushNotificationConfigResponse(val jsonrpc: String = "2.0", val id: RequestId? = null, val result: Nothing? = null, val error: JSONRPCError? = null)

https://a2a-protocol.org/latest/specification/#78-taskspushnotificationconfigdelete

Link copied to clipboard
data class FileContent(val name: String? = null, val mimeType: String? = null, val bytes: ByteArray? = null, val uri: String? = null)

Represents the content of a file, either as base64 encoded bytes or a URI.

Link copied to clipboard

Builder for creating FileContent instances with a fluent DSL.

Link copied to clipboard
@SerialName(value = "file")
data class FilePart @JvmOverloads constructor(val kind: String = "file", val file: FileContent, val metadata: Metadata? = null) : Part
Link copied to clipboard

Builder for creating FilePart instances with a fluent DSL.

Link copied to clipboard
data class GetAuthenticatedExtendedCardRequest(val jsonrpc: String = "2.0", val id: RequestId? = null, val method: String = "agent/getAuthenticatedExtendedCard", val params: Nothing? = null) : A2ARequest

https://a2a-protocol.org/latest/specification/#710-agentgetauthenticatedextendedcard

Link copied to clipboard
data class GetAuthenticatedExtendedCardResponse(val jsonrpc: String = "2.0", val id: RequestId? = null, val result: AgentCard? = null, val error: JSONRPCError? = null)

https://a2a-protocol.org/latest/specification/#710-agentgetauthenticatedextendedcard

Link copied to clipboard
data class GetTaskPushNotificationConfigParams(val id: String, val pushNotificationConfigId: String? = null, val metadata: Metadata? = null)

Defines parameters for fetching a specific push notification configuration for a task.

Link copied to clipboard
data class GetTaskPushNotificationRequest(val jsonrpc: String = "2.0", val id: RequestId? = null, val method: String = "tasks/pushNotificationConfig/get", val params: TaskIdParams) : A2ARequest
Link copied to clipboard
data class GetTaskPushNotificationResponse(val jsonrpc: String = "2.0", val id: RequestId? = null, val result: TaskPushNotificationConfig? = null, val error: JSONRPCError? = null)
Link copied to clipboard
data class GetTaskRequest(val jsonrpc: String = "2.0", val id: RequestId? = null, val method: String = "tasks/get", val params: TaskQueryParams) : A2ARequest
Link copied to clipboard
Link copied to clipboard
data class GetTaskResponse(val jsonrpc: String = "2.0", val id: RequestId? = null, val result: Task? = null, val error: JSONRPCError? = null)
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "http")
data class HttpSecurityScheme(val type: String = "http", val scheme: String, val bearerFormat: String? = null) : SecurityScheme

HTTP authentication scheme (Basic, Bearer, etc.).

Link copied to clipboard
open class JSONRPCError(val code: Long, val message: String, val data: Data? = null)
Link copied to clipboard

Abstract DSL builder for Error classes.

Link copied to clipboard
open class JSONRPCRequest<T>(val jsonrpc: String = "2.0", val id: RequestId? = null, val method: String, val params: T? = null)
Link copied to clipboard
data class JSONRPCResponse(val jsonrpc: String = "2.0", val id: RequestId? = null, val result: Any? = null, val error: JSONRPCError? = null)
Link copied to clipboard
Link copied to clipboard
data class ListTaskPushNotificationConfigParams(val limit: Int? = null, val offset: Int? = null)

Parameters for listing push notification configurations https://a2a-protocol.org/latest/specification/#77-taskspushnotificationconfiglist

Link copied to clipboard
data class ListTaskPushNotificationConfigRequest(val jsonrpc: String = "2.0", val id: RequestId? = null, val method: String = "tasks/pushNotificationConfig/list", val params: ListTaskPushNotificationConfigParams? = null) : A2ARequest

https://a2a-protocol.org/latest/specification/#77-taskspushnotificationconfiglist

Link copied to clipboard
data class ListTaskPushNotificationConfigResponse(val jsonrpc: String = "2.0", val id: RequestId? = null, val result: List<TaskPushNotificationConfig>? = null, val error: JSONRPCError? = null)

https://a2a-protocol.org/latest/specification/#77-taskspushnotificationconfiglist

Link copied to clipboard
data class Message @JvmOverloads constructor(val role: Message.Role, val messageId: MessageId? = null, val taskId: TaskId? = null, val contextId: ContextId? = null, val parts: List<Part>, val metadata: Metadata? = null)
Link copied to clipboard

Builder class for creating Message instances.

Link copied to clipboard
typealias MessageId = String
Link copied to clipboard
data class MessageSendConfiguration @JvmOverloads constructor(val acceptedOutputModes: List<String>? = null, val historyLength: Int? = null, val pushNotificationConfig: PushNotificationConfig? = null, val blocking: Boolean? = null)

Defines configuration options for a message/send or message/stream request.

Link copied to clipboard

Builder for creating MessageSendConfiguration instances using a DSL approach.

Link copied to clipboard
data class MessageSendParams @JvmOverloads constructor(val message: Message, val configuration: MessageSendConfiguration? = null, val metadata: Metadata? = null)

Parameters for sending a message to an agent using the A2A protocol's message/send method.

Link copied to clipboard

Builder for creating MessageSendParams instances using a DSL approach.

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "mutualTLS")
data class MutualTLSSecurityScheme(val type: String = "mutualTLS", val description: String? = null) : SecurityScheme

Mutual TLS authentication scheme (new in 0.3.0).

Link copied to clipboard
data class OAuth2Flow(val authorizationUrl: String? = null, val tokenUrl: String? = null, val refreshUrl: String? = null, val scopes: Map<String, String>? = null)

OAuth2 flow configuration.

Link copied to clipboard

Builder class for creating OAuth2Flow instances.

Link copied to clipboard
data class OAuth2Flows(val implicit: OAuth2Flow? = null, val password: OAuth2Flow? = null, val clientCredentials: OAuth2Flow? = null, val authorizationCode: OAuth2Flow? = null)

OAuth2 flow configurations.

Link copied to clipboard

Builder class for creating OAuth2Flows instances.

Link copied to clipboard
@SerialName(value = "oauth2")
data class OAuth2SecurityScheme(val type: String = "oauth2", val flows: OAuth2Flows, val metadataUrl: String? = null) : SecurityScheme

OAuth2 authentication scheme with metadata URL support (new in 0.3.0).

Link copied to clipboard
@SerialName(value = "openIdConnect")
data class OpenIdConnectSecurityScheme(val type: String = "openIdConnect", val openIdConnectUrl: String) : SecurityScheme

OpenID Connect authentication scheme.

Link copied to clipboard
sealed interface Part
Link copied to clipboard
data class PushNotificationConfig(val url: String, val token: String? = null, val authentication: AuthenticationInfo? = null)
Link copied to clipboard

Builder class for creating PushNotificationConfig instances.

Link copied to clipboard
typealias RequestId = Any

Can be String or Int

Link copied to clipboard
sealed interface SecurityScheme

Security scheme types supported by the A2A protocol.

Link copied to clipboard

Builder class for creating SecurityScheme instances.

Link copied to clipboard
data class SendMessageRequest(val jsonrpc: String = "2.0", val id: RequestId? = null, val method: String = "message/send", val params: MessageSendParams) : A2ARequest

JSON-RPC 2.0 request for sending a message to an agent using the A2A protocol's message/send method.

Link copied to clipboard

Builder class for creating SendMessageRequest instances.

Link copied to clipboard
data class SendMessageResponse(val jsonrpc: String = "2.0", val id: RequestId? = null, val result: Task? = null, val error: JSONRPCError? = null)

JSON-RPC 2.0 response for the message/send method in the A2A protocol.

Link copied to clipboard

Builder class for creating SendMessageResponse instances.

Link copied to clipboard
data class SendStreamingMessageRequest(val jsonrpc: String = "2.0", var id: RequestId? = null, val method: String = "message/stream", val params: MessageSendParams) : A2ARequest

JSON-RPC 2.0 request for streaming a message to an agent using the A2A protocol's message/stream method.

Link copied to clipboard

Builder class for creating SendStreamingMessageRequest instances.

Link copied to clipboard
data class SendStreamingMessageResponse(val jsonrpc: String = "2.0", var id: RequestId? = null, val result: TaskUpdateEvent? = null, val error: JSONRPCError? = null)

JSON-RPC 2.0 response for the message/stream method in the A2A protocol.

Link copied to clipboard

Builder class for creating SendStreamingMessageResponse instances.

Link copied to clipboard
typealias SessionId = String
Link copied to clipboard
data class SetTaskPushNotificationRequest(val jsonrpc: String = "2.0", var id: RequestId? = null, val method: String = "tasks/pushNotificationConfig/set", val params: TaskPushNotificationConfig) : A2ARequest
Link copied to clipboard
data class SetTaskPushNotificationResponse(val jsonrpc: String = "2.0", var id: RequestId? = null, val result: TaskPushNotificationConfig? = null, val error: JSONRPCError? = null)
Link copied to clipboard
typealias SkillId = String
Link copied to clipboard
data class Task(val id: String, val contextId: String, val status: TaskStatus, val artifacts: List<Artifact>? = null, val history: List<Message>? = null, val kind: String = "task", val metadata: Metadata? = null)

Represents a single, stateful operation or conversation between a client and an agent.

Link copied to clipboard
data class TaskArtifactUpdateEvent @JvmOverloads constructor(val id: TaskId, val artifact: Artifact, val metadata: Metadata? = null) : TaskUpdateEvent
Link copied to clipboard

Builder class for creating TaskArtifactUpdateEvent instances.

Link copied to clipboard

Builder class for creating Task instances.

Link copied to clipboard
typealias TaskId = String
Link copied to clipboard
data class TaskIdParams(val id: TaskId, val metadata: Metadata? = null)
Link copied to clipboard

DSL builder for TaskIdParams.

Link copied to clipboard
data class TaskPushNotificationConfig(val id: TaskId, val pushNotificationConfig: PushNotificationConfig)
Link copied to clipboard

Builder class for creating TaskPushNotificationConfig instances.

Link copied to clipboard
data class TaskQueryParams(val id: String, val historyLength: Long? = null, val metadata: Metadata? = null)
Link copied to clipboard
Link copied to clipboard
data class TaskResubscriptionRequest(val jsonrpc: String = "2.0", var id: RequestId? = null, val method: String = "tasks/resubscribe", val params: TaskQueryParams) : A2ARequest
Link copied to clipboard
data class TaskSendParams @JvmOverloads constructor(val id: TaskId, val sessionId: SessionId? = null, val message: Message, val pushNotification: PushNotificationConfig? = null, val historyLength: Long? = null, val metadata: Metadata? = null)
Link copied to clipboard

Builder class for creating TaskSendParams instances.

Link copied to clipboard

Defines the lifecycle states of a Task.

Link copied to clipboard
data class TaskStatus @JvmOverloads constructor(val state: String, val message: Message? = null, val timestamp: Instant? = null)

Represents the status of a task at a specific point in time.

Link copied to clipboard

Builder class for creating TaskStatus instances.

Link copied to clipboard
data class TaskStatusUpdateEvent @JvmOverloads constructor(val id: TaskId, val status: TaskStatus, val final: Boolean = false, val metadata: Metadata? = null) : TaskUpdateEvent
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "text")
data class TextPart @JvmOverloads constructor(val kind: String = "text", val text: String, val metadata: Metadata? = null) : Part
Link copied to clipboard

Builder for creating TextPart instances with a fluent DSL.

Link copied to clipboard

TransportProtocol types supported by the A2A protocol.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Java-friendly top-level DSL function for creating AgentCapabilities.

Top-level DSL function for creating AgentCapabilities.

Link copied to clipboard

Java-friendly top-level DSL function for creating AgentCard.

inline fun agentCard(init: AgentCardBuilder.() -> Unit): AgentCard

Top-level DSL function for creating AgentCard.

Link copied to clipboard

Java-friendly top-level DSL function for creating AgentExtension.

Link copied to clipboard

Top-level DSL to create an AgentInterface.

Link copied to clipboard

Top-level DSL function for creating AgentProvider.

Java-friendly top-level DSL function for creating AgentProvider.

Link copied to clipboard

Java-friendly top-level DSL function for creating AgentSkill.

inline fun agentSkill(init: AgentSkillBuilder.() -> Unit): AgentSkill

Top-level DSL function for creating AgentSkill.

Link copied to clipboard

Java-friendly top-level DSL function for creating Artifact.

inline fun artifact(init: ArtifactBuilder.() -> Unit): Artifact

Top-level DSL function for creating Artifact.

fun authenticatedExtendedCardNotConfiguredError(message: String = "Authenticated Extended Card is not configured", data: Data? = null): JSONRPCError
Link copied to clipboard

Java-friendly top-level DSL function for creating AuthenticationInfo.

Top-level DSL function for creating AuthenticationInfo.

Link copied to clipboard

Java-friendly top-level DSL function for creating CancelTaskRequest.

DSL top-level function.

Link copied to clipboard

Java-friendly top-level DSL function for creating CancelTaskResponse.

Top-level DSL function for creating CancelTaskResponse.

Link copied to clipboard
fun contentTypeNotSupportedError(message: String = "Incompatible content types", data: Data? = null): JSONRPCError
Link copied to clipboard
fun ERROR CLASS: Symbol not found for CancelTaskRequest.Companion.create(init: Consumer<CancelTaskRequestBuilder>): CancelTaskRequest

Java-friendly DSL extension for CancelTaskRequest.

fun ERROR CLASS: Symbol not found for CancelTaskRequest.Companion.create(init: CancelTaskRequestBuilder.() -> Unit): CancelTaskRequest

DSL extension for CancelTaskRequest.

fun ERROR CLASS: Symbol not found for CancelTaskResponse.Companion.create(init: Consumer<CancelTaskResponseBuilder>): CancelTaskResponse

Java-friendly DSL extension for CancelTaskResponse.

fun ERROR CLASS: Symbol not found for CancelTaskResponse.Companion.create(init: CancelTaskResponseBuilder.() -> Unit): CancelTaskResponse

DSL extension for CancelTaskResponse.

fun ERROR CLASS: Symbol not found for GetTaskPushNotificationRequest.Companion.create(init: Consumer<GetTaskPushNotificationRequestBuilder>): GetTaskPushNotificationRequest

Java-friendly DSL extension for GetTaskPushNotificationRequest.

fun ERROR CLASS: Symbol not found for GetTaskPushNotificationRequest.Companion.create(init: GetTaskPushNotificationRequestBuilder.() -> Unit): GetTaskPushNotificationRequest
fun ERROR CLASS: Symbol not found for GetTaskPushNotificationResponse.Companion.create(init: Consumer<GetTaskPushNotificationResponseBuilder>): GetTaskPushNotificationResponse

Java-friendly DSL extension for GetTaskPushNotificationResponse.

fun ERROR CLASS: Symbol not found for GetTaskPushNotificationResponse.Companion.create(init: GetTaskPushNotificationResponseBuilder.() -> Unit): GetTaskPushNotificationResponse
fun ERROR CLASS: Symbol not found for GetTaskRequest.Companion.create(init: Consumer<GetTaskRequestBuilder>): GetTaskRequest

Java-friendly DSL extension for GetTaskRequest.

fun ERROR CLASS: Symbol not found for GetTaskRequest.Companion.create(init: GetTaskRequestBuilder.() -> Unit): GetTaskRequest

DSL extension for GetTaskRequest.

fun ERROR CLASS: Symbol not found for GetTaskResponse.Companion.create(init: Consumer<GetTaskResponseBuilder>): GetTaskResponse

Java-friendly DSL extension for GetTaskResponse.

fun ERROR CLASS: Symbol not found for GetTaskResponse.Companion.create(init: GetTaskResponseBuilder.() -> Unit): GetTaskResponse

DSL extension for GetTaskResponse.

fun ERROR CLASS: Symbol not found for JSONRPCResponse.Companion.create(init: Consumer<JSONRPCResponseBuilder>): JSONRPCResponse

Java-friendly DSL extension for JSONRPCResponse.

fun ERROR CLASS: Symbol not found for JSONRPCResponse.Companion.create(init: JSONRPCResponseBuilder.() -> Unit): JSONRPCResponse

DSL extension for JSONRPCResponse.

fun ERROR CLASS: Symbol not found for SendStreamingMessageRequest.Companion.create(block: Consumer<SendStreamingMessageRequestBuilder>): SendStreamingMessageRequest

Creates a new instance of a SendStreamingMessageRequest using the provided Java-friendly Consumer.

fun ERROR CLASS: Symbol not found for SendStreamingMessageRequest.Companion.create(block: SendStreamingMessageRequestBuilder.() -> Unit): SendStreamingMessageRequest

Creates a new instance of a SendStreamingMessageRequest using the provided configuration block.

fun ERROR CLASS: Symbol not found for SendStreamingMessageResponse.Companion.create(block: Consumer<SendStreamingMessageResponseBuilder>): SendStreamingMessageResponse

Creates a new instance of a SendStreamingMessageResponse using the provided Java-friendly Consumer.

fun ERROR CLASS: Symbol not found for SendStreamingMessageResponse.Companion.create(block: SendStreamingMessageResponseBuilder.() -> Unit): SendStreamingMessageResponse

Creates a new instance of a SendStreamingMessageResponse using the provided configuration block.

fun ERROR CLASS: Symbol not found for SetTaskPushNotificationRequest.Companion.create(init: Consumer<SetTaskPushNotificationRequestBuilder>): SetTaskPushNotificationRequest

Java-friendly DSL extension for SetTaskPushNotificationRequest.

fun ERROR CLASS: Symbol not found for SetTaskPushNotificationRequest.Companion.create(init: SetTaskPushNotificationRequestBuilder.() -> Unit): SetTaskPushNotificationRequest
fun ERROR CLASS: Symbol not found for SetTaskPushNotificationResponse.Companion.create(init: Consumer<SetTaskPushNotificationResponseBuilder>): SetTaskPushNotificationResponse

Java-friendly DSL extension for SetTaskPushNotificationResponse.

fun ERROR CLASS: Symbol not found for SetTaskPushNotificationResponse.Companion.create(init: SetTaskPushNotificationResponseBuilder.() -> Unit): SetTaskPushNotificationResponse
fun ERROR CLASS: Symbol not found for TaskIdParams.Companion.create(init: TaskIdParamsBuilder.() -> Unit): TaskIdParams

DSL extension for TaskIdParams.

fun ERROR CLASS: Symbol not found for TaskQueryParams.Companion.create(init: Consumer<TaskQueryParamsBuilder>): TaskQueryParams

Java-friendly DSL extension for TaskQueryParams.

fun ERROR CLASS: Symbol not found for TaskQueryParams.Companion.create(init: TaskQueryParamsBuilder.() -> Unit): TaskQueryParams

DSL extension for TaskQueryParams.

fun ERROR CLASS: Symbol not found for TaskResubscriptionRequest.Companion.create(init: Consumer<TaskResubscriptionRequestBuilder>): TaskResubscriptionRequest

Java-friendly DSL extension for TaskResubscriptionRequest.

fun ERROR CLASS: Symbol not found for TaskResubscriptionRequest.Companion.create(init: TaskResubscriptionRequestBuilder.() -> Unit): TaskResubscriptionRequest

DSL extension for TaskResubscriptionRequest.

fun ERROR CLASS: Symbol not found for TextPart.Companion.create(init: Consumer<TextPartBuilder>): TextPart

Creates a new TextPart using the Java-friendly Consumer.

fun ERROR CLASS: Symbol not found for TextPart.Companion.create(init: TextPartBuilder.() -> Unit): TextPart

Creates a new TextPart using the DSL builder.

Creates a new instance of an AgentCapabilities using the provided Java-friendly Consumer.

Creates a new instance of an AgentCapabilities using the provided configuration block.

Creates a new instance of an AgentCard using the provided Java-friendly Consumer.

Creates a new instance of an AgentCard using the provided configuration block.

Creates a new instance of an AgentProvider using the provided configuration block.

Creates a new instance of an AgentSkill using the provided Java-friendly Consumer.

Creates a new instance of an AgentSkill using the provided configuration block.

Creates a new Artifact using the provided Java-friendly Consumer.

Creates a new Artifact using the DSL builder.

Creates a new AuthenticationInfo using the provided Java-friendly Consumer.

Creates a new AuthenticationInfo using the DSL builder.

Creates a new DataPart using the Java-friendly Consumer.

Creates a new DataPart using the DSL builder.

Java-friendly DSL extension for DeleteTaskPushNotificationConfigRequest.

Creates a new FileContent using the Java-friendly Consumer.

Creates a new FileContent using the DSL builder.

Creates a new FilePart using the Java-friendly Consumer.

Creates a new FilePart using the DSL builder.

Java-friendly DSL extension for GetAuthenticatedExtendedCardRequest.

Java-friendly DSL extension for ListTaskPushNotificationConfigRequest.

Java-friendly DSL extension for Message.

DSL extension for Message.

Creates a new instance of MessageSendConfiguration using the provided Java-friendly Consumer.

Creates a new instance of MessageSendConfiguration using the provided configuration block.

Creates a new instance of a PushNotificationConfig using the provided Java-friendly Consumer.

Creates a new instance of a PushNotificationConfig using the provided configuration block.

Creates a new instance of a SendMessageRequest using the provided Java-friendly Consumer.

Creates a new instance of a SendMessageRequest using the provided configuration block.

Creates a new instance of a SendMessageResponse using the provided Java-friendly Consumer.

Creates a new instance of a SendMessageResponse using the provided configuration block.

Creates a new instance of a Task using the provided Java-friendly Consumer.

Creates a new instance of a Task using the provided configuration block.

Creates a new TaskArtifactUpdateEvent using the Java-friendly Consumer.

Creates a new TaskArtifactUpdateEvent using the DSL builder.

Creates a new instance of a TaskPushNotificationConfig using the provided Java-friendly Consumer.

Creates a new instance of a TaskPushNotificationConfig using the provided configuration block.

Creates a new instance of a TaskSendParams using the provided Java-friendly Consumer.

Creates a new instance of a TaskSendParams using the provided configuration block.

Java-friendly DSL extension for TaskStatus.

DSL extension for TaskStatus.

Java-friendly DSL extension for TaskStatusUpdateEvent.

DSL extension for TaskStatusUpdateEvent.


Java-friendly companion create for AgentExtension.

Creates a new instance of an AgentProvider using the provided Java-friendly Consumer.

Link copied to clipboard

Creates a new DataPart using the Java-friendly Consumer.

inline fun dataPart(init: DataPartBuilder.() -> Unit): DataPart

Creates a new DataPart using the DSL builder.

Link copied to clipboard

Creates a new FileContent using the Java-friendly Consumer.

Creates a new FileContent using the DSL builder.

Link copied to clipboard

Creates a new FilePart using the Java-friendly Consumer.

inline fun filePart(init: FilePartBuilder.() -> Unit): FilePart

Creates a new FilePart using the DSL builder.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TaskState.Companion.fromString(value: String): TaskState?
Link copied to clipboard

Java-friendly top-level DSL function for creating GetTaskRequest.

Top-level DSL function for creating GetTaskRequest.

Link copied to clipboard

Java-friendly top-level DSL function for creating GetTaskResponse.

Top-level DSL function for creating GetTaskResponse.

Link copied to clipboard
fun internalError(message: String = "Internal error", data: Data? = null): JSONRPCError
Link copied to clipboard
fun invalidAgentResponseError(message: String = "Invalid agent response type", data: Data? = null): JSONRPCError
Link copied to clipboard
fun invalidParamsError(message: String = "Invalid parameters", data: Data? = null): JSONRPCError
Link copied to clipboard
fun invalidRequestError(message: String = "Request payload validation error", data: Data? = null): JSONRPCError
Link copied to clipboard
fun jsonParseError(message: String = "Invalid JSON payload", data: Data? = null): JSONRPCError
Link copied to clipboard

Java-friendly top-level DSL function for creating JSONRPCResponse.

Top-level DSL function for creating JSONRPCResponse.

Link copied to clipboard

Java-friendly top-level DSL function for creating Message.

inline fun message(init: MessageBuilder.() -> Unit): Message

Top-level DSL function for creating Message.

Link copied to clipboard
fun methodNotFoundError(message: String = "Method not found", data: Data? = null): JSONRPCError
Link copied to clipboard

Creates an OAuth2 security scheme with Java-friendly Consumer.

Creates an OAuth2 security scheme with DSL configuration.

Link copied to clipboard
Link copied to clipboard
fun pushNotificationNotSupportedError(message: String = "Push Notification is not supported", data: Data? = null): JSONRPCError
Link copied to clipboard

Java-friendly top-level DSL function for creating SendMessageRequest.

Top-level DSL function for creating SendMessageRequest.

Link copied to clipboard

Java-friendly top-level DSL function for creating SendMessageResponse.

Top-level DSL function for creating SendMessageResponse.

Link copied to clipboard

Java-friendly top-level DSL function for creating Task.

inline fun task(init: TaskBuilder.() -> Unit): Task

Top-level DSL function for creating Task.

Link copied to clipboard
Link copied to clipboard

Top-level DSL function for building TaskIdParams.

Link copied to clipboard
fun taskNotCancelableError(message: String = "Task cannot be canceled", data: Data? = null): JSONRPCError
Link copied to clipboard
fun taskNotFoundError(message: String = "Task not found", data: Data? = null): JSONRPCError
Link copied to clipboard

Java-friendly top-level DSL function for creating TaskQueryParams.

Top-level DSL function for creating TaskQueryParams.

Link copied to clipboard

Java-friendly top-level DSL function for creating TaskStatus.

inline fun taskStatus(init: TaskStatusBuilder.() -> Unit): TaskStatus

Top-level DSL function for creating TaskStatus.

Link copied to clipboard

Java-friendly top-level DSL function for creating TaskStatusUpdateEvent.

Top-level DSL function for creating TaskStatusUpdateEvent.

Link copied to clipboard

Creates a new TextPart using the Java-friendly Consumer.

inline fun textPart(init: TextPartBuilder.() -> Unit): TextPart

Creates a new TextPart using the DSL builder.

Link copied to clipboard
fun unsupportedOperationError(message: String = "This operation is not supported", data: Data? = null): JSONRPCError