Docs
HiringRead-only annotation

Get Pipeline Definition

get_pipeline_definition

Read this job's versioned stage labels and allowed transitions. Stable IDs preserve existing applications; labels are private hiring configuration.

Source-catalog reference. Discover the live server’s tools before calling. An annotation does not replace authorization or exact review requirements.

Parameters

NameContract
job_id
Required
string

Exact input schema

Expand JSON Schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "job_id": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
    }
  },
  "required": [
    "job_id"
  ],
  "additionalProperties": false
}

Output schema

Expand output contract
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "job_id": {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]{1,100}$"
        },
        "stages": {
          "minItems": 6,
          "maxItems": 6,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "enum": [
                  "received",
                  "reviewing",
                  "interview",
                  "offer",
                  "declined",
                  "hired"
                ]
              },
              "label": {
                "type": "string",
                "minLength": 1,
                "maxLength": 60
              },
              "allowed_next": {
                "maxItems": 6,
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "received",
                    "reviewing",
                    "interview",
                    "offer",
                    "declined",
                    "hired"
                  ]
                }
              }
            },
            "required": [
              "id",
              "label",
              "allowed_next"
            ],
            "additionalProperties": false
          }
        },
        "version": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "can_configure": {
          "type": "boolean"
        },
        "compatibility": {
          "type": "string"
        }
      },
      "required": [
        "job_id",
        "stages",
        "version",
        "can_configure",
        "compatibility"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}

Tool annotations

{
  "readOnlyHint": true,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false
}

← All hiring tools · Review and receipts