Unified.to · Schema

GenaiPrompt

GenaiPrompt schema from Unified.to API

IntegrationsUnified API

Properties

Name Type Description
model_id string
messages object
temperature number
max_tokens number
responses object
tokens_used number
mcp_url string
mcp_deferred_tools object
mcp_authorization_token string
raw object
View JSON Schema on GitHub

JSON Schema

unified-to-genai-prompt-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/unified-to/refs/heads/main/json-schema/unified-to-genai-prompt-schema.json",
  "title": "GenaiPrompt",
  "description": "GenaiPrompt schema from Unified.to API",
  "type": "object",
  "properties": {
    "model_id": {
      "type": "string"
    },
    "messages": {
      "$ref": "#/components/schemas/property_GenaiPrompt_messages"
    },
    "temperature": {
      "type": "number"
    },
    "max_tokens": {
      "type": "number"
    },
    "responses": {
      "$ref": "#/components/schemas/property_GenaiPrompt_responses"
    },
    "tokens_used": {
      "type": "number"
    },
    "mcp_url": {
      "type": "string"
    },
    "mcp_deferred_tools": {
      "$ref": "#/components/schemas/property_GenaiPrompt_mcp_deferred_tools"
    },
    "mcp_authorization_token": {
      "type": "string"
    },
    "raw": {
      "type": "object",
      "additionalProperties": true
    }
  }
}