Skip to content
Documentation
On this page

MCP resume

Input schema and availability for the resume tool in Executor 2.0.0-beta.79.

This page lists the input schemas returned by tools/list for resume in Executor 2.0.0-beta.79. The table above each schema identifies which elicitation modes and protocol versions return it.

Input schema 1

Continue a paused execute program using its pending requestId and the user’s MCP elicitation response: {action: ‘accept’, content: {…}}, {action: ‘decline’}, or {action: ‘cancel’}. Ask the user before approving. Return the user’s form fields in content on accept. Returns the next pending interaction or the completed program result. An approved call that fails reports its own error. Unavailable carries a reason (answered, expired, ended, lost, malformed or not-found), what to do and the caller’s open requests in pending; do not rerun the whole program because earlier calls may have completed. Busy means another resume is advancing this program; wait for that response. Results are not replayed.

Elicitation mode MCP protocol versions
model 2026-07-28, 2025-11-25, 2025-06-18
automatic 2026-07-28, 2025-11-25, 2025-06-18
{
  "type": "object",
  "properties": {
    "requestId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^apr_[\\s\\S]+$"
        },
        {
          "type": "string",
          "pattern": "^elc_[\\s\\S]+$"
        }
      ]
    },
    "response": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "_meta": {
              "anyOf": [
                {
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ]
            },
            "action": {
              "type": "string",
              "enum": [
                "accept"
              ]
            },
            "content": {
              "type": "object",
              "additionalProperties": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ]
              }
            }
          },
          "required": [
            "action"
          ],
          "additionalProperties": true
        },
        {
          "type": "object",
          "properties": {
            "_meta": {
              "anyOf": [
                {
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ]
            },
            "action": {
              "type": "string",
              "enum": [
                "cancel",
                "decline"
              ]
            }
          },
          "required": [
            "action"
          ],
          "additionalProperties": true
        }
      ]
    }
  },
  "required": [
    "requestId",
    "response"
  ],
  "additionalProperties": true
}

Input schema 2

Continue a paused execute program using its pending requestId and the user’s MCP elicitation response: {action: ‘accept’, content: {…}}, {action: ‘decline’}, or {action: ‘cancel’}. Ask the user before approving. Return the user’s form fields in content on accept. Returns the next pending interaction or the completed program result. An approved call that fails reports its own error. Unavailable carries a reason (answered, expired, ended, lost, malformed or not-found), what to do and the caller’s open requests in pending; do not rerun the whole program because earlier calls may have completed. Busy means another resume is advancing this program; wait for that response. Results are not replayed.

Elicitation mode MCP protocol versions
model 2025-03-26
automatic 2025-03-26
{
  "type": "object",
  "properties": {
    "requestId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^apr_[\\s\\S]+$"
        },
        {
          "type": "string",
          "pattern": "^elc_[\\s\\S]+$"
        }
      ]
    },
    "response": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "_meta": {
              "anyOf": [
                {
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ]
            },
            "action": {
              "type": "string",
              "enum": [
                "accept"
              ]
            },
            "content": {
              "type": "object",
              "additionalProperties": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ]
              }
            }
          },
          "required": [
            "action"
          ],
          "additionalProperties": true
        },
        {
          "type": "object",
          "properties": {
            "_meta": {
              "anyOf": [
                {
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ]
            },
            "action": {
              "type": "string",
              "enum": [
                "cancel",
                "decline"
              ]
            }
          },
          "required": [
            "action"
          ],
          "additionalProperties": true
        }
      ]
    }
  },
  "required": [
    "requestId",
    "response"
  ]
}

Input schema 3

Collect the answer submitted through approvalUrl and continue the same program. Pass only requestId. This waits briefly for the browser; if the same pending request returns, wait and call resume again. Show any new approvalUrl to the user. Do not invent a response or rerun execute. Unavailable means expired, consumed or lost; earlier effects may have completed.

Elicitation mode MCP protocol versions
browser 2026-07-28, 2025-11-25, 2025-06-18
{
  "type": "object",
  "properties": {
    "requestId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^apr_[\\s\\S]+$"
        },
        {
          "type": "string",
          "pattern": "^elc_[\\s\\S]+$"
        }
      ]
    }
  },
  "required": [
    "requestId"
  ],
  "additionalProperties": true
}

Input schema 4

Collect the answer submitted through approvalUrl and continue the same program. Pass only requestId. This waits briefly for the browser; if the same pending request returns, wait and call resume again. Show any new approvalUrl to the user. Do not invent a response or rerun execute. Unavailable means expired, consumed or lost; earlier effects may have completed.

Elicitation mode MCP protocol versions
browser 2025-03-26
{
  "type": "object",
  "properties": {
    "requestId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^apr_[\\s\\S]+$"
        },
        {
          "type": "string",
          "pattern": "^elc_[\\s\\S]+$"
        }
      ]
    }
  },
  "required": [
    "requestId"
  ]
}

Was this page helpful?