Plane docs
ApiSchemas

PendingDecision

One shape from the contract, as it appears on the wire.

Used by sessions.pending

JSON Schema

{
  "type": "object",
  "properties": {
    "toolCallId": {
      "$ref": "#/components/schemas/ToolCallId"
    },
    "name": {
      "type": "string",
      "minLength": 1
    },
    "connection": {
      "type": "string"
    },
    "input": {},
    "prompt": {
      "type": "string"
    },
    "channel": {
      "type": "string"
    },
    "requestedBy": {
      "type": "string",
      "enum": [
        "hook",
        "policy"
      ]
    },
    "requestedAt": {
      "type": "string"
    },
    "expiresAt": {
      "type": "string"
    },
    "parentToolCallId": {
      "$ref": "#/components/schemas/ToolCallId"
    }
  },
  "required": [
    "toolCallId",
    "name",
    "input",
    "requestedBy",
    "requestedAt",
    "expiresAt"
  ],
  "additionalProperties": false
}

On this page