| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | "definitions": { |
| 4 | "ClientInfo": { |
| 5 | "properties": { |
| 6 | "name": { |
| 7 | "type": "string" |
| 8 | }, |
| 9 | "title": { |
| 10 | "type": [ |
| 11 | "string", |
| 12 | "null" |
| 13 | ] |
| 14 | }, |
| 15 | "version": { |
| 16 | "type": "string" |
| 17 | } |
| 18 | }, |
| 19 | "required": [ |
| 20 | "name", |
| 21 | "version" |
| 22 | ], |
| 23 | "type": "object" |
| 24 | }, |
| 25 | "InitializeCapabilities": { |
| 26 | "description": "Client-declared capabilities negotiated during initialize.", |
| 27 | "properties": { |
| 28 | "experimentalApi": { |
| 29 | "default": false, |
| 30 | "description": "Opt into receiving experimental API methods and fields.", |
| 31 | "type": "boolean" |
| 32 | }, |
| 33 | "explicitGatewayOauth": { |
| 34 | "description": "Use explicit gateway OAuth login instead of automatic browser authorization. Applies to this app-server's gateway runtime; later connections cannot undo it.", |
| 35 | "type": "boolean" |
| 36 | }, |
| 37 | "extensions": { |
| 38 | "additionalProperties": true, |
| 39 | "description": "MCP extension settings declared by the app-server client.", |
| 40 | "type": [ |
| 41 | "object", |
| 42 | "null" |
| 43 | ] |
| 44 | }, |
| 45 | "mcpServerOpenaiFormElicitation": { |
| 46 | "description": "Legacy opt-in for the `openai/form` MCP extension.\n\nNew clients should declare `openai/form` in [`Self::extensions`].", |
| 47 | "type": "boolean" |
| 48 | }, |
| 49 | "optOutNotificationMethods": { |
| 50 | "description": "Exact notification method names that should be suppressed for this connection (for example `thread/started`).", |
| 51 | "items": { |
| 52 | "type": "string" |
| 53 | }, |
| 54 | "type": [ |
| 55 | "array", |
| 56 | "null" |
| 57 | ] |
| 58 | }, |
| 59 | "requestAttestation": { |
| 60 | "default": false, |
| 61 | "description": "Opt into `attestation/generate` requests for upstream `x-oai-attestation`.", |
| 62 | "type": "boolean" |
| 63 | } |
| 64 | }, |
| 65 | "type": "object" |
| 66 | } |
| 67 | }, |
| 68 | "properties": { |
| 69 | "capabilities": { |
| 70 | "anyOf": [ |
| 71 | { |
| 72 | "$ref": "#/definitions/InitializeCapabilities" |
| 73 | }, |
| 74 | { |
| 75 | "type": "null" |
| 76 | } |
| 77 | ] |
| 78 | }, |
| 79 | "clientInfo": { |
| 80 | "$ref": "#/definitions/ClientInfo" |
| 81 | } |
| 82 | }, |
| 83 | "required": [ |
| 84 | "clientInfo" |
| 85 | ], |
| 86 | "title": "InitializeParams", |
| 87 | "type": "object" |
| 88 | } |