changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "accept",
- "dismiss"
- ],
- "title": "Action",
- "type": "string"
- },
- "dialog_message": {
- "$ref": "#/$defs/DialogMessageMetadata"
- },
- "dialog_type": {
- "enum": [
- "alert",
- "confirm",
- "prompt"
- ],
- "title": "Dialog Type",
- "type": "string"
- },
- "final_url": {
- "title": "Final Url",
- "type": "string"
- },
- "handled": {
- "const": true,
- "title": "Handled",
- "type": "boolean"
- },
- "prompt": {
- "$ref": "#/$defs/DialogPromptMetadata"
- },
- "receipt": {
- "$ref": "#/$defs/ActionReceipt"
- }
- },
- "required": [
- "dialog_type",
- "action",
- "handled",
- "dialog_message",
- "prompt",
- "final_url",
- "receipt"
- ],
- "title": "PageDialogRespondData",
- "type": "object"
- },
- "message": {
- "type": "string"
- },
- "ok": {
- "const": true
- }
- },
- "required": [
- "ok",
- "message",
- "data"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "additionalProperties": true,
- "type": "object"
- },
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "details": {
- "additionalProperties": true,
- "type": "object"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "message": {
- "type": "string"
- },
- "ok": {
- "const": false
- }
- },
- "required": [
- "ok",
- "message",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "accept",
+ "dismiss"
+ ],
+ "title": "Action",
+ "type": "string"
+ },
+ "dialog_message": {
+ "$ref": "#/$defs/DialogMessageMetadata"
+ },
+ "dialog_type": {
+ "enum": [
+ "alert",
+ "confirm",
+ "prompt"
+ ],
+ "title": "Dialog Type",
+ "type": "string"
+ },
+ "final_url": {
+ "title": "Final Url",
+ "type": "string"
+ },
+ "handled": {
+ "const": true,
+ "title": "Handled",
+ "type": "boolean"
+ },
+ "prompt": {
+ "$ref": "#/$defs/DialogPromptMetadata"
+ },
+ "receipt": {
+ "$ref": "#/$defs/ActionReceipt"
+ },
+ "tab_id": {
+ "description": "MCP tab id captured for this operation.",
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "dialog_type",
+ "action",
+ "handled",
+ "dialog_message",
+ "prompt",
+ "final_url",
+ "receipt",
+ "tab_id"
+ ],
+ "title": "PageDialogRespondData",
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ },
+ "ok": {
+ "const": true
+ }
+ },
+ "required": [
+ "ok",
+ "message",
+ "data"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "details": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ },
+ "ok": {
+ "const": false
+ }
+ },
+ "required": [
+ "ok",
+ "message",
+ "error"
+ ],
+ "type": "object"
+ }
+]