add_partof_facet
Add part-of relationships to buildingSMART IDS specifications, defining how entities relate to parent components with configurable cardinality and location settings.
Instructions
Add a partOf facet to a specification.
Args: spec_id: Specification identifier location: "applicability" or "requirements" relation: Relationship type (e.g., "IFCRELCONTAINEDINSPATIALSTRUCTURE") parent_entity: Parent entity name (e.g., "IFCSPACE") ctx: FastMCP Context (auto-injected) parent_predefined_type: Optional predefined type for parent cardinality: "required", "optional", or "prohibited"
Returns: {"status": "added", "facet_type": "partof", "spec_id": "S1"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_id | Yes | ||
| location | Yes | ||
| relation | Yes | ||
| parent_entity | Yes | ||
| parent_predefined_type | No | ||
| cardinality | No | required |