naftiko: 1.0.0-alpha2 info: label: LangSmith — features description: 'LangSmith — features. 5 operations. Lead operation: List feature configurations. Self-contained Naftiko capability covering one Langsmith business surface.' tags: - Langsmith - features created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LANGSMITH_API_KEY: LANGSMITH_API_KEY capability: consumes: - type: http namespace: langsmith-features baseUri: '' description: LangSmith — features business capability. Self-contained, no shared references. resources: - name: v1-platform-features path: /v1/platform/features operations: - name: get method: GET description: List feature configurations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-platform-features-feature-default-model path: /v1/platform/features/{feature}/default-model operations: - name: put method: PUT description: Set default model for a feature outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: feature in: path type: string description: Feature name required: true - name: body in: body type: object description: Request body (JSON). required: true - name: delete method: DELETE description: Delete default model for a feature outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: feature in: path type: string description: Feature name required: true - name: v1-platform-features-feature-disabled-models path: /v1/platform/features/{feature}/disabled-models operations: - name: put method: PUT description: Disable a model for a feature outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: feature in: path type: string description: Feature name required: true - name: body in: body type: object description: Request body (JSON). required: true - name: v1-platform-features-feature-disabled-models-model path: /v1/platform/features/{feature}/disabled-models/{model} operations: - name: delete method: DELETE description: Re-enable a disabled model for a feature outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: feature in: path type: string description: Feature name required: true - name: model in: path type: string description: Model name (URL-encoded) required: true authentication: type: bearer token: '{{env.LANGSMITH_API_KEY}}' exposes: - type: rest namespace: langsmith-features-rest port: 8080 description: REST adapter for LangSmith — features. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/platform/features name: v1-platform-features description: REST surface for v1-platform-features. operations: - method: GET name: get description: List feature configurations call: langsmith-features.get outputParameters: - type: object mapping: $. - path: /v1/v1/platform/features/{feature}/default-model name: v1-platform-features-feature-default-model description: REST surface for v1-platform-features-feature-default-model. operations: - method: PUT name: put description: Set default model for a feature call: langsmith-features.put with: feature: rest.feature body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Delete default model for a feature call: langsmith-features.delete with: feature: rest.feature outputParameters: - type: object mapping: $. - path: /v1/v1/platform/features/{feature}/disabled-models name: v1-platform-features-feature-disabled-models description: REST surface for v1-platform-features-feature-disabled-models. operations: - method: PUT name: put description: Disable a model for a feature call: langsmith-features.put with: feature: rest.feature body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/platform/features/{feature}/disabled-models/{model} name: v1-platform-features-feature-disabled-models-model description: REST surface for v1-platform-features-feature-disabled-models-model. operations: - method: DELETE name: delete description: Re-enable a disabled model for a feature call: langsmith-features.delete with: feature: rest.feature model: rest.model outputParameters: - type: object mapping: $. - type: mcp namespace: langsmith-features-mcp port: 9090 transport: http description: MCP adapter for LangSmith — features. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-feature-configurations description: List feature configurations hints: readOnly: true destructive: false idempotent: true call: langsmith-features.get outputParameters: - type: object mapping: $. - name: set-default-model-feature description: Set default model for a feature hints: readOnly: false destructive: false idempotent: true call: langsmith-features.put with: feature: tools.feature body: tools.body outputParameters: - type: object mapping: $. - name: delete-default-model-feature description: Delete default model for a feature hints: readOnly: false destructive: true idempotent: true call: langsmith-features.delete with: feature: tools.feature outputParameters: - type: object mapping: $. - name: disable-model-feature description: Disable a model for a feature hints: readOnly: false destructive: false idempotent: true call: langsmith-features.put with: feature: tools.feature body: tools.body outputParameters: - type: object mapping: $. - name: re-enable-disabled-model-feature description: Re-enable a disabled model for a feature hints: readOnly: false destructive: true idempotent: true call: langsmith-features.delete with: feature: tools.feature model: tools.model outputParameters: - type: object mapping: $.