add_classification_facet
Add classification facets to building specifications to categorize and organize requirements by classification systems and codes.
Instructions
Add a classification facet to a specification.
Args: spec_id: Specification identifier location: "applicability" or "requirements" classification_value: Classification code or pattern ctx: FastMCP Context (auto-injected) classification_system: Classification system name or URI cardinality: "required", "optional", or "prohibited"
Returns: {"status": "added", "facet_type": "classification", "spec_id": "S1"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_id | Yes | ||
| location | Yes | ||
| classification_value | Yes | ||
| classification_system | No | ||
| cardinality | No | required |
Input Schema (JSON Schema)
{
"properties": {
"cardinality": {
"default": "required",
"type": "string"
},
"classification_system": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"classification_value": {
"type": "string"
},
"location": {
"type": "string"
},
"spec_id": {
"type": "string"
}
},
"required": [
"spec_id",
"location",
"classification_value"
],
"type": "object"
}