naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Purview Metadata Policies Service REST API Document — MetadataPolicy description: 'Microsoft Azure Purview Metadata Policies Service REST API Document — MetadataPolicy. 3 operations. Lead operation: Microsoft Azure Get Metadatapolicies. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - MetadataPolicy 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: purview-metadata-policies-service-rest-api-document-metadatapolicy baseUri: '' description: Microsoft Azure Purview Metadata Policies Service REST API Document — MetadataPolicy business capability. Self-contained, no shared references. resources: - name: metadataPolicies path: /metadataPolicies operations: - name: microsoftazuremetadatapolicylistall method: GET description: Microsoft Azure Get Metadatapolicies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: collectionName in: query type: string description: The name of an existing collection for which one policy needs to be fetched. - name: metadataPolicies-policyId path: /metadataPolicies/{policyId} operations: - name: microsoftazuremetadatapolicyupdate method: PUT description: Microsoft Azure Put Metadatapolicies Policyid outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: policyId in: path type: string description: Unique policy id. required: true - name: body in: body type: string description: Policy to be updated. - name: microsoftazuremetadatapolicyget method: GET description: Microsoft Azure Get Metadatapolicies Policyid outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: policyId in: path type: string description: Id of an existing policy that needs to be fetched. required: true exposes: - type: rest namespace: purview-metadata-policies-service-rest-api-document-metadatapolicy-rest port: 8080 description: REST adapter for Microsoft Azure Purview Metadata Policies Service REST API Document — MetadataPolicy. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/metadatapolicies name: metadatapolicies description: REST surface for metadataPolicies. operations: - method: GET name: microsoftazuremetadatapolicylistall description: Microsoft Azure Get Metadatapolicies call: purview-metadata-policies-service-rest-api-document-metadatapolicy.microsoftazuremetadatapolicylistall with: collectionName: rest.collectionName outputParameters: - type: object mapping: $. - path: /v1/metadatapolicies/{policyid} name: metadatapolicies-policyid description: REST surface for metadataPolicies-policyId. operations: - method: PUT name: microsoftazuremetadatapolicyupdate description: Microsoft Azure Put Metadatapolicies Policyid call: purview-metadata-policies-service-rest-api-document-metadatapolicy.microsoftazuremetadatapolicyupdate with: policyId: rest.policyId body: rest.body outputParameters: - type: object mapping: $. - method: GET name: microsoftazuremetadatapolicyget description: Microsoft Azure Get Metadatapolicies Policyid call: purview-metadata-policies-service-rest-api-document-metadatapolicy.microsoftazuremetadatapolicyget with: policyId: rest.policyId outputParameters: - type: object mapping: $. - type: mcp namespace: purview-metadata-policies-service-rest-api-document-metadatapolicy-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Purview Metadata Policies Service REST API Document — MetadataPolicy. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-get-metadatapolicies description: Microsoft Azure Get Metadatapolicies hints: readOnly: true destructive: false idempotent: true call: purview-metadata-policies-service-rest-api-document-metadatapolicy.microsoftazuremetadatapolicylistall with: collectionName: tools.collectionName outputParameters: - type: object mapping: $. - name: microsoft-azure-put-metadatapolicies-policyid description: Microsoft Azure Put Metadatapolicies Policyid hints: readOnly: false destructive: false idempotent: true call: purview-metadata-policies-service-rest-api-document-metadatapolicy.microsoftazuremetadatapolicyupdate with: policyId: tools.policyId body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-get-metadatapolicies-policyid description: Microsoft Azure Get Metadatapolicies Policyid hints: readOnly: true destructive: false idempotent: true call: purview-metadata-policies-service-rest-api-document-metadatapolicy.microsoftazuremetadatapolicyget with: policyId: tools.policyId outputParameters: - type: object mapping: $.