Parsing Workflow
- Run
document_parse_nativewith the exact granted identifiers. - If and only if
privacyPolicyisexternal_vlm_allowedand the format is PDF, rundocument_analyze_visualsfor every page with the exact granted identifiers and policy. Never sendlocal_onlycontent to the VLM. - Run
document_validate_artifactfor the same file version. - Run
document_read_contentand answer the caller's question from that content. Usedocument_read_artifactonly when validation issues or the caller's requested outputs require block/table inspection. - Treat remaining warnings as real capability gaps. VLM OCR is probabilistic evidence and does not replace native evidence when native text exists.
- Return a grounded summary together with the artifact identity, measured counts, validation result, warnings, and quality status. Never infer that a missing stage succeeded.