scan_px_to_mm
Convert pixel coordinates on a calibrated scanned page into real-world millimeter measurements, or reverse millimeters back to pixels, for accurate CAD scaling.
Instructions
Convert pixel positions on a calibrated page to real mm (and back with mm_points).
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": {
"scan_id": "<scan_id>"
},
"name": "scan_px_to_mm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| scan_id | Yes | ||
| mm_points | No | ||
| px_points | No |