transition_requisition

Transition a job's seat (requisition)

All MCP toolsWrite

Move one job's requisition through its lifecycle — open ⇄ on_hold; open/on_hold → filled or closed; filled/closed → open (reopen). Passes while the job is published; an unpublished job refuses (job_not_published). Pausing or closing makes a new selection record refuse to open immediately (not_accepting); existing candidacies keep transitioning regardless of seat state. An invalid edge refuses naming from and to.

Input schema

{
  "type": "object",
  "properties": {
    "jobId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "The job whose seat to transition (jobs.id)."
    },
    "to": {
      "type": "string",
      "enum": [
        "open",
        "on_hold",
        "filled",
        "closed"
      ],
      "description": "The target seat state."
    }
  },
  "required": [
    "jobId",
    "to"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

{
  "type": "object",
  "properties": {
    "requisition": {
      "type": "object",
      "properties": {
        "jobId": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
          "description": "The job whose seat this is (jobs.id)."
        },
        "state": {
          "type": "string",
          "enum": [
            "open",
            "on_hold",
            "filled",
            "closed"
          ],
          "description": "Requisition state: \"open\" (accepting candidacies), \"on_hold\" (paused), \"filled\" (openings consumed), or \"closed\" (cancelled). filled/closed may reopen — requisitions are mutable current-state, not capture."
        }
      },
      "required": [
        "jobId",
        "state"
      ],
      "additionalProperties": false,
      "description": "One job's requisition (seat) state after a transition."
    }
  },
  "required": [
    "requisition"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

On this page