add_partof_facet
Adds a partOf facet to buildingSMART IDS specifications to define containment relationships between building elements, ensuring compliance with IDS 1.0 standards.
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"}
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": {
"spec_id": "<spec_id>",
"location": "<location>",
"relation": "<relation>",
"parent_entity": "<parent_entity>"
},
"name": "add_partof_facet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_id | Yes | ||
| location | Yes | ||
| relation | Yes | ||
| parent_entity | Yes | ||
| parent_predefined_type | No | ||
| cardinality | No | required |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||