Skip to main content

PromptDefinition

A prompt definition exposed by an MCP server

Usage profiles​

UsageFields and validation
In responsesView fields

In responses​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
namestringOptionalName identifying the prompt template on the MCP server.
titlestringOptionalDisplay title of the MCP prompt template.
descriptionstringOptionalDescription of the MCP prompt template’s purpose.
parametersArray of PromptParameterOptionalParameter definitions accepted by the prompt template.
templatestringOptionalTemplate string; clients may render with parameters.

Where used​

ReferenceRelationship
Get an MCP prompt templatePOST /api/v1/llm/mcp-get-prompt
List MCP prompt templatesPOST /api/v1/llm/mcp-list-prompts

Download the public reference contract.

Document: DOC-API-MODEL-prompt-definition.