hpe_inspect_virtual_grid
Generate a temporary Excel-style grid overlay with Set-of-Marks slot badges to visually inspect PDF form fields and map detected answer slots without altering the original.
Instructions
Generate a temporary Virtual Excel Grid Inspector Image with Set-of-Marks (SoM) slot badges. This image overlays:
Top Excel column letters (A, B, C...)
Left Excel row numbers (1, 2, 3...)
Labeled slot pill badges: [S01], [S02], [S03]... on every detected blank, underline, or box. Returns JSON containing:
inspector_image_path: Path to the image (view it via view_file to visually inspect the layout!)
slots: Catalog of detected slots with tag, type, baseline, and Excel grid address (e.g. Col K, Row 9). NOTE: This is strictly a virtual guide for the agent's eyes; it does NOT alter the PDF!
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": {
"pdf_path": "<pdf_path>",
"page_number": "<page_number>"
},
"name": "hpe_inspect_virtual_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| pdf_path | Yes | ||
| page_number | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |