agentle.agents.a2a.message_parts.file_partΒΆ

A2A File Message Part

This module defines the FilePart class, which represents a file component of a message in the A2A protocol. File parts allow agents and users to exchange binary or text files, enabling transfer of documents, images, and other file-based content.

Functions

Field()

!!! 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.

FilePart(*[, type])

Represents a file component of a message in the A2A protocol.