agentle.mcp.models.embedded_resourceΒΆ

Embedded Resource Module for MCP.

This module defines the EmbeddedResource class which represents a resource embedded into a prompt or tool call result in the Model Control Protocol (MCP) system. It provides a structure for including resource contents directly within messages or responses.

Functions

Field()

!!! abstract "Usage Documentation"

Classes

Annotations(*[, audience, priority])

Metadata annotations for MCP content.

BaseModel()

Alias for pydantic.BaseModel.

BlobResourceContents(*, uri[, mimeType, type])

Binary contents of a resource in the MCP system.

ConfigDict

Alias for pydantic.ConfigDict.

EmbeddedResource(*[, type, annotations])

The contents of a resource, embedded into a prompt or tool call result.

TextResourceContents(*, uri[, mimeType, type])

Text contents of a resource in the MCP system.