Prepare cited PDF context
prepare_document_contextRead-onlyIdempotent
Rank native-text pages for a question and return a bounded context pack with page, block, and excerpt evidence. No model call or OCR is used.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| query | Yes | ||
| max_chars | No | ||
| capability | Yes | ||
| document_id | Yes |