naftiko: 1.0.0-alpha2 info: label: Azure Log Analytics Management API — Saved Searches description: 'Azure Log Analytics Management API — Saved Searches. 4 operations. Lead operation: Azure Log Analytics List Saved Searches. Self-contained Naftiko capability covering one Azure Log Analytics business surface.' tags: - Azure Log Analytics - Saved Searches created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AZURE_LOG_ANALYTICS_API_KEY: AZURE_LOG_ANALYTICS_API_KEY capability: consumes: - type: http namespace: management-saved-searches baseUri: https://management.azure.com description: Azure Log Analytics Management API — Saved Searches business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-resourcegroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches operations: - name: listsavedsearches method: GET description: Azure Log Analytics List Saved Searches outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourcegroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches/{savedSearchId} operations: - name: getsavedsearch method: GET description: Azure Log Analytics Get Saved Search outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: savedSearchId in: path type: string description: The ID of the saved search. required: true - name: createorupdatesavedsearch method: PUT description: Azure Log Analytics Create or Update Saved Search outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: savedSearchId in: path type: string description: The ID of the saved search. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletesavedsearch method: DELETE description: Azure Log Analytics Delete Saved Search outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: savedSearchId in: path type: string description: The ID of the saved search. required: true authentication: type: bearer token: '{{env.AZURE_LOG_ANALYTICS_API_KEY}}' exposes: - type: rest namespace: management-saved-searches-rest port: 8080 description: REST adapter for Azure Log Analytics Management API — Saved Searches. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-operationalinsights/workspaces/{workspacename}/savedsearches name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourcegroups-resourceGroupName-providers-Microsof. operations: - method: GET name: listsavedsearches description: Azure Log Analytics List Saved Searches call: management-saved-searches.listsavedsearches outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-operationalinsights/workspaces/{workspacename}/savedsearches/{savedsearchid} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourcegroups-resourceGroupName-providers-Microsof. operations: - method: GET name: getsavedsearch description: Azure Log Analytics Get Saved Search call: management-saved-searches.getsavedsearch with: savedSearchId: rest.savedSearchId outputParameters: - type: object mapping: $. - method: PUT name: createorupdatesavedsearch description: Azure Log Analytics Create or Update Saved Search call: management-saved-searches.createorupdatesavedsearch with: savedSearchId: rest.savedSearchId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesavedsearch description: Azure Log Analytics Delete Saved Search call: management-saved-searches.deletesavedsearch with: savedSearchId: rest.savedSearchId outputParameters: - type: object mapping: $. - type: mcp namespace: management-saved-searches-mcp port: 9090 transport: http description: MCP adapter for Azure Log Analytics Management API — Saved Searches. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: azure-log-analytics-list-saved description: Azure Log Analytics List Saved Searches hints: readOnly: true destructive: false idempotent: true call: management-saved-searches.listsavedsearches outputParameters: - type: object mapping: $. - name: azure-log-analytics-get-saved description: Azure Log Analytics Get Saved Search hints: readOnly: true destructive: false idempotent: true call: management-saved-searches.getsavedsearch with: savedSearchId: tools.savedSearchId outputParameters: - type: object mapping: $. - name: azure-log-analytics-create-update description: Azure Log Analytics Create or Update Saved Search hints: readOnly: false destructive: false idempotent: true call: management-saved-searches.createorupdatesavedsearch with: savedSearchId: tools.savedSearchId body: tools.body outputParameters: - type: object mapping: $. - name: azure-log-analytics-delete-saved description: Azure Log Analytics Delete Saved Search hints: readOnly: false destructive: true idempotent: true call: management-saved-searches.deletesavedsearch with: savedSearchId: tools.savedSearchId outputParameters: - type: object mapping: $.