inspect
Read PDF page count, metadata, and per-page facts to verify document structure before extraction, OCR, or citation.
Instructions
Document and media evidence when Markdown is not enough. video_timeline (bounded scene/cue timeline) and render_frame (actual decoded frames), and cite_check (quote/location support, not semantic truth), are anymd Pro; PDF operations: inspect (page facts, metadata), render_page (PNG images), extract_regions (crop bounding boxes), ocr_pages / analyze_regions (configured OCR or vision provider), structure (JSON with document map, elements, geometry; profile quality|research adds trust and accessibility reports), compare (page-level diff of sources[0] vs sources[1]).
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": {
"operation": "<operation>",
"sources": "<sources>"
},
"name": "inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ocr | No | Local OCR engine for ocr_pages: auto, vlm, or tesseract. Omit to use the configured command provider. | |
| scale | No | ||
| profile | No | structure only: fast (default), quality, or research (adds safety, trust, accessibility). | |
| sources | Yes | ||
| timeline | No | video_timeline only (required there): half-open playback window with required end_ms, at most ten minutes and twenty detected-cut scenes. caption only samples one frame per scene through a user-configured local-command adapter. | |
| citations | No | cite_check only: 1–100 quotes with required page and bounding_box; exactly one PDF source. | |
| languages | No | ||
| max_pages | No | ||
| operation | Yes | ||
| timeout_ms | No | ||
| transcript | No | video_timeline only: also attach timed ASR cues from preinstalled local Qwen3-ASR weights. Never downloads models. Default false. | |
| max_regions | No | ||
| sample_pages | No | ||
| include_image | No | ||
| normalization | No | ||
| timestamps_ms | No | render_frame only: playback timestamps in integer milliseconds (at most twenty). Returns decoded frame metadata with the actual decoded timestamp. | |
| include_metadata | No | ||
| max_output_chars | No | ||
| max_pixels_per_page | No | ||
| expected_source_sha256 | No | cite_check and video operations: fail if the admitted source's SHA-256 differs from this hexadecimal value. |