agentle.mcp.models.text_resource_contentsΒΆ

Text Resource Contents Module for MCP.

This module defines the TextResourceContents class which represents textual content for resources in the Model Control Protocol (MCP) system. It provides a structure for representing resources that can be expressed as text.

Functions

Field()

!!! abstract "Usage Documentation"

Classes

ResourceContents(*, uri[, mimeType])

The base class for the contents of a specific resource in the MCP system.

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

Text contents of a resource in the MCP system.