# Tool input reference

This snapshot records the public input shapes assembled by the released Core MCP server for 0.20.11. It is a reference for discovery and validation, not evidence that every client exposes every tool or that the connected person may use it. Discover the actual connection before acting. The optional `token` transport parameter is omitted from the schemas below; use the client’s normal authentication, and see “What the schemas do not show” for how that affects strict validation.

Each exact schema below retains its structural constraints. Descriptions of authority, effects, results and recovery are in the [agent interface reference](https://www.mensara.ai/how-it-works/pilot-interface-reference) and the linked operating procedures. Runtime responses and client exclusions remain authoritative for the installed environment.

## What the schemas do not show

This page lists input schemas only. It has no worked requests; the operating procedures show complete requests. The schemas cannot express the points below, so read them with the schemas.

- **The `token` parameter.** In the released 0.20.11 server, every tool except `acquire_user_token_v1` and `request_session_assertion_v1` also declares an optional `token` string, which is left out below. Thirty-four tools set `additionalProperties: false`, and all of them declare `token`. A validator built only from the schemas on this page would reject a payload that includes `token` on those tools. Allow it, or leave authentication to the client.
- **Fields that are required in practice.** Several tools list no required fields but need input to work:
  - `get_proposal` needs exactly one of `proposal_id` (optionally with `path`, `offset` and `limit`) or `proposal_ids` (1 to 25 ids). Passing both, or neither, is refused as invalid.
  - `revoke_owner_token` lists `fingerprint` as optional, but a missing fingerprint is treated as empty and matches no token. Always pass it.
  - `find` is meant to be called with at least one of `name`, `email`, `id` or `filters`.
- **`act` actions.** `action` is a plain string. The schema does not list the action names or the fields each action needs (for example `item_id`, `answer`, `config`, `trigger`, `connection_name` and `capability`). Those are in the `act` tool’s own description in the connected client, which is the authoritative list for that release. Use only the actions that description names.
- **Loosely typed objects.** Some inputs are declared as objects with little or no nested structure: the loop `spec` in `loop_compose` (its nested objects are unconstrained; see [explicit machine schemas](https://www.mensara.ai/how-it-works/explicit-machine-schemas)), `automation_compose` `trigger` and each step’s `args`, `onboarding_preview` `plan`, and `act` `config`. The server checks their contents at run time, so the schema accepting a value does not mean the server will. Use the tool description and the matching operating procedure for valid shapes.
- **Release version.** This snapshot is the 115 tools of 0.20.11. Later releases may add tools, so a Mind on a newer version can list more tools than this page.

## `access_code_reveal`

```json
{
  "properties": {
    "name": {
      "pattern": "^[a-z0-9][a-z0-9._-]{0,63}$",
      "type": "string"
    },
    "zone": {
      "type": "string"
    }
  },
  "required": [
    "zone"
  ],
  "type": "object"
}
```

## `access_code_set`

```json
{
  "properties": {
    "label": {
      "maxLength": 120,
      "type": "string"
    },
    "name": {
      "pattern": "^[a-z0-9][a-z0-9._-]{0,63}$",
      "type": "string"
    },
    "value": {
      "maxLength": 256,
      "type": [
        "string",
        "null"
      ]
    },
    "zone": {
      "type": "string"
    }
  },
  "required": [
    "zone",
    "name",
    "value"
  ],
  "type": "object"
}
```

## `acquire_user_token_v1`

```json
{
  "properties": {
    "assertion": {
      "type": "object"
    },
    "exchange_credential": {
      "type": "string"
    }
  },
  "required": [
    "assertion",
    "exchange_credential"
  ],
  "type": "object"
}
```

## `act`

```json
{
  "properties": {
    "action": {
      "type": "string"
    },
    "action_id": {
      "type": "string"
    },
    "answer": {
      "description": "queue.answer only. On a card carrying a proposal_id, a JSON object: {\"decision\": \"approve\"}, {\"decision\": \"reject\", \"reason\": \"...\"} or {\"decision\": \"edit\", \"changes\": [{\"path\": ..., \"content\": ...}]} (edit may only amend paths the proposal already contains). A human approval request answered from a chat app also needs \"human_confirmation\": {\"reply\": \"<the person's exact words>\", \"content_hash\": \"<from get_approval_request>\"}: show the person the changes, ask, and send only what they typed; never supply it yourself. On a card carrying a qb_id, a JSON object {\"chosen\": \"<one of the card's options>\"}. A batch-bound qb_id accepts these exact envelopes: {\"chosen\":\"approve\",\"rows\":[{\"row\":\"r1\",\"decision\":\"exclude\",\"reason\":\"non-empty <=500\"},{\"row\":\"r2\",\"decision\":\"confirm\"},{\"row\":\"r3\",\"decision\":\"correct\",\"path\":\"one existing proposal file\",\"field\":\"^[a-z][a-z0-9_]{0,63}$\",\"value\":\"JSON scalar or list of JSON scalars\"}]} or {\"chosen\":\"reject\",\"reason\":\"non-empty <=500\"}. For both of those, the option strings the card advertises go INSIDE the envelope \u2014 a bare option word like approve is NOT the argument and is refused as invalid_argument. Any other queue item takes free text. If an authorized approval targets a task proposal whose claim holder or generation changed, task proposal stale returns recovery reconcile_then_repropose: reconcile task and review-queue state, then submit a new proposal under the current claim. Never replay the old approval.",
      "type": "string"
    },
    "app_id": {
      "type": "string"
    },
    "capability": {
      "type": "string"
    },
    "case_id": {
      "type": "string"
    },
    "config": {
      "type": "object"
    },
    "conn_type": {
      "type": "string"
    },
    "connection_name": {
      "type": "string"
    },
    "control_message": {
      "description": "mind_* only. The peer's EXACT signed control object as received out of band (all thirteen fields, signature included). Verified against the pinned peer identity key before anything is written.",
      "type": "object"
    },
    "descriptor_receipt_id": {
      "description": "mind_invite only. One-use receipt returned by invite lookup status.",
      "type": "string"
    },
    "expected_descriptor_digest": {
      "description": "mind_invite/mind_reconfirm only, and REQUIRED on them. The peer's descriptor_digest as YOU resolved it from the Host directory, over a channel independent of the one that supplied peer_descriptor. Nothing computes it from that descriptor on your behalf: supplying both from the same message reduces the check to a checksum. Omitting it refuses the call rather than proceeding with a self-computed value.",
      "type": "string"
    },
    "expected_generation": {
      "type": "integer"
    },
    "idempotency_key": {
      "type": "string"
    },
    "invite_token": {
      "description": "mind_invite_lookup only. One-use Host invite token; never include it in item_id or other fields.",
      "type": "string"
    },
    "item_id": {
      "type": "string"
    },
    "label": {
      "type": "string"
    },
    "peer_descriptor": {
      "description": "mind_invite/mind_reconfirm only. The peer's exact fifteen-field signed mind_descriptor object, supplied out of band.",
      "type": "object"
    },
    "peer_descriptor_signature": {
      "type": "string"
    },
    "replace_local": {
      "type": "boolean"
    },
    "secret": {
      "type": "string"
    },
    "trigger": {
      "oneOf": [
        {
          "additionalProperties": false,
          "properties": {
            "every": {
              "type": "string"
            }
          },
          "required": [
            "every"
          ]
        },
        {
          "additionalProperties": false,
          "properties": {
            "daily_at": {
              "type": "string"
            }
          },
          "required": [
            "daily_at"
          ]
        },
        {
          "additionalProperties": false,
          "properties": {
            "feed_event": {
              "type": "string"
            }
          },
          "required": [
            "feed_event"
          ]
        }
      ],
      "type": "object"
    },
    "waive_replay": {
      "type": "string"
    }
  },
  "required": [
    "action",
    "item_id"
  ],
  "type": "object"
}
```

## `apply_permission_preset`

```json
{
  "properties": {
    "preset": {
      "enum": [
        "open_team",
        "locked_down"
      ],
      "type": "string"
    }
  },
  "required": [
    "preset"
  ],
  "type": "object"
}
```

## `ask`

```json
{
  "properties": {
    "options": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "qb_id": {
      "type": "string"
    },
    "question": {
      "type": "string"
    },
    "zone": {
      "type": "string"
    }
  },
  "required": [
    "zone",
    "qb_id",
    "question",
    "options"
  ],
  "type": "object"
}
```

## `assign_access_profile`

```json
{
  "properties": {
    "profile_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "subject": {
      "type": "string"
    }
  },
  "required": [
    "subject"
  ],
  "type": "object"
}
```

## `automation_compose`

```json
{
  "properties": {
    "description": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "steps": {
      "items": {
        "properties": {
          "action_id": {
            "type": "string"
          },
          "app_id": {
            "type": "string"
          },
          "args": {
            "type": "object"
          }
        },
        "required": [
          "app_id",
          "action_id",
          "args"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "supersedes": {
      "type": "string"
    },
    "trigger": {
      "type": "object"
    }
  },
  "required": [
    "name",
    "description",
    "trigger",
    "steps"
  ],
  "type": "object"
}
```

## `backup_connect_poll`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `backup_connect_start`

```json
{
  "properties": {
    "repository": {
      "type": "string"
    }
  },
  "required": [
    "repository"
  ],
  "type": "object"
}
```

## `backup_decline`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `backup_status`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `broker_call`

```json
{
  "additionalProperties": false,
  "properties": {
    "request": {
      "type": "object"
    }
  },
  "required": [
    "request"
  ],
  "type": "object"
}
```

## `check_write`

```json
{
  "properties": {
    "changes": {
      "items": {
        "oneOf": [
          {
            "not": {
              "required": [
                "op"
              ]
            },
            "properties": {
              "content": {
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "content"
            ],
            "type": "object"
          },
          {
            "properties": {
              "base_sha": {
                "description": "Memory operations require read.memory.revision as base_sha (base_required if missing; stale-base if changed). Ordinary replacements with a stale or omitted base are held for review.",
                "type": "string"
              },
              "content": {
                "type": "string"
              },
              "op": {
                "enum": [
                  "create",
                  "replace",
                  "upsert"
                ],
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "op",
              "content"
            ],
            "type": "object"
          },
          {
            "properties": {
              "anchor": {
                "type": "string"
              },
              "base_sha": {
                "description": "Reject if the supplied base changed (stale-base). Memory edits require read.memory.revision as base_sha (base_required if missing).",
                "type": "string"
              },
              "content": {
                "type": "string"
              },
              "mode": {
                "enum": [
                  "replace_section",
                  "append_to_section",
                  "insert_after_heading",
                  "delete_section"
                ],
                "type": "string"
              },
              "op": {
                "enum": [
                  "edit"
                ],
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "op",
              "content",
              "anchor",
              "mode"
            ],
            "type": "object"
          },
          {
            "properties": {
              "base_sha": {
                "description": "Reject if the supplied base changed (stale-base). Memory operations require read.memory.revision as base_sha (base_required if missing).",
                "type": "string"
              },
              "content": {
                "type": "string"
              },
              "op": {
                "enum": [
                  "append"
                ],
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "op",
              "content"
            ],
            "type": "object"
          },
          {
            "properties": {
              "base_sha": {
                "description": "Reject if the supplied base changed (stale-base). Memory operations require read.memory.revision as base_sha (base_required if missing).",
                "type": "string"
              },
              "op": {
                "enum": [
                  "delete"
                ],
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "op"
            ],
            "type": "object"
          }
        ]
      },
      "type": "array"
    }
  },
  "required": [
    "changes"
  ],
  "type": "object"
}
```

## `connection_call`

```json
{
  "additionalProperties": false,
  "properties": {
    "request": {
      "type": "object"
    }
  },
  "required": [
    "request"
  ],
  "type": "object"
}
```

## `create_review_batch`

```json
{
  "additionalProperties": false,
  "properties": {
    "correlation": {
      "maxLength": 200,
      "type": "string"
    },
    "pack": {
      "type": "string"
    },
    "rows": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "new",
              "matched",
              "uncertain"
            ],
            "type": "string"
          },
          "label": {
            "maxLength": 200,
            "type": "string"
          },
          "proposal_id": {
            "type": "string"
          },
          "row": {
            "pattern": "^[a-z0-9][a-z0-9_-]{0,63}$",
            "type": "string"
          },
          "source_ref": {
            "type": "string"
          }
        },
        "required": [
          "row",
          "proposal_id",
          "kind",
          "label"
        ],
        "type": "object"
      },
      "maxItems": 200,
      "minItems": 1,
      "type": "array"
    },
    "title": {
      "maxLength": 200,
      "type": "string"
    }
  },
  "required": [
    "title",
    "pack",
    "rows"
  ],
  "type": "object"
}
```

## `create_zone`

```json
{
  "properties": {
    "description": {
      "maxLength": 500,
      "type": "string"
    },
    "label": {
      "default": "client-confidential",
      "enum": [
        "internal",
        "client-confidential",
        "pii"
      ],
      "type": "string"
    },
    "shareable": {
      "default": false,
      "description": "Eligible for explicit profile assignment; not advertised or shared automatically. Peer sharing requires the owner to place the zone in a profile bound to a Network connection with MANAGE_PEER_TRUST. Private zones remain unshareable.",
      "type": "boolean"
    },
    "tier_ceiling": {
      "default": "T1",
      "enum": [
        "T0",
        "T1",
        "T2"
      ],
      "type": "string"
    },
    "zone_id": {
      "maxLength": 64,
      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
      "type": "string"
    }
  },
  "required": [
    "zone_id"
  ],
  "type": "object"
}
```

## `delete_access_profile`

```json
{
  "properties": {
    "profile_id": {
      "type": "string"
    }
  },
  "required": [
    "profile_id"
  ],
  "type": "object"
}
```

## `draft_feedback`

```json
{
  "additionalProperties": false,
  "properties": {
    "kind": {
      "enum": [
        "bug",
        "confusing",
        "missing_feature",
        "other"
      ],
      "type": "string"
    },
    "summary": {
      "maxLength": 2000,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "kind",
    "summary"
  ],
  "type": "object"
}
```

## `find`

```json
{
  "additionalProperties": false,
  "properties": {
    "cursor": {
      "type": "string"
    },
    "email": {
      "maxLength": 4096,
      "minLength": 1,
      "type": "string"
    },
    "filters": {
      "additionalProperties": false,
      "properties": {
        "entity": {
          "oneOf": [
            {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            },
            {
              "items": {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 50,
              "minItems": 1,
              "type": "array"
            }
          ]
        },
        "geography": {
          "oneOf": [
            {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            },
            {
              "items": {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 50,
              "minItems": 1,
              "type": "array"
            }
          ]
        },
        "group": {
          "oneOf": [
            {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            },
            {
              "items": {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 50,
              "minItems": 1,
              "type": "array"
            }
          ]
        },
        "owner": {
          "oneOf": [
            {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            },
            {
              "items": {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 50,
              "minItems": 1,
              "type": "array"
            }
          ]
        },
        "sector": {
          "oneOf": [
            {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            },
            {
              "items": {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 50,
              "minItems": 1,
              "type": "array"
            }
          ]
        },
        "status": {
          "oneOf": [
            {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            },
            {
              "items": {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 50,
              "minItems": 1,
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "id": {
      "maxLength": 4096,
      "minLength": 1,
      "type": "string"
    },
    "limit": {
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "memory_view": {
      "enum": [
        "current",
        "evidence"
      ],
      "type": "string"
    },
    "name": {
      "maxLength": 4096,
      "minLength": 1,
      "type": "string"
    },
    "zone": {
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
```

## `get_approval_request`

```json
{
  "additionalProperties": false,
  "properties": {
    "request_id": {
      "pattern": "^[0-9a-f]{32}$",
      "type": "string"
    }
  },
  "required": [
    "request_id"
  ],
  "type": "object"
}
```

## `get_auto_approval`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `get_case`

```json
{
  "properties": {
    "case_id": {
      "type": "string"
    },
    "loop_id": {
      "type": "string"
    }
  },
  "required": [
    "loop_id",
    "case_id"
  ],
  "type": "object"
}
```

## `get_feed_v1`

```json
{
  "properties": {
    "cursor": {
      "type": "string"
    },
    "include_reply_capability": {
      "type": "boolean"
    },
    "limit": {
      "type": "integer"
    }
  },
  "required": [],
  "type": "object"
}
```

## `get_governance_inbox`

```json
{
  "properties": {
    "window": {
      "enum": [
        "7d",
        "30d",
        "90d"
      ],
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
```

## `get_health_v1`

```json
{
  "additionalProperties": false,
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `get_loop`

```json
{
  "properties": {
    "loop_id": {
      "type": "string"
    }
  },
  "required": [
    "loop_id"
  ],
  "type": "object"
}
```

## `get_loop_metrics`

```json
{
  "properties": {
    "loop_id": {
      "type": "string"
    },
    "window": {
      "enum": [
        "7d",
        "30d",
        "90d"
      ],
      "type": "string"
    }
  },
  "required": [
    "window"
  ],
  "type": "object"
}
```

## `get_proposal`

```json
{
  "properties": {
    "limit": {
      "minimum": 1,
      "type": "integer"
    },
    "offset": {
      "minimum": 1,
      "type": "integer"
    },
    "path": {
      "type": "string"
    },
    "proposal_id": {
      "type": "string"
    },
    "proposal_ids": {
      "items": {
        "type": "string"
      },
      "maxItems": 25,
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [],
  "type": "object"
}
```

## `get_push_recipients_v1`

```json
{
  "properties": {
    "event_id": {
      "type": "string"
    },
    "principals": {
      "items": {
        "type": "string"
      },
      "maxItems": 128,
      "type": "array"
    },
    "stream": {
      "enum": [
        "queue",
        "briefings"
      ],
      "type": "string"
    }
  },
  "required": [
    "stream",
    "event_id",
    "principals"
  ],
  "type": "object"
}
```

## `get_record`

```json
{
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "type": "object"
}
```

## `get_review_batch`

```json
{
  "additionalProperties": false,
  "properties": {
    "batch_id": {
      "type": "string"
    },
    "row": {
      "type": "string"
    }
  },
  "required": [
    "batch_id"
  ],
  "type": "object"
}
```

## `get_skill`

```json
{
  "properties": {
    "capability": {
      "enum": [
        "any",
        "repo-agent"
      ],
      "type": "string"
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}
```

## `invite_member`

```json
{
  "additionalProperties": false,
  "properties": {
    "email": {
      "maxLength": 320,
      "type": "string"
    },
    "role": {
      "default": "member",
      "enum": [
        "member"
      ],
      "type": "string"
    }
  },
  "required": [
    "email"
  ],
  "type": "object"
}
```

## `invoke_app_action`

```json
{
  "properties": {
    "action_id": {
      "type": "string"
    },
    "app_id": {
      "type": "string"
    },
    "args": {
      "type": "object"
    },
    "idempotency_key": {
      "description": "Stable sender retry key for peer_delivery actions.",
      "pattern": "^[0-9a-f]{64}$",
      "type": "string"
    }
  },
  "required": [
    "app_id",
    "action_id",
    "args"
  ],
  "type": "object"
}
```

## `list_access_profiles`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `list_actions`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `list_available_apps`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `list_connections`

```json
{
  "additionalProperties": false,
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `list_directory_group_mappings`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `list_files`

```json
{
  "properties": {
    "dir": {
      "description": "A folder path (a zone's path_root, as list_zones gives it), or the id of a zone you hold, which is mapped to its folder.",
      "type": "string"
    },
    "memory_view": {
      "enum": [
        "current",
        "evidence"
      ],
      "type": "string"
    },
    "pattern": {
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
```

## `list_held_proposals`

```json
{
  "properties": {
    "cursor": {
      "type": "string"
    },
    "limit": {
      "type": "integer"
    },
    "path_prefix": {
      "type": "string"
    },
    "proposer": {
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
```

## `list_loops`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `list_owner_tokens`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `list_proposal_outcomes`

```json
{
  "properties": {
    "cursor": {
      "type": "string"
    },
    "limit": {
      "type": "integer"
    }
  },
  "required": [],
  "type": "object"
}
```

## `list_questions`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `list_records`

```json
{
  "properties": {
    "overdue": {
      "type": "boolean"
    },
    "status": {
      "enum": [
        "active",
        "superseded",
        "retired"
      ],
      "type": "string"
    },
    "type": {
      "enum": [
        "decision",
        "policy"
      ],
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
```

## `list_review_queue`

```json
{
  "properties": {
    "cursor": {
      "type": "string"
    },
    "include_content": {
      "type": "boolean"
    },
    "limit": {
      "type": "integer"
    },
    "path_prefix": {
      "maxLength": 512,
      "type": "string"
    },
    "proposer": {
      "maxLength": 200,
      "type": "string"
    },
    "status": {
      "enum": [
        "open",
        "answered",
        "stale"
      ],
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
```

## `list_skills`

```json
{
  "properties": {
    "capability": {
      "enum": [
        "any",
        "repo-agent"
      ],
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
```

## `list_zone_catalog`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `list_zones`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `loop_compose`

```json
{
  "properties": {
    "description": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "spec": {
      "properties": {
        "autonomy": {
          "type": "object"
        },
        "budget": {
          "type": "object"
        },
        "context": {
          "properties": {
            "records": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "escalation": {
          "type": "object"
        },
        "inputs": {
          "items": {
            "type": "object"
          },
          "type": "array"
        },
        "nodes": {
          "items": {
            "type": "object"
          },
          "type": "array"
        },
        "owner": {
          "type": "string"
        },
        "purpose": {
          "type": "string"
        },
        "quality": {
          "type": "object"
        },
        "rollout": {
          "enum": [
            "shadow"
          ],
          "type": "string"
        },
        "supersedes": {
          "type": [
            "string",
            "null"
          ]
        },
        "trigger": {
          "type": "object"
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "purpose",
        "version",
        "trigger",
        "inputs",
        "nodes",
        "quality",
        "escalation",
        "autonomy",
        "budget"
      ],
      "type": "object"
    }
  },
  "required": [
    "name",
    "description",
    "spec"
  ],
  "type": "object"
}
```

## `map_directory_group`

```json
{
  "properties": {
    "group_name": {
      "type": "string"
    },
    "profile_id": {
      "type": "string"
    }
  },
  "required": [
    "group_name",
    "profile_id"
  ],
  "type": "object"
}
```

## `mint_owner_token`

```json
{
  "properties": {
    "label": {
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
```

## `mint_teammate_token`

```json
{
  "properties": {
    "label": {
      "type": "string"
    },
    "principal_subject": {
      "type": "string"
    }
  },
  "required": [
    "principal_subject"
  ],
  "type": "object"
}
```

## `oauth2_connect_complete`

```json
{
  "properties": {
    "code": {
      "type": "string"
    },
    "state": {
      "type": "string"
    }
  },
  "required": [
    "code",
    "state"
  ],
  "type": "object"
}
```

## `oauth2_connect_poll`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `oauth2_connect_start`

```json
{
  "properties": {
    "provider": {
      "type": "string"
    }
  },
  "required": [
    "provider"
  ],
  "type": "object"
}
```

## `onboarding_apply`

```json
{
  "properties": {
    "confirmation": {
      "type": "string"
    },
    "preview_id": {
      "type": "string"
    }
  },
  "required": [
    "preview_id",
    "confirmation"
  ],
  "type": "object"
}
```

## `onboarding_preview`

```json
{
  "properties": {
    "expected_revision": {
      "type": "integer"
    },
    "plan": {
      "type": "object"
    }
  },
  "required": [
    "plan",
    "expected_revision"
  ],
  "type": "object"
}
```

## `onboarding_record`

```json
{
  "properties": {
    "detail": {
      "type": "string"
    },
    "expected_revision": {
      "type": "integer"
    },
    "outcome": {
      "enum": [
        "PASS",
        "FAIL"
      ],
      "type": "string"
    },
    "task_id": {
      "type": "string"
    }
  },
  "required": [
    "task_id",
    "outcome",
    "expected_revision"
  ],
  "type": "object"
}
```

## `onboarding_state`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `onboarding_status`

```json
{
  "properties": {
    "preview_id": {
      "type": "string"
    }
  },
  "required": [
    "preview_id"
  ],
  "type": "object"
}
```

## `orient`

```json
{
  "properties": {
    "detail": {
      "enum": [
        "full"
      ],
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
```

## `poll_answer`

```json
{
  "properties": {
    "qb_id": {
      "type": "string"
    }
  },
  "required": [
    "qb_id"
  ],
  "type": "object"
}
```

## `post_event`

```json
{
  "properties": {
    "event_type": {
      "type": "string"
    },
    "object_ref": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "title": {
      "type": "string"
    }
  },
  "required": [
    "event_type",
    "title",
    "summary"
  ],
  "type": "object"
}
```

## `propose_write`

```json
{
  "properties": {
    "amends": {
      "description": "Optional held proposal id to add these changes into instead of opening a new proposal: one card, one decision for both. Needs read on every zone it touches and propose on every zone of the result. A path it already changes takes full content (create/replace); base_sha there is the blob at the proposal tip.",
      "type": "string"
    },
    "changes": {
      "items": {
        "oneOf": [
          {
            "not": {
              "required": [
                "op"
              ]
            },
            "properties": {
              "content": {
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "content"
            ],
            "type": "object"
          },
          {
            "properties": {
              "base_sha": {
                "description": "Memory operations require read.memory.revision as base_sha (base_required if missing; stale-base if changed). Ordinary replacements with a stale or omitted base are held for review.",
                "type": "string"
              },
              "content": {
                "type": "string"
              },
              "op": {
                "enum": [
                  "create",
                  "replace",
                  "upsert"
                ],
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "op",
              "content"
            ],
            "type": "object"
          },
          {
            "properties": {
              "anchor": {
                "type": "string"
              },
              "base_sha": {
                "description": "Reject if the supplied base changed (stale-base). Memory edits require read.memory.revision as base_sha (base_required if missing).",
                "type": "string"
              },
              "content": {
                "type": "string"
              },
              "mode": {
                "enum": [
                  "replace_section",
                  "append_to_section",
                  "insert_after_heading",
                  "delete_section"
                ],
                "type": "string"
              },
              "op": {
                "enum": [
                  "edit"
                ],
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "op",
              "content",
              "anchor",
              "mode"
            ],
            "type": "object"
          },
          {
            "properties": {
              "base_sha": {
                "description": "Reject if the supplied base changed (stale-base). Memory operations require read.memory.revision as base_sha (base_required if missing).",
                "type": "string"
              },
              "content": {
                "type": "string"
              },
              "op": {
                "enum": [
                  "append"
                ],
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "op",
              "content"
            ],
            "type": "object"
          },
          {
            "properties": {
              "base_sha": {
                "description": "Reject if the supplied base changed (stale-base). Memory operations require read.memory.revision as base_sha (base_required if missing).",
                "type": "string"
              },
              "op": {
                "enum": [
                  "delete"
                ],
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "op"
            ],
            "type": "object"
          }
        ]
      },
      "type": "array"
    },
    "claim_context": {
      "additionalProperties": {
        "additionalProperties": false,
        "properties": {
          "generation": {
            "minimum": 1,
            "type": "integer"
          },
          "session_id": {
            "type": "string"
          }
        },
        "required": [
          "session_id",
          "generation"
        ],
        "type": "object"
      },
      "type": "object"
    },
    "rationale": {
      "type": "string"
    }
  },
  "required": [
    "changes"
  ],
  "type": "object"
}
```

## `query`

```json
{
  "properties": {
    "follow_up": {
      "additionalProperties": false,
      "properties": {
        "facet": {
          "maxLength": 512,
          "type": "string"
        },
        "seen": {
          "items": {
            "type": "string"
          },
          "maxItems": 10,
          "type": "array"
        }
      },
      "required": [
        "facet"
      ],
      "type": "object"
    },
    "memory_view": {
      "enum": [
        "current",
        "evidence"
      ],
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  },
  "required": [
    "text"
  ],
  "type": "object"
}
```

## `read`

```json
{
  "properties": {
    "limit": {
      "minimum": 1,
      "type": "integer"
    },
    "memory_view": {
      "enum": [
        "current",
        "evidence"
      ],
      "type": "string"
    },
    "mode": {
      "enum": [
        "full",
        "head"
      ],
      "type": "string"
    },
    "offset": {
      "minimum": 1,
      "type": "integer"
    },
    "path": {
      "type": "string"
    }
  },
  "required": [
    "path"
  ],
  "type": "object"
}
```

## `read_many`

```json
{
  "additionalProperties": false,
  "properties": {
    "memory_view": {
      "enum": [
        "current",
        "evidence"
      ],
      "type": "string"
    },
    "mode": {
      "default": "full",
      "enum": [
        "full",
        "head"
      ],
      "type": "string"
    },
    "paths": {
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "type": "array"
    }
  },
  "required": [
    "paths"
  ],
  "type": "object"
}
```

## `recovery_kit_download`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `remove_connection`

```json
{
  "additionalProperties": false,
  "properties": {
    "cascade": {
      "type": "boolean"
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}
```

## `remove_directory_group_mapping`

```json
{
  "properties": {
    "group_name": {
      "type": "string"
    }
  },
  "required": [
    "group_name"
  ],
  "type": "object"
}
```

## `renew_app_session`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `request_approval`

```json
{
  "additionalProperties": false,
  "properties": {
    "changes": {
      "items": {
        "oneOf": [
          {
            "not": {
              "required": [
                "op"
              ]
            },
            "properties": {
              "content": {
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "content"
            ],
            "type": "object"
          },
          {
            "properties": {
              "base_sha": {
                "description": "Memory operations require read.memory.revision as base_sha (base_required if missing; stale-base if changed). Ordinary replacements with a stale or omitted base are held for review.",
                "type": "string"
              },
              "content": {
                "type": "string"
              },
              "op": {
                "enum": [
                  "create",
                  "replace",
                  "upsert"
                ],
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "op",
              "content"
            ],
            "type": "object"
          },
          {
            "properties": {
              "anchor": {
                "type": "string"
              },
              "base_sha": {
                "description": "Reject if the supplied base changed (stale-base). Memory edits require read.memory.revision as base_sha (base_required if missing).",
                "type": "string"
              },
              "content": {
                "type": "string"
              },
              "mode": {
                "enum": [
                  "replace_section",
                  "append_to_section",
                  "insert_after_heading",
                  "delete_section"
                ],
                "type": "string"
              },
              "op": {
                "enum": [
                  "edit"
                ],
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "op",
              "content",
              "anchor",
              "mode"
            ],
            "type": "object"
          },
          {
            "properties": {
              "base_sha": {
                "description": "Reject if the supplied base changed (stale-base). Memory operations require read.memory.revision as base_sha (base_required if missing).",
                "type": "string"
              },
              "content": {
                "type": "string"
              },
              "op": {
                "enum": [
                  "append"
                ],
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "op",
              "content"
            ],
            "type": "object"
          },
          {
            "properties": {
              "base_sha": {
                "description": "Reject if the supplied base changed (stale-base). Memory operations require read.memory.revision as base_sha (base_required if missing).",
                "type": "string"
              },
              "op": {
                "enum": [
                  "delete"
                ],
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "op"
            ],
            "type": "object"
          }
        ]
      },
      "maxItems": 20,
      "minItems": 1,
      "type": "array"
    },
    "title": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "title",
    "changes"
  ],
  "type": "object"
}
```

## `request_session_assertion_v1`

```json
{
  "properties": {
    "workos_access_token": {
      "type": "string"
    }
  },
  "required": [
    "workos_access_token"
  ],
  "type": "object"
}
```

## `reset_app_trust`

```json
{
  "properties": {
    "principal": {
      "type": "string"
    },
    "zone": {
      "type": "string"
    }
  },
  "required": [
    "principal",
    "zone"
  ],
  "type": "object"
}
```

## `resolve_question`

```json
{
  "properties": {
    "qb_id": {
      "type": "string"
    }
  },
  "required": [
    "qb_id"
  ],
  "type": "object"
}
```

## `revert_auto_approval`

```json
{
  "properties": {
    "proposal_id": {
      "type": "string"
    }
  },
  "required": [
    "proposal_id"
  ],
  "type": "object"
}
```

## `revert_open_team_permissions`

```json
{
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `revoke_owner_token`

```json
{
  "properties": {
    "fingerprint": {
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
```

## `save_access_profile`

```json
{
  "properties": {
    "approve_zone_ids": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "extends_default": {
      "type": "boolean"
    },
    "name": {
      "type": "string"
    },
    "profile_id": {
      "type": "string"
    },
    "zone_ids": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "name",
    "zone_ids"
  ],
  "type": "object"
}
```

## `search`

```json
{
  "properties": {
    "case_sensitive": {
      "type": "boolean"
    },
    "context": {
      "type": "integer"
    },
    "glob": {
      "type": "string"
    },
    "max_results": {
      "type": "integer"
    },
    "memory_view": {
      "enum": [
        "current",
        "evidence"
      ],
      "type": "string"
    },
    "mode": {
      "enum": [
        "content",
        "files",
        "count"
      ],
      "type": "string"
    },
    "pattern": {
      "type": "string"
    }
  },
  "required": [
    "pattern"
  ],
  "type": "object"
}
```

## `set_access_management`

```json
{
  "properties": {
    "admins_can_manage": {
      "type": "boolean"
    }
  },
  "required": [
    "admins_can_manage"
  ],
  "type": "object"
}
```

## `set_admin_approval`

```json
{
  "properties": {
    "admins_can_approve": {
      "type": "boolean"
    }
  },
  "required": [
    "admins_can_approve"
  ],
  "type": "object"
}
```

## `set_auto_approval`

```json
{
  "properties": {
    "enabled": {
      "type": "boolean"
    },
    "principal": {
      "type": "string"
    },
    "rules": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "authors": {
            "oneOf": [
              {
                "enum": [
                  "anyone",
                  "self"
                ],
                "type": "string"
              },
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            ]
          },
          "zones": {
            "oneOf": [
              {
                "enum": [
                  "*"
                ],
                "type": "string"
              },
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            ]
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [],
  "type": "object"
}
```

## `set_automation_delegation`

```json
{
  "properties": {
    "admins_can_manage_automations": {
      "type": "boolean"
    }
  },
  "required": [
    "admins_can_manage_automations"
  ],
  "type": "object"
}
```

## `set_default_access_profile`

```json
{
  "properties": {
    "profile_id": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "profile_id"
  ],
  "type": "object"
}
```

## `set_feedback_drafts`

```json
{
  "additionalProperties": false,
  "properties": {
    "enabled": {
      "type": "boolean"
    }
  },
  "required": [
    "enabled"
  ],
  "type": "object"
}
```

## `set_loop_delegation`

```json
{
  "properties": {
    "admins_can_manage_loops": {
      "type": "boolean"
    },
    "loop_managers": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [],
  "type": "object"
}
```

## `set_member_role`

```json
{
  "properties": {
    "member": {
      "type": "string"
    },
    "role": {
      "enum": [
        "admin",
        "member"
      ],
      "type": "string"
    }
  },
  "required": [
    "member",
    "role"
  ],
  "type": "object"
}
```

## `set_personal_zone_delegation`

```json
{
  "properties": {
    "admins_can_read_personal_zones": {
      "type": "boolean"
    }
  },
  "required": [
    "admins_can_read_personal_zones"
  ],
  "type": "object"
}
```

## `set_role_delegation`

```json
{
  "properties": {
    "admins_can_manage_roles": {
      "type": "boolean"
    }
  },
  "required": [
    "admins_can_manage_roles"
  ],
  "type": "object"
}
```

## `set_zone_creation_delegation`

```json
{
  "properties": {
    "admins_can_create_zones": {
      "type": "boolean"
    }
  },
  "required": [
    "admins_can_create_zones"
  ],
  "type": "object"
}
```

## `subscribe`

```json
{
  "properties": {
    "since": {
      "type": "string"
    }
  },
  "required": [
    "since"
  ],
  "type": "object"
}
```

## `task_claim`

```json
{
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string"
    },
    "session": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "session"
  ],
  "type": "object"
}
```

## `task_create`

```json
{
  "additionalProperties": false,
  "properties": {
    "assignee": {
      "type": [
        "string",
        "null"
      ]
    },
    "blocks": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "closed": {
      "type": [
        "string",
        "null"
      ]
    },
    "depends_on": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "due": {
      "type": [
        "string",
        "null"
      ]
    },
    "env": {
      "type": [
        "string",
        "null"
      ]
    },
    "finish_gates": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "goal": {
      "type": [
        "string",
        "null"
      ]
    },
    "initiative": {
      "type": [
        "string",
        "null"
      ]
    },
    "lane": {
      "type": [
        "string",
        "null"
      ]
    },
    "modified": {
      "type": [
        "string",
        "null"
      ]
    },
    "owner": {
      "type": [
        "string",
        "null"
      ]
    },
    "parent": {
      "pattern": "[a-z][a-z0-9-]*-[a-z][a-z0-9-]*-\\d{4}-\\d{3,}$",
      "type": [
        "string",
        "null"
      ]
    },
    "planned_for": {
      "type": [
        "string",
        "null"
      ]
    },
    "prefix": {
      "type": "string"
    },
    "priority": {
      "enum": [
        "critical",
        "high",
        "normal",
        "low"
      ],
      "type": "string"
    },
    "priority_rank": {
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "project": {
      "type": "string"
    },
    "reporter": {
      "type": [
        "string",
        "null"
      ]
    },
    "session": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "enum": [
        "backlog",
        "active",
        "in-progress",
        "blocked",
        "review",
        "done",
        "cancelled"
      ],
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "workstream": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "prefix",
    "project",
    "title"
  ],
  "type": "object"
}
```

## `task_get`

```json
{
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "type": "object"
}
```

## `task_handoff`

```json
{
  "additionalProperties": false,
  "properties": {
    "generation": {
      "minimum": 1,
      "type": "integer"
    },
    "id": {
      "type": "string"
    },
    "mode": {
      "enum": [
        "cooperative",
        "force"
      ],
      "type": "string"
    },
    "reason": {
      "maxLength": 1024,
      "type": "string"
    },
    "session": {
      "type": "string"
    },
    "target_session": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "session",
    "generation",
    "target_session"
  ],
  "type": "object"
}
```

## `task_import`

```json
{
  "additionalProperties": false,
  "properties": {
    "assignee": {
      "type": [
        "string",
        "null"
      ]
    },
    "blocks": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "closed": {
      "type": [
        "string",
        "null"
      ]
    },
    "depends_on": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "due": {
      "type": [
        "string",
        "null"
      ]
    },
    "env": {
      "type": [
        "string",
        "null"
      ]
    },
    "finish_gates": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "goal": {
      "type": [
        "string",
        "null"
      ]
    },
    "id": {
      "type": "string"
    },
    "initiative": {
      "type": [
        "string",
        "null"
      ]
    },
    "lane": {
      "type": [
        "string",
        "null"
      ]
    },
    "modified": {
      "type": [
        "string",
        "null"
      ]
    },
    "owner": {
      "type": [
        "string",
        "null"
      ]
    },
    "parent": {
      "pattern": "[a-z][a-z0-9-]*-[a-z][a-z0-9-]*-\\d{4}-\\d{3,}$",
      "type": [
        "string",
        "null"
      ]
    },
    "planned_for": {
      "type": [
        "string",
        "null"
      ]
    },
    "priority": {
      "enum": [
        "critical",
        "high",
        "normal",
        "low"
      ],
      "type": "string"
    },
    "priority_rank": {
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "project": {
      "type": "string"
    },
    "reporter": {
      "type": [
        "string",
        "null"
      ]
    },
    "session": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "enum": [
        "backlog",
        "active",
        "in-progress",
        "blocked",
        "review",
        "done",
        "cancelled"
      ],
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "workstream": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "project",
    "title"
  ],
  "type": "object"
}
```

## `task_link`

```json
{
  "additionalProperties": false,
  "properties": {
    "claim_context": {
      "additionalProperties": {
        "additionalProperties": false,
        "properties": {
          "generation": {
            "minimum": 1,
            "type": "integer"
          },
          "session_id": {
            "type": "string"
          }
        },
        "required": [
          "session_id",
          "generation"
        ],
        "type": "object"
      },
      "type": "object"
    },
    "id": {
      "type": "string"
    },
    "kind": {
      "enum": [
        "depends_on",
        "finish_gates",
        "blocks"
      ],
      "type": "string"
    },
    "target_id": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "target_id",
    "kind"
  ],
  "type": "object"
}
```

## `task_list`

```json
{
  "additionalProperties": false,
  "properties": {
    "assignee": {
      "type": "string"
    },
    "blocked": {
      "type": "boolean"
    },
    "env": {
      "type": "string"
    },
    "initiative": {
      "type": "string"
    },
    "limit": {
      "maximum": 1000,
      "minimum": 1,
      "type": "integer"
    },
    "owner": {
      "type": "string"
    },
    "parent": {
      "pattern": "[a-z][a-z0-9-]*-[a-z][a-z0-9-]*-\\d{4}-\\d{3,}$",
      "type": "string"
    },
    "planned_for": {
      "type": "string"
    },
    "project": {
      "type": "string"
    },
    "status": {
      "items": {
        "enum": [
          "backlog",
          "active",
          "in-progress",
          "blocked",
          "review",
          "done",
          "cancelled"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "text": {
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
```

## `task_release`

```json
{
  "additionalProperties": false,
  "properties": {
    "generation": {
      "minimum": 1,
      "type": "integer"
    },
    "id": {
      "type": "string"
    },
    "session": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "session",
    "generation"
  ],
  "type": "object"
}
```

## `task_session_close`

```json
{
  "additionalProperties": false,
  "properties": {
    "session_id": {
      "type": "string"
    }
  },
  "required": [
    "session_id"
  ],
  "type": "object"
}
```

## `task_session_heartbeat`

```json
{
  "additionalProperties": false,
  "properties": {
    "session_id": {
      "type": "string"
    }
  },
  "required": [
    "session_id"
  ],
  "type": "object"
}
```

## `task_session_open`

```json
{
  "additionalProperties": false,
  "properties": {
    "client_label": {
      "type": "string"
    },
    "request_id": {
      "type": "string"
    },
    "runtime_id": {
      "type": "string"
    }
  },
  "required": [
    "runtime_id",
    "client_label",
    "request_id"
  ],
  "type": "object"
}
```

## `task_sweep`

```json
{
  "additionalProperties": false,
  "properties": {
    "claim_context": {
      "additionalProperties": {
        "additionalProperties": false,
        "properties": {
          "generation": {
            "minimum": 1,
            "type": "integer"
          },
          "session_id": {
            "type": "string"
          }
        },
        "required": [
          "session_id",
          "generation"
        ],
        "type": "object"
      },
      "type": "object"
    }
  },
  "required": [],
  "type": "object"
}
```

## `task_transition`

```json
{
  "additionalProperties": false,
  "properties": {
    "claim_context": {
      "additionalProperties": {
        "additionalProperties": false,
        "properties": {
          "generation": {
            "minimum": 1,
            "type": "integer"
          },
          "session_id": {
            "type": "string"
          }
        },
        "required": [
          "session_id",
          "generation"
        ],
        "type": "object"
      },
      "type": "object"
    },
    "id": {
      "type": "string"
    },
    "status": {
      "enum": [
        "backlog",
        "active",
        "in-progress",
        "blocked",
        "review",
        "done",
        "cancelled"
      ],
      "type": "string"
    }
  },
  "required": [
    "id",
    "status"
  ],
  "type": "object"
}
```

## `task_update`

```json
{
  "additionalProperties": false,
  "properties": {
    "assignee": {
      "type": [
        "string",
        "null"
      ]
    },
    "blocks": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "body": {
      "type": "string"
    },
    "checklist": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "done": {
            "type": "boolean"
          },
          "text": {
            "maxLength": 200,
            "minLength": 1,
            "pattern": "^\\S(?:[^\\x00-\\x1f\\x7f-\\x9f\\u2028\\u2029]*\\S)?$",
            "type": "string"
          }
        },
        "required": [
          "text",
          "done"
        ],
        "type": "object"
      },
      "maxItems": 50,
      "type": "array"
    },
    "claim_context": {
      "additionalProperties": {
        "additionalProperties": false,
        "properties": {
          "generation": {
            "minimum": 1,
            "type": "integer"
          },
          "session_id": {
            "type": "string"
          }
        },
        "required": [
          "session_id",
          "generation"
        ],
        "type": "object"
      },
      "type": "object"
    },
    "closed": {
      "type": [
        "string",
        "null"
      ]
    },
    "depends_on": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "due": {
      "type": [
        "string",
        "null"
      ]
    },
    "env": {
      "type": [
        "string",
        "null"
      ]
    },
    "expected_checklist": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "done": {
            "type": "boolean"
          },
          "text": {
            "maxLength": 200,
            "minLength": 1,
            "pattern": "^\\S(?:[^\\x00-\\x1f\\x7f-\\x9f\\u2028\\u2029]*\\S)?$",
            "type": "string"
          }
        },
        "required": [
          "text",
          "done"
        ],
        "type": "object"
      },
      "maxItems": 50,
      "type": "array"
    },
    "expected_content": {
      "type": "string"
    },
    "finish_gates": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "goal": {
      "type": [
        "string",
        "null"
      ]
    },
    "id": {
      "type": "string"
    },
    "initiative": {
      "type": [
        "string",
        "null"
      ]
    },
    "lane": {
      "type": [
        "string",
        "null"
      ]
    },
    "modified": {
      "type": [
        "string",
        "null"
      ]
    },
    "owner": {
      "type": [
        "string",
        "null"
      ]
    },
    "parent": {
      "pattern": "[a-z][a-z0-9-]*-[a-z][a-z0-9-]*-\\d{4}-\\d{3,}$",
      "type": [
        "string",
        "null"
      ]
    },
    "planned_for": {
      "type": [
        "string",
        "null"
      ]
    },
    "priority": {
      "enum": [
        "critical",
        "high",
        "normal",
        "low"
      ],
      "type": "string"
    },
    "priority_rank": {
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "project": {
      "type": [
        "string",
        "null"
      ]
    },
    "reporter": {
      "type": [
        "string",
        "null"
      ]
    },
    "session": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "enum": [
        "backlog",
        "active",
        "in-progress",
        "blocked",
        "review",
        "done",
        "cancelled"
      ],
      "type": "string"
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "workstream": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "id"
  ],
  "type": "object"
}
```

## `test_connection`

```json
{
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}
```

## `view_asset`

```json
{
  "additionalProperties": false,
  "properties": {
    "app_id": {
      "type": "string"
    },
    "path": {
      "type": "string"
    }
  },
  "required": [
    "app_id",
    "path"
  ],
  "type": "object"
}
```

## `view_data`

```json
{
  "additionalProperties": false,
  "properties": {
    "app_id": {
      "type": "string"
    },
    "args": {
      "type": "object"
    },
    "op": {
      "enum": [
        "dataset",
        "rows",
        "read",
        "list"
      ]
    }
  },
  "required": [
    "app_id",
    "op",
    "args"
  ],
  "type": "object"
}
```

## `view_dry_run`

```json
{
  "additionalProperties": false,
  "properties": {
    "files": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    }
  },
  "required": [
    "files"
  ],
  "type": "object"
}
```

## `view_list`

```json
{
  "additionalProperties": false,
  "properties": {},
  "required": [],
  "type": "object"
}
```

## `view_resolve`

```json
{
  "additionalProperties": false,
  "properties": {
    "route": {
      "type": "string"
    }
  },
  "required": [
    "route"
  ],
  "type": "object"
}
```
