# Assign reviewed workflow default

`application_definitions.assign_workflow`

Replace the workspace's workflow default. Establish intent and explain which workflow's future applications change. First call assignment_review and pass its exact assignment_kind and review_digest. The definition must be published. This affects future applications that use the default, not existing applications or explicit channel/package overrides.

[Application definitions guide](https://docs.levr.ai/mcp/resources/application_definitions.md)

Availability depends on live discovery and your access to the record. Do not infer MCP calls from REST paths.

Operation: write. Required OAuth scopes: mcp.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "assignment_kind": {
      "enum": [
        "BUSINESS_INTAKE",
        "DEAL_INTAKE",
        "MATCHMAKING"
      ],
      "type": "string"
    },
    "client_request_id": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "definition_slug": {
      "description": "Application form definition returned by application_definitions.list. Prefix: appdef_.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "provider_slug": {
      "description": "Provider that owns the application form definition. Copy provider_slug from providers.list; named slugs are valid.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "review_digest": {
      "description": "Copy review_digest from application_definitions.assignment_review; not the document content digest.",
      "pattern": "^[0-9a-f]{64}$",
      "type": "string"
    },
    "user_confirmed": {
      "const": true,
      "type": "boolean"
    }
  },
  "required": [
    "provider_slug",
    "definition_slug",
    "assignment_kind",
    "review_digest",
    "client_request_id",
    "user_confirmed"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "required": [
          "error"
        ]
      },
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "data"
      ]
    },
    {
      "not": {
        "required": [
          "data"
        ]
      },
      "properties": {
        "ok": {
          "const": false
        }
      },
      "required": [
        "error"
      ]
    }
  ],
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "assignment_kind": {
          "enum": [
            "BUSINESS_INTAKE",
            "DEAL_INTAKE",
            "MATCHMAKING"
          ],
          "type": "string"
        },
        "current_definition_slug": {
          "anyOf": [
            {
              "description": "Stable public identifier for the referenced resource.",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "Stable public identifier for the referenced resource."
        },
        "definition_name": {
          "type": "string"
        },
        "definition_slug": {
          "description": "Stable public identifier for the referenced resource.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "effect": {
          "type": "string"
        },
        "published_version": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "review_digest": {
          "description": "SHA-256 fingerprint of the exact document content.",
          "pattern": "^[0-9a-f]{64}$",
          "type": "string"
        },
        "review_url": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "definition_slug",
        "definition_name",
        "published_version",
        "assignment_kind",
        "current_definition_slug",
        "effect",
        "review_digest",
        "review_url"
      ],
      "type": "object"
    },
    "error": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": true,
          "description": "Optional bounded, agent-safe correction or recovery facts.",
          "type": "object"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "type": "object"
    },
    "ok": {
      "description": "Whether the tool completed successfully.",
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "meta"
  ],
  "type": "object"
}
```

Check the result, then read the affected record to confirm your change.
