adopt_org_brief_defaults

Adopt the organization's current brief defaults on a job

All MCP toolsWrite

Move one job's brief onto the organization's current brief defaults (the recheck decision): overrides of rows that no longer exist are dropped, the effective brief is recomposed and linted, and when it really changed a new brief version is minted and the job's candidate judgments are queued for re-judgment — one transaction. When adopting changes nothing effective, only the pin moves. Pass currentVersion from get_job_brief_org_defaults as toVersion. Refuses defaults_moved when the organization's defaults moved again since you read them, or when the job has no brief yet (save one first); job_closed for a filled or closed seat; prohibited_criteria when the recomposed brief would carry a criterion that must not be used (the pin stays) — override or suppress that row for this job, or fix the organization's text.

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 (jobs.id)."
    },
    "toVersion": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "The organization's current defaults version (currentVersion from the read)."
    }
  },
  "required": [
    "jobId",
    "toVersion"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output 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)$"
    },
    "pinnedVersion": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "The version the job's brief now composes with (= toVersion)."
    },
    "briefVersion": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "The job's brief version after adopting (bumped only on a real effective change)."
    },
    "effectiveChanged": {
      "type": "boolean",
      "description": "true when adopting changed the job's effective brief and queued re-judgment."
    }
  },
  "required": [
    "jobId",
    "pinnedVersion",
    "briefVersion",
    "effectiveChanged"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

On this page