add_enumeration_restriction
Restrict parameter values to a defined list in IDS specifications to ensure compliance with allowed enumerations for buildingSMART standards.
Instructions
Add enumeration restriction (list of allowed values).
Args: spec_id: Specification identifier or name facet_index: Index of facet in location (0-based) parameter_name: Which parameter to restrict (e.g., "value", "propertySet") base_type: XSD base type (e.g., "xs:string", "xs:integer") values: List of allowed values ctx: FastMCP Context (auto-injected) location: "applicability" or "requirements" (default: "requirements")
Returns: {"status": "added", "restriction_type": "enumeration", "spec_id": "S1"}
Example: Add enumeration to property value: FireRating must be "REI30", "REI60", or "REI90"
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>",
"facet_index": "<facet_index>",
"parameter_name": "<parameter_name>",
"base_type": "<base_type>",
"values": "<values>"
},
"name": "add_enumeration_restriction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_id | Yes | ||
| facet_index | Yes | ||
| parameter_name | Yes | ||
| base_type | Yes | ||
| values | Yes | ||
| location | No | requirements |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||