agentle.agents.a2a.message_parts.text_partΒΆ

A2A Text Message Part

This module defines the TextPart class, which represents a text component of a message in the A2A protocol. Text parts are the most common message components, containing natural language content exchanged between users and agents.

Functions

Field()

!!! abstract "Usage Documentation"

Classes

BaseModel()

Alias for pydantic.BaseModel.

Prompt(*, content[, compiled])

Represents a text prompt that can contain template expressions.

TextPart(*[, type])

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