add_attribute_facet
Add attribute requirements to buildingSMART IDS specifications to define mandatory, optional, or prohibited properties for compliance validation.
Instructions
Add an attribute facet to a specification.
Args: spec_id: Specification identifier location: "applicability" or "requirements" attribute_name: Attribute name (e.g., "Name", "Description") ctx: FastMCP Context (auto-injected) value: Required value or pattern cardinality: "required", "optional", or "prohibited"
Returns: {"status": "added", "facet_type": "attribute", "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>",
"attribute_name": "<attribute_name>"
},
"name": "add_attribute_facet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_id | Yes | ||
| location | Yes | ||
| attribute_name | Yes | ||
| value | No | ||
| cardinality | No | required |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||