clean_scan
Straighten skewed scans or photos, convert them to black and white, save the result as a new PNG, and return the removed angle.
Instructions
Straighten a scan or photo and make it black and white. Saves a new PNG and returns the angle that was removed.
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": {
"path": "<path>"
},
"name": "clean_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| output | No |