maket_reader
Read a Maket reader-view page without image data, fetch its image downscaled to displayed width, or write a state document value.
Instructions
Calls of the Maket reader view (ui://maket/page): page returns one rendered page without image data, image returns one of its images downscaled to the displayed width, write sets one value of a state document as the Maket form does. Not for agents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | For write: patch op. | |
| doc | Yes | Document name. | |
| file | No | For image: the asset file, one of the page's images. | |
| page | No | For page and image: 1-based page number. | |
| path | No | For write: JSON Pointer of the value. | |
| value | No | For write: the new value. | |
| width | No | For image: displayed width in device pixels. | |
| action | Yes | page, image or write. | |
| expectedRevision | No | For write: the state revision the value was edited from. |