set_scale
Set a drawing sheet’s scale from its printed scale note or a known dimension so takeoff quantities measure correctly; optionally confirm an agent-verified scale.
Instructions
Set a sheet's scale from the printed scale note you can SEE on the sheet image (get_sheet_image), as a standard label, e.g. '1/8" = 1'-0"'. Quantities measure at it at once, marked as yours until the person confirms it with one click; a scale the person confirmed is kept. confirm:true confirms it yourself (after you checked it against a dimension on the sheet): the scale then counts as confirmed — send_takeoff_to_estimate and the exports accept it — and the canvas and the audit trail record it as the AGENT's confirmation (actor agent, via mcp/agent), never a person's; the person can change it any time. A sheet that is not a page of the project's documents is refused (404); a confirmation that contradicts the scale printed on the sheet is refused naming it, unless override:true. Free on your own subscription; an automatic read of the printed scale is the Plan Indexer, this is not. Give the sheet and exactly ONE of label, upp, calibrate or use_detected. confirm:true confirms it as yours (there is no separate confirm tool); a confirmation the sheet's printed scale contradicts is refused naming the printed scale, unless you measured a printed dimension that proves a reduced print and pass override:true. Also takes the open-source OpenTakeoff server's arguments (sheet, upp, calibrate, use_detected): sheet keys or numbers, image px at render scale 2, finish tags.
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": {
"sheet": "<sheet>"
},
"name": "set_scale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upp | No | Real feet per image px at render scale 2.0 | |
| label | No | a standard scale label exactly as printed, e.g. 1/8" = 1'-0", 1/4" = 1'-0", 1" = 20' | |
| sheet | Yes | A sheet key ("plan.pdf#2") or sheet number ("A-101"); sheet_id is accepted in its place. | |
| confirm | No | true: you confirm the scale too, recorded as the agent's confirmation (a scale a person confirmed is never replaced); default false leaves it for the person's one click | |
| override | No | with confirm:true only: confirm a scale that contradicts the scale printed on the sheet (refused otherwise, naming it), after a printed dimension showed the print is reduced | |
| sheet_id | No | sheet key "file.pdf#page" (same as sheet; give one) | |
| calibrate | No | Two points (image px) a known real distance apart, and that distance in feet | |
| project_id | No | The project to work on (list_projects names them). Optional for the open-source arguments: the project the last call named (load_plan makes one) is used. | |
| use_detected | No | true = adopt the sheet's detected scale |