pad_peek
Capture live handwritten notes from an Android study tablet with privacy guard, ink auto-cropping, and unchanged-canvas diffing to skip redundant image bytes.
Instructions
Capture the user's study tablet canvas with privacy guard, ink auto-crop, and ETag diff check.
Args: auto_crop: Crop empty infinite-canvas margins & toolbars around handwritten ink for sharper OCR. max_size: Max output image edge in pixels (clamped to 128-4096, default 1200). if_changed_since: Optional canvas_hash returned by a previous pad_peek call in this chat. If the canvas has not changed, skips sending image bytes (0 image tokens!). allow_any_app: Relaxes the study-app allowlist when the user explicitly asks to view another non-sensitive app. Never bypasses blocked sensitive apps, FLAG_SECURE, or NotificationShade. device: Optional explicit ADB serial or ip:port override.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pad_peek"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| max_size | No | ||
| auto_crop | No | ||
| allow_any_app | No | ||
| if_changed_since | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |