create_pipe
Creates a pipe between two specified points in a Revit MEP model. Supports setting system type, pipe type, level, and diameter, with auto-detection for missing parameters.
Instructions
Create a pipe in the Revit model between two points.
Requires a project with plumbing families loaded (MEP template). All dimensions in millimeters.
Args: start_point: Start point {"x", "y", "z"} in mm end_point: End point {"x", "y", "z"} in mm system_type: System type name (e.g., "Domestic Hot Water"). Auto-detects if omitted pipe_type: Pipe type name (e.g., "Copper"). Auto-detects if omitted level_name: Level name. Defaults to nearest level diameter: Pipe diameter in mm ctx: MCP context for logging
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": {
"start_point": "<start_point>",
"end_point": "<end_point>"
},
"name": "create_pipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_point | Yes | ||
| end_point | Yes | ||
| system_type | No | ||
| pipe_type | No | ||
| level_name | No | ||
| diameter | No |