@arizeai/phoenix-mcp

Official

upsert-prompt

Create or update prompts with customizable templates and configurations, including model settings. Ideal for managing and iterating on prompt-based workflows efficiently.

Instructions

Create or update a prompt with its template and configuration. Creates a new prompt and its initial version with specified model settings.

Example usage: Create a new prompt named 'email_generator' with a template for generating emails

Expected return: A confirmation message of successful prompt creation

Input Schema

NameRequiredDescriptionDefault
descriptionNo
model_nameNogpt-4
model_providerNoOPENAI
nameYes
temperatureNo
templateYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "description": { "type": "string" }, "model_name": { "default": "gpt-4", "type": "string" }, "model_provider": { "default": "OPENAI", "enum": [ "OPENAI", "AZURE_OPENAI", "ANTHROPIC", "GOOGLE" ], "type": "string" }, "name": { "type": "string" }, "temperature": { "default": 0.7, "type": "number" }, "template": { "type": "string" } }, "required": [ "name", "template" ], "type": "object" }
ID: ee9d3exkn8