changedInput schema / properties / script / anyOf
Previous value: -[
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": {},
- "description": "Arguments to pass to the tool. Supports {{vars.x}}, {{steps[0].result.x}}, and {{secret:KEY}} templating.",
- "type": "object"
- },
- "assign": {
- "description": "Variable name to store this step's output into for subsequent steps",
- "type": "string"
- },
- "delayAfterMs": {
- "minimum": 0,
- "type": "number"
- },
- "delayBeforeMs": {
- "minimum": 0,
- "type": "number"
- },
- "expect": {
- "additionalProperties": false,
- "properties": {
- "contains": {
- "type": "string"
- },
- "equals": {
- "additionalProperties": false,
- "properties": {
- "path": {
- "type": "string"
- },
- "value": {}
- },
- "required": [
- "path"
- ],
- "type": "object"
- },
- "js": {
- "description": "JavaScript predicate expression evaluated with argument 'result'",
- "type": "string"
- },
- "status": {
- "enum": [
- "success",
- "error"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "if": {
- "description": "Conditional expression; step is skipped if falsy",
- "type": "string"
- },
- "name": {
- "description": "Human readable label for this step",
- "type": "string"
- },
- "onError": {
- "description": "Whether to abort or continue script on step failure (default: abort)",
- "enum": [
- "abort",
- "continue"
- ],
- "type": "string"
- },
- "retry": {
- "additionalProperties": false,
- "properties": {
- "backoff": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "delayMs": {
- "minimum": 0,
- "type": "number"
- },
- "maxAttempts": {
- "exclusiveMinimum": 0,
- "maximum": 10,
- "type": "integer"
- }
- },
- "required": [
- "maxAttempts"
- ],
- "type": "object"
- },
- "timeoutMs": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "tool": {
- "description": "MCP tool name to invoke (e.g. 'click_ax', 'type_text', 'assert_ui', 'wait_for')",
- "type": "string"
- }
- },
- "required": [
- "tool"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "description": "JSON array of steps or path to a .json script file on disk",
- "type": "string"
- }
-]New value: +[
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": {},
+ "description": "Arguments to pass to the tool. Supports {{vars.x}}, {{steps[0].result.x}}, and {{secret:ELECTRON_MCP_KEY}} templating (only ELECTRON_MCP_* environment variables can be read).",
+ "type": "object"
+ },
+ "assign": {
+ "description": "Variable name to store this step's output into for subsequent steps",
+ "type": "string"
+ },
+ "delayAfterMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "delayBeforeMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "expect": {
+ "additionalProperties": false,
+ "properties": {
+ "contains": {
+ "type": "string"
+ },
+ "equals": {
+ "additionalProperties": false,
+ "properties": {
+ "path": {
+ "type": "string"
+ },
+ "value": {}
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object"
+ },
+ "js": {
+ "description": "JavaScript predicate expression evaluated with argument 'result'",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "success",
+ "error"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "if": {
+ "description": "Conditional expression; step is skipped if falsy",
+ "type": "string"
+ },
+ "name": {
+ "description": "Human readable label for this step",
+ "type": "string"
+ },
+ "onError": {
+ "description": "Whether to abort or continue script on step failure (default: abort)",
+ "enum": [
+ "abort",
+ "continue"
+ ],
+ "type": "string"
+ },
+ "retry": {
+ "additionalProperties": false,
+ "properties": {
+ "backoff": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "delayMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "maxAttempts": {
+ "exclusiveMinimum": 0,
+ "maximum": 10,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "maxAttempts"
+ ],
+ "type": "object"
+ },
+ "timeoutMs": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "tool": {
+ "description": "MCP tool name to invoke (e.g. 'click_ax', 'type_text', 'assert_ui', 'wait_for')",
+ "type": "string"
+ }
+ },
+ "required": [
+ "tool"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "description": "JSON array of steps or path to a .json script file on disk",
+ "type": "string"
+ }
+]