HiringMay change state

# Deliver Ats Export

`deliver_ats_export`

Deliver only an applicant-consented and recruiter-approved packet. Rechecks source authority; durable checkpoints and a per-application destination guard prevent blind duplicate retries. Unknown writes trigger read-only reconciliation. Never treat approval, timeout or partial delivery as confirmation.

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

## Parameters

| Name | Contract |
| --- | --- |
| `id` Required | string |

## Exact input schema

Expand JSON Schema

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

## Output schema

Expand output contract

```
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]{1,100}$"
        },
        "version": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "state": {
          "type": "string",
          "enum": [
            "prepared",
            "consented",
            "approved",
            "delivering",
            "confirmed",
            "partial",
            "failed",
            "outcome_unknown",
            "cancelled"
          ]
        },
        "application_id": {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]{1,100}$"
        },
        "job_id": {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]{1,100}$"
        },
        "destination": {
          "type": "object",
          "properties": {
            "provider": {
              "type": "string",
              "const": "greenhouse"
            },
            "account": {
              "type": "string"
            },
            "job": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "number"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name"
              ],
              "additionalProperties": {}
            }
          },
          "required": [
            "provider",
            "account",
            "job"
          ],
          "additionalProperties": false
        },
        "payload": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "first_name": {
                  "type": "string"
                },
                "last_name": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "document": {
                  "type": "string"
                },
                "filename": {
                  "type": "string"
                },
                "tag": {
                  "type": "string"
                },
                "existing_candidate_id": {
                  "type": "number"
                }
              },
              "required": [
                "first_name",
                "last_name",
                "email",
                "document",
                "filename",
                "tag"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "materials_sha256": {
          "type": "string"
        },
        "available": {
          "type": "boolean"
        },
        "applicant_approved": {
          "type": "boolean"
        },
        "recruiter_approved": {
          "type": "boolean"
        },
        "candidate_id": {
          "type": [
            "number",
            "null"
          ]
        },
        "external_application_id": {
          "type": [
            "number",
            "null"
          ]
        },
        "attachment_id": {
          "type": [
            "number",
            "null"
          ]
        },
        "error": {
          "type": [
            "string",
            "null"
          ]
        },
        "confirmed_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "notice": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "version",
        "state",
        "application_id",
        "job_id",
        "destination",
        "payload",
        "materials_sha256",
        "available",
        "applicant_approved",
        "recruiter_approved",
        "candidate_id",
        "external_application_id",
        "attachment_id",
        "error",
        "confirmed_at",
        "notice"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}
```

## Tool annotations

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

[← All hiring tools](/docs/tools?role=recruiter) · [Review and receipts](/docs/review)
