agentle.agents.a2a.models.fileΒΆ

A2A File Model

This module defines the File class, which represents a file that can be exchanged between agents and users in the A2A protocol. Files can contain binary data encoded as a string or can be referenced by a URI.

Functions

Field()

!!! abstract "Usage Documentation"

model_validator()

!!! abstract "Usage Documentation"

Classes

BaseModel()

Alias for pydantic.BaseModel.

File(*[, name, mimeType, bytes, uri])

Represents a file that can be exchanged between agents and users.