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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"excel_path": "<excel_path>",
"structured_update_json": "<structured_update_json>"
},
"name": "validate_draft_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| excel_path | Yes | ||
| actor_contact | No | ||
| structured_update_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||