save_family_from_element
Save an element's type as a reusable custom family for every project in the workspace, linking instances later. Placement, joins, identity and evidence stay with the element.
Instructions
Save an existing element's type to the library as a custom family, for reuse in every project of the workspace. Placement (host, offset, sill, origin, path), joins (trims, caps, outlets), identity and evidence stay behind. With extends (a preset or custom family of the same kind) only the values that differ from it are stored. Updating an existing family needs its expected_revision. The project itself is not changed: link the element and its twins with link_family_instances.
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>",
"element_id": "<element_id>",
"family_id": "<family_id>",
"name": "<name>"
},
"name": "save_family_from_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tags | No | ||
| extends | No | ||
| family_id | Yes | ||
| element_id | Yes | ||
| project_id | Yes | ||
| description | No | ||
| expected_revision | No |