Extract a construction plan takeoff
run_takeoffStart a takeoff for an owned project with a plan attached through attach_plan_pdf or uploaded by the user on the project page. Run preflight_takeoff first and obtain the user's approval of the selected trades and credit cost. Set confirmed_trades and max_credits to that approved selection and ceiling; the default ceiling is one credit. Each trade uses one credit from existing plan allowance and purchased credits; the whole job uses three. Published pay-as-you-go prices are $75 per trade and $149 for the whole job. The tool does not purchase credits or bill overage and refuses changed selections or costs. If the balance is insufficient, no takeoff or charge occurs; a no_balance response may include payment.url for the user to complete payment in their Portravo account. Payment is completed by the user on that page, with any required email verification and agreement, and starts the selected project takeoff. Reusing an idempotency_key does not charge twice. Use get_takeoff_status for progress and get_takeoff for source-linked human review. The result is not bid-ready; failed provider runs refund the reservation and existing review work is not overwritten.
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": {
"project_id": "<project_id>",
"confirm_credit_use": "<confirm_credit_use>",
"idempotency_key": "<idempotency_key>"
},
"name": "run_takeoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| max_credits | No | ||
| idempotency_key | Yes | ||
| confirmed_trades | No | ||
| confirm_credit_use | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| lines | Yes | ||
| sheets | Yes | ||
| scopeNotes | Yes |