naftiko: 1.0.0-alpha2 info: label: Microsoft Azure SearchServiceClient — Indexes description: 'Microsoft Azure SearchServiceClient — Indexes. 7 operations. Lead operation: Microsoft Azure Post Indexes. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - Indexes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY capability: consumes: - type: http namespace: searchserviceclient-indexes baseUri: '' description: Microsoft Azure SearchServiceClient — Indexes business capability. Self-contained, no shared references. resources: - name: indexes path: /indexes operations: - name: microsoftazureindexescreate method: POST description: Microsoft Azure Post Indexes outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: index in: body type: string description: The definition of the index to create. required: true - name: microsoftazureindexeslist method: GET description: Microsoft Azure Get Indexes outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: string description: 'Selects which top-level properties of the index definitions to retrieve. Specified as a comma-separated list of JSON property names, or ''*'' for all properties. ' - name: indexes('{indexName}') path: /indexes('{indexName}') operations: - name: microsoftazureindexescreateorupdate method: PUT description: Microsoft Azure Put Indexes Indexname outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: indexName in: path type: string description: The definition of the index to create or update. required: true - name: index in: body type: string description: The definition of the index to create or update. required: true - name: allowIndexDowntime in: query type: boolean description: Allows new analyzers, tokenizers, token filters, or char filters to be added to an index by taking the index offline for at least a few seconds. This temporaril - name: microsoftazureindexesdelete method: DELETE description: Microsoft Azure Delete Indexes Indexname outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: indexName in: path type: string description: The name of the index to delete. required: true - name: microsoftazureindexesget method: GET description: Microsoft Azure Get Indexes Indexname outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: indexName in: path type: string description: The name of the index to retrieve. required: true - name: indexes('{indexName}')-search.analyze path: /indexes('{indexName}')/search.analyze operations: - name: microsoftazureindexesanalyze method: POST description: Microsoft Azure Post Indexes Indexname Search Analyze outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: indexName in: path type: string description: The name of the index for which to test an analyzer. required: true - name: request in: body type: string description: The text and analyzer or analysis components to test. required: true - name: indexes('{indexName}')-search.stats path: /indexes('{indexName}')/search.stats operations: - name: microsoftazureindexesgetstatistics method: GET description: Microsoft Azure Get Indexes Indexname Search Stats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: indexName in: path type: string description: The name of the index for which to retrieve statistics. required: true exposes: - type: rest namespace: searchserviceclient-indexes-rest port: 8080 description: REST adapter for Microsoft Azure SearchServiceClient — Indexes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/indexes name: indexes description: REST surface for indexes. operations: - method: POST name: microsoftazureindexescreate description: Microsoft Azure Post Indexes call: searchserviceclient-indexes.microsoftazureindexescreate with: index: rest.index outputParameters: - type: object mapping: $. - method: GET name: microsoftazureindexeslist description: Microsoft Azure Get Indexes call: searchserviceclient-indexes.microsoftazureindexeslist with: $select: rest.$select outputParameters: - type: object mapping: $. - path: /v1/indexes-indexname name: indexes-indexname description: REST surface for indexes('{indexName}'). operations: - method: PUT name: microsoftazureindexescreateorupdate description: Microsoft Azure Put Indexes Indexname call: searchserviceclient-indexes.microsoftazureindexescreateorupdate with: indexName: rest.indexName index: rest.index allowIndexDowntime: rest.allowIndexDowntime outputParameters: - type: object mapping: $. - method: DELETE name: microsoftazureindexesdelete description: Microsoft Azure Delete Indexes Indexname call: searchserviceclient-indexes.microsoftazureindexesdelete with: indexName: rest.indexName outputParameters: - type: object mapping: $. - method: GET name: microsoftazureindexesget description: Microsoft Azure Get Indexes Indexname call: searchserviceclient-indexes.microsoftazureindexesget with: indexName: rest.indexName outputParameters: - type: object mapping: $. - path: /v1/indexes-indexname/search-analyze name: indexes-indexname-search-analyze description: REST surface for indexes('{indexName}')-search.analyze. operations: - method: POST name: microsoftazureindexesanalyze description: Microsoft Azure Post Indexes Indexname Search Analyze call: searchserviceclient-indexes.microsoftazureindexesanalyze with: indexName: rest.indexName request: rest.request outputParameters: - type: object mapping: $. - path: /v1/indexes-indexname/search-stats name: indexes-indexname-search-stats description: REST surface for indexes('{indexName}')-search.stats. operations: - method: GET name: microsoftazureindexesgetstatistics description: Microsoft Azure Get Indexes Indexname Search Stats call: searchserviceclient-indexes.microsoftazureindexesgetstatistics with: indexName: rest.indexName outputParameters: - type: object mapping: $. - type: mcp namespace: searchserviceclient-indexes-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure SearchServiceClient — Indexes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-post-indexes description: Microsoft Azure Post Indexes hints: readOnly: false destructive: false idempotent: false call: searchserviceclient-indexes.microsoftazureindexescreate with: index: tools.index outputParameters: - type: object mapping: $. - name: microsoft-azure-get-indexes description: Microsoft Azure Get Indexes hints: readOnly: true destructive: false idempotent: true call: searchserviceclient-indexes.microsoftazureindexeslist with: $select: tools.$select outputParameters: - type: object mapping: $. - name: microsoft-azure-put-indexes-indexname description: Microsoft Azure Put Indexes Indexname hints: readOnly: false destructive: false idempotent: true call: searchserviceclient-indexes.microsoftazureindexescreateorupdate with: indexName: tools.indexName index: tools.index allowIndexDowntime: tools.allowIndexDowntime outputParameters: - type: object mapping: $. - name: microsoft-azure-delete-indexes-indexname description: Microsoft Azure Delete Indexes Indexname hints: readOnly: false destructive: true idempotent: true call: searchserviceclient-indexes.microsoftazureindexesdelete with: indexName: tools.indexName outputParameters: - type: object mapping: $. - name: microsoft-azure-get-indexes-indexname description: Microsoft Azure Get Indexes Indexname hints: readOnly: true destructive: false idempotent: true call: searchserviceclient-indexes.microsoftazureindexesget with: indexName: tools.indexName outputParameters: - type: object mapping: $. - name: microsoft-azure-post-indexes-indexname description: Microsoft Azure Post Indexes Indexname Search Analyze hints: readOnly: true destructive: false idempotent: false call: searchserviceclient-indexes.microsoftazureindexesanalyze with: indexName: tools.indexName request: tools.request outputParameters: - type: object mapping: $. - name: microsoft-azure-get-indexes-indexname-2 description: Microsoft Azure Get Indexes Indexname Search Stats hints: readOnly: true destructive: false idempotent: true call: searchserviceclient-indexes.microsoftazureindexesgetstatistics with: indexName: tools.indexName outputParameters: - type: object mapping: $.