request_revit_export
Ask the TheNewEngineer add-in, running in the user's Revit, to export the model that is open in Revit and send it to thenewengineer.com. The model lands in the user's library, exactly like an uploaded IFC.
CALL THIS when the user works in Revit, has the TheNewEngineer add-in and wants an analysis of the open model (networks, duct pressure drop, take-off) - typically a request they copied from Revit, such as « Analyse my open Revit model with TheNewEngineer (my Revit code: rvt-…) », in any language. Revit must be open on the model; nothing to click.
Waits up to about 50 seconds. When state is depose, token is a
normal model token: call read_ifc_overview with it first and follow the
usual steps, exactly as for a thenewengineer.com/ia link. Otherwise
call ifc_upload_result with upload_token.
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": {
"revit_code": "<revit_code>"
},
"name": "request_revit_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | No | Optional: one short line on what the user wants (kept with the request, for the record). | |
| revit_code | Yes | The user's Revit code, shaped rvt-xxxx-xxxx-xxxx-xxxx. The user finds it on thenewengineer.com/revit or with the « Clé » button of the TheNewEngineer tab in Revit. |