Skip to main content

PromptParameter

A parameter used by a prompt template

Usage profiles​

UsageFields and validation
In responsesView fields

In responses​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
namestringOptionalName used to bind a value to this prompt-template parameter.
descriptionstringOptionalExplanation of the value expected for this prompt parameter.
typestringOptionalFree-form type hint, e.g. "string", "number"
requiredbooleanOptionalWhether the prompt parameter must be supplied by the caller.

Where used​

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

Download the public reference contract.

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