Record Class McpSchema.Prompt

java.lang.Object
java.lang.Record
io.modelcontextprotocol.spec.McpSchema.Prompt
Record Components:
name - The name of the prompt or prompt template.
title - An optional title for the prompt.
description - An optional description of what this prompt provides.
arguments - A list of arguments to use for templating the prompt.
icons - Optional list of icons for this prompt.
meta - See specification for notes on _meta usage
All Implemented Interfaces:
McpSchema.Identifier
Enclosing class:
McpSchema

public static record McpSchema.Prompt(String name, String title, String description, List<McpSchema.PromptArgument> arguments, Map<String,Object> meta, List<McpSchema.Icon> icons) extends Record implements McpSchema.Identifier
A prompt or prompt template that the server offers.