Expand description
Prompt-related message types for MCP prompt templates and completion.
This module provides types for:
- Prompt discovery (listing available prompts)
- Prompt templates with parameter substitution
- Prompt generation with arguments
- Prompt content handling
Structs§
- GetPrompt
Request - Request to get a prompt with specific arguments.
- GetPrompt
Response - Response containing the generated prompt content.
- List
Prompts Request - Request to list available prompts from the server.
- List
Prompts Response - Response containing the list of available prompts.
- Prompt
- Prompt definition including schema and metadata.
- Prompt
List Changed Notification - Notification that the list of prompts has changed.
- Prompt
Message - A message in a prompt template.
- Resource
Reference - Reference to a resource within prompt content.
Enums§
- Message
Role - Role of a message in a conversation.
- Prompt
Content - Content of a prompt message.