{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phoenix/json-schema/phoenix-create-prompt-response-body-schema.json",
  "title": "CreatePromptResponseBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/phoenix-prompts-api-openapi.yml#/components/schemas/CreatePromptResponseBody",
  "properties": {
    "data": {
      "$ref": "#/$defs/PromptVersion"
    }
  },
  "type": "object",
  "required": [
    "data"
  ],
  "$defs": {
    "ModelProvider": {
      "type": "string",
      "enum": [
        "OPENAI",
        "AZURE_OPENAI",
        "ANTHROPIC",
        "GOOGLE",
        "DEEPSEEK",
        "XAI",
        "OLLAMA",
        "AWS",
        "CEREBRAS",
        "FIREWORKS",
        "GROQ",
        "MOONSHOT",
        "PERPLEXITY",
        "TOGETHER"
      ],
      "title": "ModelProvider"
    },
    "PromptAnthropicInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "anthropic",
          "title": "Type"
        },
        "anthropic": {
          "$ref": "#/$defs/PromptAnthropicInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "anthropic"
      ],
      "title": "PromptAnthropicInvocationParameters"
    },
    "PromptAnthropicInvocationParametersContent": {
      "properties": {
        "max_tokens": {
          "type": "integer",
          "title": "Max Tokens"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "stop_sequences": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop Sequences"
        },
        "output_config": {
          "$ref": "#/$defs/PromptAnthropicOutputConfig"
        },
        "thinking": {
          "oneOf": [
            {
              "$ref": "#/$defs/PromptAnthropicThinkingConfigDisabled"
            },
            {
              "$ref": "#/$defs/PromptAnthropicThinkingConfigEnabled"
            },
            {
              "$ref": "#/$defs/PromptAnthropicThinkingConfigAdaptive"
            }
          ],
          "title": "Thinking"
        },
        "extra_body": {
          "additionalProperties": true,
          "type": "object",
          "title": "Extra Body"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "max_tokens"
      ],
      "title": "PromptAnthropicInvocationParametersContent"
    },
    "PromptAnthropicOutputConfig": {
      "properties": {
        "effort": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high",
            "xhigh",
            "max"
          ],
          "title": "Effort"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptAnthropicOutputConfig"
    },
    "PromptAnthropicThinkingConfigAdaptive": {
      "properties": {
        "type": {
          "type": "string",
          "const": "adaptive",
          "title": "Type"
        },
        "display": {
          "type": "string",
          "enum": [
            "summarized",
            "omitted"
          ],
          "title": "Display"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "PromptAnthropicThinkingConfigAdaptive"
    },
    "PromptAnthropicThinkingConfigDisabled": {
      "properties": {
        "type": {
          "type": "string",
          "const": "disabled",
          "title": "Type"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "PromptAnthropicThinkingConfigDisabled"
    },
    "PromptAnthropicThinkingConfigEnabled": {
      "properties": {
        "type": {
          "type": "string",
          "const": "enabled",
          "title": "Type"
        },
        "budget_tokens": {
          "type": "integer",
          "minimum": 1024.0,
          "title": "Budget Tokens"
        },
        "display": {
          "type": "string",
          "enum": [
            "summarized",
            "omitted"
          ],
          "title": "Display"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "budget_tokens"
      ],
      "title": "PromptAnthropicThinkingConfigEnabled"
    },
    "PromptAwsInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "aws",
          "title": "Type"
        },
        "aws": {
          "$ref": "#/$defs/PromptAwsInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "aws"
      ],
      "title": "PromptAwsInvocationParameters"
    },
    "PromptAwsInvocationParametersContent": {
      "properties": {
        "max_tokens": {
          "type": "integer",
          "title": "Max Tokens"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "stop_sequences": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop Sequences"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptAwsInvocationParametersContent"
    },
    "PromptAzureOpenAIInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "azure_openai",
          "title": "Type"
        },
        "azure_openai": {
          "$ref": "#/$defs/PromptAzureOpenAIInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "azure_openai"
      ],
      "title": "PromptAzureOpenAIInvocationParameters"
    },
    "PromptAzureOpenAIInvocationParametersContent": {
      "properties": {
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "max_tokens": {
          "type": "integer",
          "title": "Max Tokens"
        },
        "max_completion_tokens": {
          "type": "integer",
          "title": "Max Completion Tokens"
        },
        "frequency_penalty": {
          "type": "number",
          "title": "Frequency Penalty"
        },
        "presence_penalty": {
          "type": "number",
          "title": "Presence Penalty"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "seed": {
          "type": "integer",
          "title": "Seed"
        },
        "stop": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop"
        },
        "reasoning_effort": {
          "type": "string",
          "enum": [
            "none",
            "minimal",
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "title": "Reasoning Effort"
        },
        "extra_body": {
          "additionalProperties": true,
          "type": "object",
          "title": "Extra Body"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptAzureOpenAIInvocationParametersContent"
    },
    "PromptCerebrasInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "cerebras",
          "title": "Type"
        },
        "cerebras": {
          "$ref": "#/$defs/PromptCerebrasInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "cerebras"
      ],
      "title": "PromptCerebrasInvocationParameters"
    },
    "PromptCerebrasInvocationParametersContent": {
      "properties": {
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "max_tokens": {
          "type": "integer",
          "title": "Max Tokens"
        },
        "max_completion_tokens": {
          "type": "integer",
          "title": "Max Completion Tokens"
        },
        "frequency_penalty": {
          "type": "number",
          "title": "Frequency Penalty"
        },
        "presence_penalty": {
          "type": "number",
          "title": "Presence Penalty"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "seed": {
          "type": "integer",
          "title": "Seed"
        },
        "stop": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop"
        },
        "reasoning_effort": {
          "type": "string",
          "enum": [
            "none",
            "minimal",
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "title": "Reasoning Effort"
        },
        "extra_body": {
          "additionalProperties": true,
          "type": "object",
          "title": "Extra Body"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptCerebrasInvocationParametersContent"
    },
    "PromptChatTemplate": {
      "properties": {
        "type": {
          "type": "string",
          "const": "chat",
          "title": "Type"
        },
        "messages": {
          "items": {
            "$ref": "#/$defs/PromptMessage"
          },
          "type": "array",
          "title": "Messages"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "messages"
      ],
      "title": "PromptChatTemplate"
    },
    "PromptDeepSeekInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "deepseek",
          "title": "Type"
        },
        "deepseek": {
          "$ref": "#/$defs/PromptDeepSeekInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "deepseek"
      ],
      "title": "PromptDeepSeekInvocationParameters"
    },
    "PromptDeepSeekInvocationParametersContent": {
      "properties": {
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "max_tokens": {
          "type": "integer",
          "title": "Max Tokens"
        },
        "max_completion_tokens": {
          "type": "integer",
          "title": "Max Completion Tokens"
        },
        "frequency_penalty": {
          "type": "number",
          "title": "Frequency Penalty"
        },
        "presence_penalty": {
          "type": "number",
          "title": "Presence Penalty"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "seed": {
          "type": "integer",
          "title": "Seed"
        },
        "stop": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop"
        },
        "reasoning_effort": {
          "type": "string",
          "enum": [
            "none",
            "minimal",
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "title": "Reasoning Effort"
        },
        "extra_body": {
          "additionalProperties": true,
          "type": "object",
          "title": "Extra Body"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptDeepSeekInvocationParametersContent"
    },
    "PromptFireworksInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "fireworks",
          "title": "Type"
        },
        "fireworks": {
          "$ref": "#/$defs/PromptFireworksInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "fireworks"
      ],
      "title": "PromptFireworksInvocationParameters"
    },
    "PromptFireworksInvocationParametersContent": {
      "properties": {
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "max_tokens": {
          "type": "integer",
          "title": "Max Tokens"
        },
        "max_completion_tokens": {
          "type": "integer",
          "title": "Max Completion Tokens"
        },
        "frequency_penalty": {
          "type": "number",
          "title": "Frequency Penalty"
        },
        "presence_penalty": {
          "type": "number",
          "title": "Presence Penalty"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "seed": {
          "type": "integer",
          "title": "Seed"
        },
        "stop": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop"
        },
        "reasoning_effort": {
          "type": "string",
          "enum": [
            "none",
            "minimal",
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "title": "Reasoning Effort"
        },
        "extra_body": {
          "additionalProperties": true,
          "type": "object",
          "title": "Extra Body"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptFireworksInvocationParametersContent"
    },
    "PromptGoogleInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "google",
          "title": "Type"
        },
        "google": {
          "$ref": "#/$defs/PromptGoogleInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "google"
      ],
      "title": "PromptGoogleInvocationParameters"
    },
    "PromptGoogleInvocationParametersContent": {
      "properties": {
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens"
        },
        "stop_sequences": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop Sequences"
        },
        "presence_penalty": {
          "type": "number",
          "title": "Presence Penalty"
        },
        "frequency_penalty": {
          "type": "number",
          "title": "Frequency Penalty"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "top_k": {
          "type": "integer",
          "title": "Top K"
        },
        "thinking_config": {
          "$ref": "#/$defs/PromptGoogleThinkingConfig"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptGoogleInvocationParametersContent"
    },
    "PromptGoogleThinkingConfig": {
      "properties": {
        "thinking_budget": {
          "type": "integer",
          "title": "Thinking Budget"
        },
        "thinking_level": {
          "type": "string",
          "enum": [
            "minimal",
            "low",
            "medium",
            "high"
          ],
          "title": "Thinking Level"
        },
        "include_thoughts": {
          "type": "boolean",
          "title": "Include Thoughts"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptGoogleThinkingConfig"
    },
    "PromptGroqInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "groq",
          "title": "Type"
        },
        "groq": {
          "$ref": "#/$defs/PromptGroqInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "groq"
      ],
      "title": "PromptGroqInvocationParameters"
    },
    "PromptGroqInvocationParametersContent": {
      "properties": {
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "max_tokens": {
          "type": "integer",
          "title": "Max Tokens"
        },
        "max_completion_tokens": {
          "type": "integer",
          "title": "Max Completion Tokens"
        },
        "frequency_penalty": {
          "type": "number",
          "title": "Frequency Penalty"
        },
        "presence_penalty": {
          "type": "number",
          "title": "Presence Penalty"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "seed": {
          "type": "integer",
          "title": "Seed"
        },
        "stop": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop"
        },
        "reasoning_effort": {
          "type": "string",
          "enum": [
            "none",
            "minimal",
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "title": "Reasoning Effort"
        },
        "extra_body": {
          "additionalProperties": true,
          "type": "object",
          "title": "Extra Body"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptGroqInvocationParametersContent"
    },
    "PromptMessage": {
      "properties": {
        "role": {
          "type": "string",
          "enum": [
            "user",
            "assistant",
            "model",
            "ai",
            "tool",
            "system",
            "developer"
          ],
          "title": "Role"
        },
        "content": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "oneOf": [
                  {
                    "$ref": "#/$defs/TextContentPart"
                  },
                  {
                    "$ref": "#/$defs/ToolCallContentPart"
                  },
                  {
                    "$ref": "#/$defs/ToolResultContentPart"
                  }
                ]
              },
              "type": "array",
              "minItems": 1
            }
          ],
          "title": "Content"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "role",
        "content"
      ],
      "title": "PromptMessage"
    },
    "PromptMoonshotInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "moonshot",
          "title": "Type"
        },
        "moonshot": {
          "$ref": "#/$defs/PromptMoonshotInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "moonshot"
      ],
      "title": "PromptMoonshotInvocationParameters"
    },
    "PromptMoonshotInvocationParametersContent": {
      "properties": {
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "max_tokens": {
          "type": "integer",
          "title": "Max Tokens"
        },
        "max_completion_tokens": {
          "type": "integer",
          "title": "Max Completion Tokens"
        },
        "frequency_penalty": {
          "type": "number",
          "title": "Frequency Penalty"
        },
        "presence_penalty": {
          "type": "number",
          "title": "Presence Penalty"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "seed": {
          "type": "integer",
          "title": "Seed"
        },
        "stop": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop"
        },
        "reasoning_effort": {
          "type": "string",
          "enum": [
            "none",
            "minimal",
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "title": "Reasoning Effort"
        },
        "extra_body": {
          "additionalProperties": true,
          "type": "object",
          "title": "Extra Body"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptMoonshotInvocationParametersContent"
    },
    "PromptOllamaInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "ollama",
          "title": "Type"
        },
        "ollama": {
          "$ref": "#/$defs/PromptOllamaInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "ollama"
      ],
      "title": "PromptOllamaInvocationParameters"
    },
    "PromptOllamaInvocationParametersContent": {
      "properties": {
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "max_tokens": {
          "type": "integer",
          "title": "Max Tokens"
        },
        "max_completion_tokens": {
          "type": "integer",
          "title": "Max Completion Tokens"
        },
        "frequency_penalty": {
          "type": "number",
          "title": "Frequency Penalty"
        },
        "presence_penalty": {
          "type": "number",
          "title": "Presence Penalty"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "seed": {
          "type": "integer",
          "title": "Seed"
        },
        "stop": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop"
        },
        "reasoning_effort": {
          "type": "string",
          "enum": [
            "none",
            "minimal",
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "title": "Reasoning Effort"
        },
        "extra_body": {
          "additionalProperties": true,
          "type": "object",
          "title": "Extra Body"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptOllamaInvocationParametersContent"
    },
    "PromptOpenAIInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "openai",
          "title": "Type"
        },
        "openai": {
          "$ref": "#/$defs/PromptOpenAIInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "openai"
      ],
      "title": "PromptOpenAIInvocationParameters"
    },
    "PromptOpenAIInvocationParametersContent": {
      "properties": {
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "max_tokens": {
          "type": "integer",
          "title": "Max Tokens"
        },
        "max_completion_tokens": {
          "type": "integer",
          "title": "Max Completion Tokens"
        },
        "frequency_penalty": {
          "type": "number",
          "title": "Frequency Penalty"
        },
        "presence_penalty": {
          "type": "number",
          "title": "Presence Penalty"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "seed": {
          "type": "integer",
          "title": "Seed"
        },
        "stop": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop"
        },
        "reasoning_effort": {
          "type": "string",
          "enum": [
            "none",
            "minimal",
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "title": "Reasoning Effort"
        },
        "extra_body": {
          "additionalProperties": true,
          "type": "object",
          "title": "Extra Body"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptOpenAIInvocationParametersContent"
    },
    "PromptPerplexityInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "perplexity",
          "title": "Type"
        },
        "perplexity": {
          "$ref": "#/$defs/PromptPerplexityInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "perplexity"
      ],
      "title": "PromptPerplexityInvocationParameters"
    },
    "PromptPerplexityInvocationParametersContent": {
      "properties": {
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "max_tokens": {
          "type": "integer",
          "title": "Max Tokens"
        },
        "max_completion_tokens": {
          "type": "integer",
          "title": "Max Completion Tokens"
        },
        "frequency_penalty": {
          "type": "number",
          "title": "Frequency Penalty"
        },
        "presence_penalty": {
          "type": "number",
          "title": "Presence Penalty"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "seed": {
          "type": "integer",
          "title": "Seed"
        },
        "stop": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop"
        },
        "reasoning_effort": {
          "type": "string",
          "enum": [
            "none",
            "minimal",
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "title": "Reasoning Effort"
        },
        "extra_body": {
          "additionalProperties": true,
          "type": "object",
          "title": "Extra Body"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptPerplexityInvocationParametersContent"
    },
    "PromptResponseFormatJSONSchema": {
      "properties": {
        "type": {
          "type": "string",
          "const": "json_schema",
          "title": "Type"
        },
        "json_schema": {
          "$ref": "#/$defs/PromptResponseFormatJSONSchemaDefinition"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "json_schema"
      ],
      "title": "PromptResponseFormatJSONSchema"
    },
    "PromptResponseFormatJSONSchemaDefinition": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "schema": {
          "additionalProperties": true,
          "type": "object",
          "title": "Schema"
        },
        "strict": {
          "type": "boolean",
          "title": "Strict"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "name"
      ],
      "title": "PromptResponseFormatJSONSchemaDefinition"
    },
    "PromptStringTemplate": {
      "properties": {
        "type": {
          "type": "string",
          "const": "string",
          "title": "Type"
        },
        "template": {
          "type": "string",
          "title": "Template"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "template"
      ],
      "title": "PromptStringTemplate"
    },
    "PromptTemplateFormat": {
      "type": "string",
      "enum": [
        "MUSTACHE",
        "F_STRING",
        "NONE"
      ],
      "title": "PromptTemplateFormat"
    },
    "PromptTemplateType": {
      "type": "string",
      "enum": [
        "STR",
        "CHAT"
      ],
      "title": "PromptTemplateType"
    },
    "PromptTogetherInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "together",
          "title": "Type"
        },
        "together": {
          "$ref": "#/$defs/PromptTogetherInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "together"
      ],
      "title": "PromptTogetherInvocationParameters"
    },
    "PromptTogetherInvocationParametersContent": {
      "properties": {
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "max_tokens": {
          "type": "integer",
          "title": "Max Tokens"
        },
        "max_completion_tokens": {
          "type": "integer",
          "title": "Max Completion Tokens"
        },
        "frequency_penalty": {
          "type": "number",
          "title": "Frequency Penalty"
        },
        "presence_penalty": {
          "type": "number",
          "title": "Presence Penalty"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "seed": {
          "type": "integer",
          "title": "Seed"
        },
        "stop": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop"
        },
        "reasoning_effort": {
          "type": "string",
          "enum": [
            "none",
            "minimal",
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "title": "Reasoning Effort"
        },
        "extra_body": {
          "additionalProperties": true,
          "type": "object",
          "title": "Extra Body"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptTogetherInvocationParametersContent"
    },
    "PromptToolChoiceNone": {
      "properties": {
        "type": {
          "type": "string",
          "const": "none",
          "title": "Type"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "PromptToolChoiceNone"
    },
    "PromptToolChoiceOneOrMore": {
      "properties": {
        "type": {
          "type": "string",
          "const": "one_or_more",
          "title": "Type"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "PromptToolChoiceOneOrMore"
    },
    "PromptToolChoiceSpecificFunctionTool": {
      "properties": {
        "type": {
          "type": "string",
          "const": "specific_function",
          "title": "Type"
        },
        "function_name": {
          "type": "string",
          "title": "Function Name"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "function_name"
      ],
      "title": "PromptToolChoiceSpecificFunctionTool"
    },
    "PromptToolChoiceZeroOrMore": {
      "properties": {
        "type": {
          "type": "string",
          "const": "zero_or_more",
          "title": "Type"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "PromptToolChoiceZeroOrMore"
    },
    "PromptToolFunction": {
      "properties": {
        "type": {
          "type": "string",
          "const": "function",
          "title": "Type"
        },
        "function": {
          "$ref": "#/$defs/PromptToolFunctionDefinition"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "function"
      ],
      "title": "PromptToolFunction"
    },
    "PromptToolFunctionDefinition": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "parameters": {
          "additionalProperties": true,
          "type": "object",
          "title": "Parameters"
        },
        "strict": {
          "type": "boolean",
          "title": "Strict"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "name"
      ],
      "title": "PromptToolFunctionDefinition"
    },
    "PromptToolRaw": {
      "properties": {
        "type": {
          "type": "string",
          "const": "raw",
          "title": "Type"
        },
        "raw": {
          "additionalProperties": true,
          "type": "object",
          "title": "Raw"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "raw"
      ],
      "title": "PromptToolRaw"
    },
    "PromptTools": {
      "properties": {
        "type": {
          "type": "string",
          "const": "tools",
          "title": "Type"
        },
        "tools": {
          "items": {
            "oneOf": [
              {
                "$ref": "#/$defs/PromptToolFunction"
              },
              {
                "$ref": "#/$defs/PromptToolRaw"
              }
            ]
          },
          "type": "array",
          "minItems": 1,
          "title": "Tools"
        },
        "tool_choice": {
          "oneOf": [
            {
              "$ref": "#/$defs/PromptToolChoiceNone"
            },
            {
              "$ref": "#/$defs/PromptToolChoiceZeroOrMore"
            },
            {
              "$ref": "#/$defs/PromptToolChoiceOneOrMore"
            },
            {
              "$ref": "#/$defs/PromptToolChoiceSpecificFunctionTool"
            }
          ],
          "title": "Tool Choice"
        },
        "disable_parallel_tool_calls": {
          "type": "boolean",
          "title": "Disable Parallel Tool Calls"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "tools"
      ],
      "title": "PromptTools"
    },
    "PromptVersion": {
      "properties": {
        "description": {
          "type": [
            "string",
            "null"
          ],
          "title": "Description"
        },
        "model_provider": {
          "$ref": "#/$defs/ModelProvider"
        },
        "model_name": {
          "type": "string",
          "title": "Model Name"
        },
        "template": {
          "oneOf": [
            {
              "$ref": "#/$defs/PromptChatTemplate"
            },
            {
              "$ref": "#/$defs/PromptStringTemplate"
            }
          ],
          "title": "Template"
        },
        "template_type": {
          "$ref": "#/$defs/PromptTemplateType"
        },
        "template_format": {
          "$ref": "#/$defs/PromptTemplateFormat"
        },
        "invocation_parameters": {
          "oneOf": [
            {
              "$ref": "#/$defs/PromptOpenAIInvocationParameters"
            },
            {
              "$ref": "#/$defs/PromptAzureOpenAIInvocationParameters"
            },
            {
              "$ref": "#/$defs/PromptAnthropicInvocationParameters"
            },
            {
              "$ref": "#/$defs/PromptGoogleInvocationParameters"
            },
            {
              "$ref": "#/$defs/PromptDeepSeekInvocationParameters"
            },
            {
              "$ref": "#/$defs/PromptXAIInvocationParameters"
            },
            {
              "$ref": "#/$defs/PromptOllamaInvocationParameters"
            },
            {
              "$ref": "#/$defs/PromptAwsInvocationParameters"
            },
            {
              "$ref": "#/$defs/PromptCerebrasInvocationParameters"
            },
            {
              "$ref": "#/$defs/PromptFireworksInvocationParameters"
            },
            {
              "$ref": "#/$defs/PromptGroqInvocationParameters"
            },
            {
              "$ref": "#/$defs/PromptMoonshotInvocationParameters"
            },
            {
              "$ref": "#/$defs/PromptPerplexityInvocationParameters"
            },
            {
              "$ref": "#/$defs/PromptTogetherInvocationParameters"
            }
          ],
          "title": "Invocation Parameters"
        },
        "tools": {
          "$ref": "#/$defs/PromptTools"
        },
        "response_format": {
          "oneOf": [
            {
              "$ref": "#/$defs/PromptResponseFormatJSONSchema"
            }
          ],
          "title": "Response Format"
        },
        "id": {
          "type": "string",
          "title": "Id"
        }
      },
      "type": "object",
      "required": [
        "model_provider",
        "model_name",
        "template",
        "template_type",
        "template_format",
        "invocation_parameters",
        "id"
      ],
      "title": "PromptVersion"
    },
    "PromptXAIInvocationParameters": {
      "properties": {
        "type": {
          "type": "string",
          "const": "xai",
          "title": "Type"
        },
        "xai": {
          "$ref": "#/$defs/PromptXAIInvocationParametersContent"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "xai"
      ],
      "title": "PromptXAIInvocationParameters"
    },
    "PromptXAIInvocationParametersContent": {
      "properties": {
        "temperature": {
          "type": "number",
          "title": "Temperature"
        },
        "max_tokens": {
          "type": "integer",
          "title": "Max Tokens"
        },
        "max_completion_tokens": {
          "type": "integer",
          "title": "Max Completion Tokens"
        },
        "frequency_penalty": {
          "type": "number",
          "title": "Frequency Penalty"
        },
        "presence_penalty": {
          "type": "number",
          "title": "Presence Penalty"
        },
        "top_p": {
          "type": "number",
          "title": "Top P"
        },
        "seed": {
          "type": "integer",
          "title": "Seed"
        },
        "stop": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Stop"
        },
        "reasoning_effort": {
          "type": "string",
          "enum": [
            "none",
            "minimal",
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "title": "Reasoning Effort"
        },
        "extra_body": {
          "additionalProperties": true,
          "type": "object",
          "title": "Extra Body"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "PromptXAIInvocationParametersContent"
    },
    "TextContentPart": {
      "properties": {
        "type": {
          "type": "string",
          "const": "text",
          "title": "Type"
        },
        "text": {
          "type": "string",
          "title": "Text"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "text"
      ],
      "title": "TextContentPart"
    },
    "ToolCallContentPart": {
      "properties": {
        "type": {
          "type": "string",
          "const": "tool_call",
          "title": "Type"
        },
        "tool_call_id": {
          "type": "string",
          "title": "Tool Call Id"
        },
        "tool_call": {
          "oneOf": [
            {
              "$ref": "#/$defs/ToolCallFunction"
            }
          ],
          "title": "Tool Call"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "tool_call_id",
        "tool_call"
      ],
      "title": "ToolCallContentPart"
    },
    "ToolCallFunction": {
      "properties": {
        "type": {
          "type": "string",
          "const": "function",
          "title": "Type"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "arguments": {
          "type": "string",
          "title": "Arguments"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "name",
        "arguments"
      ],
      "title": "ToolCallFunction"
    },
    "ToolResultContentPart": {
      "properties": {
        "type": {
          "type": "string",
          "const": "tool_result",
          "title": "Type"
        },
        "tool_call_id": {
          "type": "string",
          "title": "Tool Call Id"
        },
        "tool_result": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "integer"
            },
            {
              "type": "number"
            },
            {
              "type": "string"
            },
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "items": {},
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Tool Result"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "type",
        "tool_call_id",
        "tool_result"
      ],
      "title": "ToolResultContentPart"
    }
  }
}