run-azure-code
Execute JavaScript code using Azure SDK to manage resources, handle subscriptions, and optimize tenant operations with structured, error-handling compliant scripts.
Instructions
Run Azure code
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Your job is to answer questions about Azure environment by writing Javascript code using Azure SDK. The code must adhere to a few rules: - Use the provided client instances: 'resourceClient' for ResourceManagementClient and 'subscriptionClient' for SubscriptionClient - DO NOT create new client instances or import Azure SDK packages - Use async/await and promises - Think step-by-step before writing the code - Avoid hardcoded values like Resource IDs - Handle errors gracefully - Handle pagination correctly using for-await-of loops - Data returned must be JSON containing only the minimal amount of data needed - Code MUST "return" a value: string, number, boolean or JSON object | |
reasoning | Yes | The reasoning behind the code | |
subscriptionId | No | Azure Subscription ID | |
tenantId | No | Azure Tenant ID |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Azure MCP Server
Related Tools
- @RyanCardin15/AzureDevOps-MCP
- @RafalWilinski/aws-mcp
- @RyanCardin15/AzureDevOps-MCP
- @RyanCardin15/AzureDevOps-MCP
- @RyanCardin15/AzureDevOps-MCP