@arizeai/phoenix-mcp

Official

get-latest-prompt

Retrieve the most recent version of a prompt, including its template, model configuration, and invocation parameters, for consistent and up-to-date prompt deployment.

Instructions

Get the latest version of a prompt. Returns the prompt version with its template, model configuration, and invocation parameters.

Example usage: Get the latest version of a prompt named 'article-summarizer'

Expected return: Prompt version object with template and configuration. Example: { "description": "Initial version", "model_provider": "OPENAI", "model_name": "gpt-3.5-turbo", "template": { "type": "chat", "messages": [ { "role": "system", "content": "You are an expert summarizer. Create clear, concise bullet points highlighting the key information." }, { "role": "user", "content": "Please summarize the following {{topic}} article:

{{article}}" } ] }, "template_type": "CHAT", "template_format": "MUSTACHE", "invocation_parameters": { "type": "openai", "openai": {} }, "id": "promptversionid1234" }

Input Schema

NameRequiredDescriptionDefault
prompt_identifierYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "prompt_identifier": { "type": "string" } }, "required": [ "prompt_identifier" ], "type": "object" }
ID: ee9d3exkn8