office_audit
Audit Office documents for unfilled placeholders, completion issues, pending track changes, formatting problems, empty Excel cells, incorrect totals, and invalid date formats.
Instructions
Audit documents for completeness, placeholders, and issues.
Replaces: excel_audit_placeholders, word_audit_completion, word_audit_sow, pptx_audit_placeholders
Examples: # Check for unfilled placeholders office_audit(file_path="contract.docx", checks=["placeholders"])
# Full completion audit
office_audit(file_path="sow.docx", checks=["completion"])
# Check Excel for placeholders
office_audit(file_path="estimate.xlsx", checks=["placeholders"])
# Multiple checks
office_audit(
file_path="document.docx",
checks=["placeholders", "tracking"]
)Args: file_path: Path to the document checks: List of checks to perform: - "placeholders": Find unfilled <...>, [...], [TBD] patterns - "completion": Full completion audit (Word SOW) - "tracking": Check for pending track changes - "formatting": Check for formatting issues - "empty_cells": Check required Excel cells for empty values - "totals": Verify Excel totals based on configured ranges - "dates": Validate Excel date formats (MM/DD/YYYY) audit_config: Optional configuration for Excel checks: - required_cells: list of cell refs to check for empty values - date_cells: list of cell refs to validate as MM/DD/YYYY - totals: list of dicts with sum_range, target, and optional tolerance
Returns: Dictionary with audit findings
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the document | |
| checks | No | List of checks to perform audit_config: Optional configuration for Excel checks: | |
| audit_config | No |