agentle.mcp.prompts.promptΒΆ

Prompt module for MCP.

This module defines the Prompt class which represents a named prompt template in the Model Control Protocol (MCP) system. Prompts are structured templates that can be filled with arguments and used for generating text with language models.

Functions

Field()

!!! abstract "Usage Documentation"

Classes

BaseModel()

Alias for pydantic.BaseModel.

Prompt(*, name[, description])

Definition of a prompt template in the MCP system.

PromptArgument(*, name[, description, required])

Definition of an argument for an MCP prompt.

Sequence()

All the operations on a read-only sequence.