read_pending_action

Generated automatically from the published contract sources.

Build metadata: Registered in this build. Registration describes the default dispatcher in this build. It does not guarantee that a caller has the required credential or grant, that a tool is listed for that connection, or that the required service is configured.

A script calls this action over HTTPS at POST https://turnzero.ai/api/v1/actions/read_pending_action, with a bearer credential and the action's payload as the JSON body. It also accepts GET.

Contract description

Read a pending action — a destructive act waiting for, or past, its browser approval — with its state and its outcome. The state is `requested`, `approved`, `executing`, `completed`, `failed`, `declined`, or `expired`. This is how a tool learns what the person decided.

Access and action metadata

{
  "name": "read_pending_action",
  "resource": "pending_action",
  "tier": "observe",
  "summary": "The requesting credential reads the record and its outcome — how the interface reports what the browser decided.",
  "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "openWorldHint": false,
    "idempotentHint": true
  }
}

MCP catalog entry

{
  "name": "read_pending_action",
  "tier": "observe",
  "scenario": "CHI-L0-10",
  "summary": "Read a pending action — a destructive act waiting for, or past, its browser approval — with its state and its outcome. The state is `requested`, `approved`, `executing`, `completed`, `failed`, `declined`, or `expired`. This is how a tool learns what the person decided.",
  "owners": [
    "MAPI-05"
  ]
}

request

JSON pointer Description and constraints
"" (root) Type: object
Required fields: ["id"]
/properties/id The pending action's id, answered by the destructive call that created it.

Type: string

response

JSON pointer Description and constraints
"" (root) Type: object
Required fields: ["contract_version","pending_action"]
/properties/contract_version Required value: 1
/properties/reference The short reference the platform recorded this call under, ten lowercase hexadecimal characters, the value the call’s record row carries; quote it when reporting the call.

Type: string
Pattern: ^[0-9a-f]{10}$
/properties/pending_action $ref: #/shapes/pending_action

Complete payload contract

{
  "request": {
    "type": "object",
    "required": [
      "id"
    ],
    "properties": {
      "id": {
        "type": "string",
        "description": "The pending action's id, answered by the destructive call that created it."
      }
    }
  },
  "response": {
    "type": "object",
    "required": [
      "contract_version",
      "pending_action"
    ],
    "properties": {
      "contract_version": {
        "const": 1
      },
      "reference": {
        "type": "string",
        "pattern": "^[0-9a-f]{10}$",
        "description": "The short reference the platform recorded this call under, ten lowercase hexadecimal characters, the value the call’s record row carries; quote it when reporting the call."
      },
      "pending_action": {
        "$ref": "#/shapes/pending_action"
      }
    }
  }
}

Shared contracts