# Review imported form JSON

`client_intake_application_editor.validate_config_file`

Review a host-provided UTF-8 JSON form config, up to 1 MiB, without saving. Read get_config_schema and get_config first, then supply the exact filename, byte size, SHA-256 digest and current revisions. Review findings and stored-answer impact before replace_from_config_file with the returned private validation_token. No publication or notifications occur. If file input is unavailable, use prepare_config_validation or the existing application editor. This toolset requires a specific grant and is not assigned by default; request access through Support.

[Client intake application editor guide](https://docs.levr.ai/mcp/resources/client_intake_application_editor.md)

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

Operation: read. Required OAuth scopes: mcp.

## Provider portal input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "business_id": {
      "description": "Exact Business id from businesses.list or businesses.get in the selected provider workspace; do not pass an application or runtime ID.",
      "maxLength": 32,
      "minLength": 1,
      "pattern": "^biz_[a-z0-9]+$",
      "type": "string"
    },
    "content_sha256": {
      "description": "SHA-256 fingerprint of the exact document content.",
      "pattern": "^[0-9a-f]{64}$",
      "type": "string"
    },
    "expected_draft_revision": {
      "description": "Copy draft_revision from the same current action review.",
      "pattern": "^[0-9a-f]{64}$",
      "type": "string"
    },
    "expected_live_revision": {
      "description": "Copy live_revision from the current action review.",
      "pattern": "^[0-9a-f]{64}$",
      "type": "string"
    },
    "file": {
      "additionalProperties": false,
      "properties": {
        "download_url": {
          "description": "Temporary HTTPS file download URL supplied by the assistant host; keep it private.",
          "format": "uri",
          "maxLength": 8192,
          "minLength": 1,
          "type": "string"
        },
        "file_id": {
          "description": "Opaque file reference supplied by the host, not an application answer-file id.",
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        },
        "file_name": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "mime_type": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "download_url",
        "file_id"
      ],
      "type": "object"
    },
    "filename": {
      "maxLength": 255,
      "minLength": 1,
      "pattern": "\\.json$",
      "type": "string"
    },
    "provider_slug": {
      "description": "Provider workspace returned by providers.list.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "size_bytes": {
      "maximum": 1048576,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "provider_slug",
    "business_id",
    "filename",
    "content_sha256",
    "size_bytes",
    "expected_live_revision",
    "expected_draft_revision",
    "file"
  ],
  "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": {
        "config_digest": {
          "anyOf": [
            {
              "description": "SHA-256 fingerprint of the exact document content.",
              "pattern": "^[0-9a-f]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "SHA-256 fingerprint of the exact document content."
        },
        "draft_revision": {
          "anyOf": [
            {
              "description": "SHA-256 fingerprint of the exact document content.",
              "pattern": "^[0-9a-f]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "SHA-256 fingerprint of the exact document content."
        },
        "finding_count": {
          "minimum": 0,
          "type": "integer"
        },
        "findings": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "code",
              "message"
            ],
            "type": "object"
          },
          "maxItems": 100,
          "type": "array"
        },
        "findings_truncated": {
          "type": "boolean"
        },
        "impact": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "affected_file_count": {
                  "minimum": 0,
                  "type": "integer"
                },
                "affected_response_count": {
                  "minimum": 0,
                  "type": "integer"
                },
                "blockers": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "block_key": {
                        "maxLength": 255,
                        "type": "string"
                      },
                      "code": {
                        "maxLength": 100,
                        "type": "string"
                      },
                      "file_count": {
                        "minimum": 0,
                        "type": "integer"
                      },
                      "message": {
                        "maxLength": 1000,
                        "type": "string"
                      },
                      "response_count": {
                        "minimum": 0,
                        "type": "integer"
                      }
                    },
                    "required": [
                      "code",
                      "block_key",
                      "message",
                      "response_count",
                      "file_count"
                    ],
                    "type": "object"
                  },
                  "maxItems": 100,
                  "type": "array"
                },
                "destructive": {
                  "type": "boolean"
                },
                "findings": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "block_key": {
                        "maxLength": 255,
                        "type": "string"
                      },
                      "code": {
                        "maxLength": 100,
                        "type": "string"
                      },
                      "file_count": {
                        "minimum": 0,
                        "type": "integer"
                      },
                      "message": {
                        "maxLength": 1000,
                        "type": "string"
                      },
                      "response_count": {
                        "minimum": 0,
                        "type": "integer"
                      }
                    },
                    "required": [
                      "code",
                      "block_key",
                      "message",
                      "response_count",
                      "file_count"
                    ],
                    "type": "object"
                  },
                  "maxItems": 100,
                  "type": "array"
                },
                "findings_truncated": {
                  "type": "boolean"
                },
                "has_blockers": {
                  "type": "boolean"
                }
              },
              "required": [
                "destructive",
                "has_blockers",
                "blockers",
                "findings",
                "affected_response_count",
                "affected_file_count",
                "findings_truncated"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "live_revision": {
          "description": "SHA-256 fingerprint of the exact document content.",
          "pattern": "^[0-9a-f]{64}$",
          "type": "string"
        },
        "review_digest": {
          "anyOf": [
            {
              "description": "SHA-256 fingerprint of the exact document content.",
              "pattern": "^[0-9a-f]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "SHA-256 fingerprint of the exact document content."
        },
        "valid": {
          "type": "boolean"
        },
        "validation_token": {
          "anyOf": [
            {
              "maxLength": 100000,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "valid",
        "findings",
        "finding_count",
        "findings_truncated",
        "live_revision",
        "draft_revision",
        "impact",
        "review_digest",
        "config_digest",
        "validation_token"
      ],
      "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"
}
```
