agentle.mcp.models.resource_contentsΒΆ

Resource Contents Module for MCP.

This module defines the ResourceContents base class which represents the contents of a specific resource in the Model Control Protocol (MCP) system. It provides a common structure for resource metadata that is extended by more specific resource content types.

Functions

Field()

!!! abstract "Usage Documentation"

Classes

AnyUrl(url)

Alias for pydantic.AnyUrl.

BaseModel()

Alias for pydantic.BaseModel.

ConfigDict

Alias for pydantic.ConfigDict.

ResourceContents(*, uri[, mimeType])

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

UrlConstraints([max_length, ...])

Alias for pydantic.UrlConstraints.