Skip to main content

Module types

Module types 

Source
Expand description

A2A Protocol core data types

Implements the core data structures as defined in the A2A specification:

  • Task and TaskStatus for task lifecycle management
  • Message and Part types for communication
  • Artifact for task outputs

Structs§

Artifact
A tangible output generated by a task
Message
A single unit of communication
Task
Represents a stateful unit of work
TaskStatus
Task status with state, optional message, and timestamp

Enums§

FileContent
File content representation
MessageRole
Role of the message sender
Part
Content part types: text, file, or structured data
TaskState
Task lifecycle states as defined in the A2A specification