sketch_to_floorplan
Convert a hand-drawn floor plan sketch or blueprint photo (base64 PNG/JPEG/WebP, max 8 MB) into a structured PlumbDraft FloorPlan JSON. Requires Bearer API key (pd_live_...).
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": {
"imageBase64": "<imageBase64>"
},
"name": "sketch_to_floorplan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional project name. | |
| mimeType | No | Image MIME type (image/png, image/jpeg, image/webp). | |
| imageBase64 | Yes | Base64-encoded image or data URL (max 8 MB). | |
| knownWidthFt | No | Optional known overall width in feet for scale calibration. |