validate_draft_result
Validates a draft update to a COBie Excel file without altering the original, returning pass/fail status and summary.
Instructions
Validate the workbook state after applying a draft, without modifying the original file.
Applies the draft to a temporary copy, runs COBie validation, and returns status/summary.
Use before commit to block Apply when the result would be invalid. Read-only for the
original workbook; temp file is always deleted.
Args:
excel_path: Path to the COBie Excel file.
structured_update_json: Draft in UpdateRequest shape (instructions array).
actor_contact: Optional; if omitted, a system placeholder is used for stamping.
Returns:
ValidateDraftResult: status (ok|error), summary (total_fail, total_pass, ...),
executed_at, next_actions, optional results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| excel_path | Yes | ||
| actor_contact | No | ||
| structured_update_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||