{"at":"2026-11-23T04:56:31.442Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T04:56:31.836Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T04:56:31.937Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T04:56:32.396Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":true},"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"logicapps-mcp","version":"0.4.3"}}}}
{"at":"2026-11-23T04:56:32.396Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T04:56:32.396Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T04:56:32.398Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"List all Azure subscriptions accessible to the authenticated user. Use this first to discover available subscriptions, then use list_logic_apps to find Logic Apps.","inputSchema":{"properties":{},"required":[],"type":"object"},"name":"list_subscriptions"},{"description":"List all Logic Apps in a subscription or resource group. Returns both Consumption and Standard SKUs. Consumption Logic Apps have a single workflow; Standard Logic Apps can have multiple workflows (use list_workflows to see them).","inputSchema":{"properties":{"resourceGroupName":{"description":"Filter by resource group (optional)","type":"string"},"sku":{"description":"Filter by SKU type (default: all)","enum":["consumption","standard","all"],"type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"}},"required":["subscriptionId"],"type":"object"},"name":"list_logic_apps"},{"description":"List workflows within a Logic App. Standard SKU can have multiple workflows; Consumption SKU returns a single workflow with the same name as the Logic App. Use this to discover workflow names before calling other workflow-specific tools.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName"],"type":"object"},"name":"list_workflows"},{"description":"Get the full workflow definition JSON for a Logic App workflow. For Consumption SKU, omit workflowName. For Standard SKU, workflowName is required. Use update_workflow to modify the definition.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU, omit for Consumption)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName"],"type":"object"},"name":"get_workflow_definition"},{"description":"Get trigger information for a workflow including last/next execution times. For Standard SKU, workflowName is required. Use run_trigger to manually fire a trigger, or get_trigger_history to see past executions.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName"],"type":"object"},"name":"get_workflow_triggers"},{"description":"Get the run history for a workflow with optional filtering. For Standard SKU, workflowName is required. Use search_runs for easier filtering by status/date. After finding a run, use get_run_details and get_run_actions to debug. Returns a nextLink if more pages are available - use skipToken to fetch the next page.","inputSchema":{"properties":{"filter":{"description":"OData filter (e.g., \"status eq 'Failed'\")","type":"string"},"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"skipToken":{"description":"Pagination token from a previous response's nextLink to fetch the next page of results","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"top":{"description":"Number of runs to return per page (default: 25, max: 100)","type":"number"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName"],"type":"object"},"name":"list_run_history"},{"description":"Get detailed information about a specific workflow run including status, timing, and error summary. For Standard SKU, workflowName is required. Use get_run_actions to see which specific action failed.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"runId":{"description":"The run ID to retrieve","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","runId"],"type":"object"},"name":"get_run_details"},{"description":"Get the action execution details for a specific workflow run including status, timing, and trackedProperties. For Standard SKU, workflowName is required. Use get_action_io to see actual inputs/outputs for an action.","inputSchema":{"properties":{"actionName":{"description":"Filter to a specific action (optional)","type":"string"},"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"runId":{"description":"The run ID","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","runId"],"type":"object"},"name":"get_run_actions"},{"description":"List API connections (e.g., Office 365, SQL, Service Bus) in a resource group. Connections are shared resources used by Logic Apps for authentication. Use get_connection_details or test_connection for more info.","inputSchema":{"properties":{"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"}},"required":["subscriptionId","resourceGroupName"],"type":"object"},"name":"get_connections"},{"description":"Create a new API connection for a managed connector (e.g., azureblob, sql, servicebus, office365). For OAuth-based connectors (like azureblob with OAuth, office365), returns a consent link that must be opened in a browser to authorize. For parameter-based connectors (like SQL with connection string), provide the parameters directly. Common OAuth connectors: azureblob, office365, outlook, onedrive, sharepoint, dynamicscrm. Common parameter connectors: sql (server, database, username, password), servicebus (connectionString).","inputSchema":{"properties":{"connectionName":{"description":"Name for the new connection (e.g., 'azureblob-1', 'my-sql-connection')","type":"string"},"connectorName":{"description":"Managed connector name (e.g., 'azureblob', 'sql', 'servicebus', 'office365')","type":"string"},"displayName":{"description":"Friendly display name for the connection (optional, defaults to connectionName)","type":"string"},"location":{"description":"Azure region (e.g., 'westus2', 'eastus'). Should match Logic App region.","type":"string"},"parameterValues":{"additionalProperties":true,"description":"Connection parameters for non-OAuth connectors. Examples: SQL: {server, database, username, password, encryptConnection}. ServiceBus: {connectionString}. Leave empty for OAuth connectors.","type":"object"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"}},"required":["subscriptionId","resourceGroupName","connectionName","connectorName","location"],"type":"object"},"name":"create_connection"},{"description":"Get the OpenAPI/Swagger definition for a managed connector (e.g., msnweather, sql, servicebus, office365). Returns available operations, paths, and schemas. ESSENTIAL for discovering correct action paths when creating or updating workflows with connector actions.","inputSchema":{"properties":{"connectorName":{"description":"Connector name (e.g., 'msnweather', 'sql', 'servicebus', 'office365', 'azureblob')","type":"string"},"location":{"description":"Azure region where the connector is available (e.g., 'westus2', 'eastus')","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"}},"required":["subscriptionId","location","connectorName"],"type":"object"},"name":"get_connector_swagger"},{"description":"Invoke a dynamic operation on an API connection to fetch connection-specific data like dropdown values, schemas, or metadata. This is the equivalent of what the Logic Apps designer does when you click on a dropdown or text field - it calls the connector to populate the options.\n\nWHEN TO USE THIS TOOL:\n- After getting connector swagger with get_connector_swagger, you see operations with 'x-ms-dynamic-values' or 'x-ms-dynamic-schema'\n- You need to list available tables, queues, folders, or other resources from a connection\n- You need to get the schema/columns for a specific table or entity\n- You're authoring a workflow and need to know valid values for action parameters\n\nWORKFLOW FOR AUTHORING WITH CONNECTORS:\n1. Use get_connector_swagger to discover operations and see x-ms-dynamic-values annotations\n2. Use get_connections to find existing connections in the resource group\n3. Use invoke_connector_operation to call the dynamic operation (e.g., GetTables, GetQueues)\n4. Use the returned values to populate your workflow action parameters\n\nCOMMON EXAMPLES:\n- SQL: operationId='GetTables' returns list of tables, operationId='GetTable' with table parameter returns column schema\n- Service Bus: operationId='GetQueues' returns available queues\n- SharePoint: operationId='GetDataSets' returns sites, then GetTables for lists\n- Blob Storage: operationId='GetDataSets' returns containers","inputSchema":{"properties":{"connectionName":{"description":"Name of the API connection (e.g., 'sql-1', 'servicebus', 'azureblob')","type":"string"},"operationId":{"description":"The operationId from the connector swagger to invoke (e.g., 'GetTables', 'GetQueues', 'GetDataSets')","type":"string"},"parameters":{"additionalProperties":true,"description":"Parameters required by the operation. Check the swagger for required parameters. For example, GetTable requires {table: 'tableName'}","type":"object"},"resourceGroupName":{"description":"Resource group containing the API connection","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"}},"required":["subscriptionId","resourceGroupName","connectionName","operationId"],"type":"object"},"name":"invoke_connector_operation"},{"description":"Get host status for a Standard Logic App including runtime version, extension bundle version, and diagnostics. Only available for Standard SKU.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName"],"type":"object"},"name":"get_host_status"},{"description":"List all versions of a Consumption Logic App workflow with creation and change times. Only available for Consumption SKU.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"top":{"description":"Number of versions to return (optional)","type":"number"}},"required":["subscriptionId","resourceGroupName","logicAppName"],"type":"object"},"name":"list_workflow_versions"},{"description":"Get the execution history of a specific trigger, showing when it fired, succeeded, or failed. Essential for debugging why a workflow didn't run when expected.","inputSchema":{"properties":{"filter":{"description":"OData filter (e.g., \"status eq 'Failed'\")","type":"string"},"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"top":{"description":"Number of history entries to return (default: 25, max: 100)","type":"number"},"triggerName":{"description":"Trigger name to get history for","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","triggerName"],"type":"object"},"name":"get_trigger_history"},{"description":"Get iteration details for actions inside loops (ForEach, Until). Each iteration is a 'repetition' with its own status, inputs, outputs, and trackedProperties. For Standard SKU, workflowName is required. Essential for debugging loop failures.","inputSchema":{"properties":{"actionName":{"description":"Action name (the loop action)","type":"string"},"logicAppName":{"description":"Logic App resource name","type":"string"},"repetitionName":{"description":"Specific repetition to get (e.g., '000000', '000001')","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"runId":{"description":"Run ID","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","runId","actionName"],"type":"object"},"name":"get_action_repetitions"},{"description":"Get HTTP request/response details for connector actions including retries. Shows actual HTTP calls made to external services with headers, status codes, and timing. For Standard SKU, workflowName is required. Useful for debugging API failures.","inputSchema":{"properties":{"actionName":{"description":"Action name (HTTP, connector actions)","type":"string"},"logicAppName":{"description":"Logic App resource name","type":"string"},"requestHistoryName":{"description":"Specific request history entry name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"runId":{"description":"Run ID","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","runId","actionName"],"type":"object"},"name":"get_action_request_history"},{"description":"Get the callback URL for request-based triggers (HTTP, manual). Returns the URL with SAS token for invoking the workflow. For Standard SKU, workflowName is required. Use run_trigger to test the workflow instead of calling the URL directly.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"triggerName":{"description":"Trigger name","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","triggerName"],"type":"object"},"name":"get_trigger_callback_url"},{"description":"Get execution details for scope action iterations (Scope, Switch, Condition). Shows which branch executed, status, and trackedProperties. For Standard SKU, workflowName is required.","inputSchema":{"properties":{"actionName":{"description":"Scope action name","type":"string"},"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"runId":{"description":"Run ID","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","runId","actionName"],"type":"object"},"name":"get_scope_repetitions"},{"description":"Get expression evaluation traces for an action. Shows how workflow expressions (e.g., @body(), @variables()) were evaluated at runtime, including the expression text, result value, and any errors. For Standard SKU, workflowName is required. Essential for debugging expression failures.","inputSchema":{"properties":{"actionName":{"description":"Action name","type":"string"},"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"runId":{"description":"Run ID","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","runId","actionName"],"type":"object"},"name":"get_expression_traces"},{"description":"Get the OpenAPI/Swagger definition for a workflow. Shows trigger schemas and request/response formats. For Standard SKU, workflowName is required. Useful for API documentation or generating client SDKs.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName"],"type":"object"},"name":"get_workflow_swagger"},{"description":"Get the actual input/output data for a run action. Fetches content from inputsLink/outputsLink URLs. For Standard SKU, workflowName is required. Essential for debugging data transformation issues.","inputSchema":{"properties":{"actionName":{"description":"Action name","type":"string"},"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"runId":{"description":"Run ID","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"type":{"description":"Which content to fetch (default: both)","enum":["inputs","outputs","both"],"type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","runId","actionName"],"type":"object"},"name":"get_action_io"},{"description":"Search run history with friendly parameters (status, startTime, endTime, clientTrackingId) instead of raw OData filter syntax. For Standard SKU, workflowName is required. Use this instead of list_run_history when filtering by specific criteria. Returns a nextLink if more pages are available - use skipToken to fetch the next page.","inputSchema":{"properties":{"clientTrackingId":{"description":"Filter by correlation/tracking ID","type":"string"},"endTime":{"description":"Filter runs starting before this ISO timestamp","type":"string"},"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"skipToken":{"description":"Pagination token from a previous response's nextLink to fetch the next page of results","type":"string"},"startTime":{"description":"Filter runs starting after this ISO timestamp (e.g., 2025-12-24T00:00:00Z)","type":"string"},"status":{"description":"Filter by run status","enum":["Succeeded","Failed","Cancelled","Running"],"type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"top":{"description":"Number of runs to return per page (default: 25, max: 100)","type":"number"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName"],"type":"object"},"name":"search_runs"},{"description":"Get a specific historical version's definition. Only available for Consumption Logic Apps. Use list_workflow_versions to see available versions.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"versionId":{"description":"Version ID (from list_workflow_versions)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","versionId"],"type":"object"},"name":"get_workflow_version"},{"description":"Get detailed information about a specific API connection including authentication status, configuration, and API reference. Use test_connection to verify the connection is working.","inputSchema":{"properties":{"connectionName":{"description":"API connection name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"}},"required":["subscriptionId","resourceGroupName","connectionName"],"type":"object"},"name":"get_connection_details"},{"description":"Test if an API connection is valid and working. Checks connection status and validates authentication. Use this to diagnose connector failures in workflow runs.","inputSchema":{"properties":{"connectionName":{"description":"API connection name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"}},"required":["subscriptionId","resourceGroupName","connectionName"],"type":"object"},"name":"test_connection"},{"description":"Enable a disabled workflow, allowing it to process triggers and run. For Consumption Logic Apps, enables the entire Logic App. For Standard Logic Apps, enables a specific workflow within the Logic App.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName"],"type":"object"},"name":"enable_workflow"},{"description":"Disable an active workflow, stopping it from processing triggers and running. In-progress runs will continue until completion. For Consumption Logic Apps, disables the entire Logic App. For Standard Logic Apps, disables a specific workflow within the Logic App.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName"],"type":"object"},"name":"disable_workflow"},{"description":"Manually fire a workflow trigger to start a new run immediately, bypassing any schedule or event condition. For Standard SKU, workflowName is required. Use get_workflow_triggers first to find available trigger names. Then use list_run_history to see the result.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"triggerName":{"description":"The name of the trigger to run (e.g., 'manual', 'When_a_HTTP_request_is_received')","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","triggerName"],"type":"object"},"name":"run_trigger"},{"description":"Cancel a running or waiting workflow run. Only runs in 'Running' or 'Waiting' status can be cancelled. For Standard SKU, workflowName is required. Use list_run_history or search_runs to find running runs first.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"runId":{"description":"The run ID to cancel","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","runId"],"type":"object"},"name":"cancel_run"},{"description":"Resubmit a failed or cancelled workflow run to retry execution with the original inputs. Only runs with status 'Failed', 'Cancelled', or 'Succeeded' can be resubmitted. For Standard SKU, workflowName is required. Use get_run_details to check run status first.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"runId":{"description":"The run ID to resubmit","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","runId"],"type":"object"},"name":"resubmit_run"},{"description":"Create a new workflow. For Consumption SKU, creates a new Logic App resource. For Standard SKU, creates a new workflow within an existing Logic App. Requires a valid workflow definition JSON that follows the Logic Apps schema. IMPORTANT: When adding connector actions (e.g., SQL, Service Bus, MSN Weather), use get_connector_swagger first to discover the correct action paths and schemas. For Consumption SKU with connector actions, use the 'connections' parameter to wire up API connections.","inputSchema":{"properties":{"connections":{"additionalProperties":{"properties":{"connectionName":{"description":"Name of the API connection resource","type":"string"},"id":{"description":"Resource ID of the managed API (e.g., /subscriptions/.../providers/Microsoft.Web/locations/.../managedApis/office365)","type":"string"}},"required":["connectionName","id"],"type":"object"},"description":"API connection references for Consumption SKU. Object mapping connection names used in the definition to their connection details. Example: {\"office365\": {\"connectionName\": \"office365-test\", \"id\": \"/subscriptions/.../providers/Microsoft.Web/locations/.../managedApis/office365\"}}","type":"object"},"definition":{"description":"The workflow definition JSON following the Logic Apps schema","type":"object"},"kind":{"description":"Workflow kind for Standard SKU (default: 'Stateful')","enum":["Stateful","Stateless"],"type":"string"},"location":{"description":"Azure region (required for Consumption SKU, e.g., 'westus2', 'eastus')","type":"string"},"logicAppName":{"description":"Logic App resource name (for Consumption, this becomes the new Logic App name)","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","definition"],"type":"object"},"name":"create_workflow"},{"description":"Update an existing workflow's definition. Replaces the entire definition with the new one. For Standard SKU, workflowName is required. Use get_workflow_definition first to get the current definition, modify it, then update. IMPORTANT: When adding connector actions, use get_connector_swagger to discover correct action paths and schemas. For Consumption SKU with connector actions, use the 'connections' parameter to wire up API connections.","inputSchema":{"properties":{"connections":{"additionalProperties":{"properties":{"connectionName":{"description":"Name of the API connection resource","type":"string"},"id":{"description":"Resource ID of the managed API (e.g., /subscriptions/.../providers/Microsoft.Web/locations/.../managedApis/office365)","type":"string"}},"required":["connectionName","id"],"type":"object"},"description":"API connection references for Consumption SKU. Object mapping connection names used in the definition to their connection details. Example: {\"office365\": {\"connectionName\": \"office365-test\", \"id\": \"/subscriptions/.../providers/Microsoft.Web/locations/.../managedApis/office365\"}}","type":"object"},"definition":{"description":"The new workflow definition JSON following the Logic Apps schema","type":"object"},"kind":{"description":"Workflow kind for Standard SKU (default: 'Stateful')","enum":["Stateful","Stateless"],"type":"string"},"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","definition"],"type":"object"},"name":"update_workflow"},{"description":"Delete a workflow. For Consumption SKU, deletes the entire Logic App resource. For Standard SKU, deletes a specific workflow within the Logic App. Use with caution as this action cannot be undone.","inputSchema":{"properties":{"logicAppName":{"description":"Logic App resource name","type":"string"},"resourceGroupName":{"description":"Resource group name","type":"string"},"subscriptionId":{"description":"Azure subscription ID","type":"string"},"workflowName":{"description":"Workflow name (required for Standard SKU)","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName"],"type":"object"},"name":"delete_workflow"},{"description":"Clone a Consumption Logic App workflow to a Standard Logic App. IMPORTANT: Always run validate_clone_workflow first to check for compatibility issues before cloning. This copies the workflow definition from a Consumption Logic App to a new workflow in an existing Standard Logic App. The target Standard Logic App must already exist and the target workflow name must not already exist. Connections will need to be reconfigured after cloning.","inputSchema":{"properties":{"logicAppName":{"description":"Source Consumption Logic App name","type":"string"},"resourceGroupName":{"description":"Source Consumption Logic App resource group name","type":"string"},"subscriptionId":{"description":"Source Consumption Logic App subscription ID","type":"string"},"targetKind":{"description":"Workflow kind for the target (default: 'Stateful')","enum":["Stateful","Stateless"],"type":"string"},"targetLogicAppName":{"description":"Target Standard Logic App name (must already exist)","type":"string"},"targetResourceGroupName":{"description":"Target Standard Logic App resource group name","type":"string"},"targetSubscriptionId":{"description":"Target Standard Logic App subscription ID (defaults to source subscription if not provided)","type":"string"},"targetWorkflowName":{"description":"Name for the new workflow in the Standard Logic App","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","targetResourceGroupName","targetLogicAppName","targetWorkflowName"],"type":"object"},"name":"clone_workflow"},{"description":"Validate if a Consumption Logic App workflow can be cloned to a Standard Logic App without actually performing the clone. This checks for unsupported operations, connection compatibility, and other potential issues. Use this before clone_workflow to identify any problems that need to be addressed.","inputSchema":{"properties":{"logicAppName":{"description":"Source Consumption Logic App name","type":"string"},"resourceGroupName":{"description":"Source Consumption Logic App resource group name","type":"string"},"subscriptionId":{"description":"Source Consumption Logic App subscription ID","type":"string"},"targetKind":{"description":"Workflow kind for the target (default: 'Stateful')","enum":["Stateful","Stateless"],"type":"string"},"targetLogicAppName":{"description":"Target Standard Logic App name (must already exist)","type":"string"},"targetResourceGroupName":{"description":"Target Standard Logic App resource group name","type":"string"},"targetSubscriptionId":{"description":"Target Standard Logic App subscription ID (defaults to source subscription if not provided)","type":"string"},"targetWorkflowName":{"description":"Name for the new workflow in the Standard Logic App","type":"string"}},"required":["subscriptionId","resourceGroupName","logicAppName","targetResourceGroupName","targetLogicAppName","targetWorkflowName"],"type":"object"},"name":"validate_clone_workflow"},{"description":"Get troubleshooting guidance for Logic Apps issues. Call this when debugging failed runs, expression errors, connection problems, or to understand platform limitations. Returns detailed patterns and solutions.","inputSchema":{"properties":{"topic":{"description":"The troubleshooting topic: 'expression-errors' for null checks, type conversions, date handling; 'connection-issues' for OAuth, Managed Identity, auth problems; 'run-failures' for action failures, triggers, loops, timeouts; 'known-limitations' for platform constraints and workarounds","enum":["expression-errors","connection-issues","run-failures","known-limitations"],"type":"string"}},"required":["topic"],"type":"object"},"name":"get_troubleshooting_guide"},{"description":"Get guidance for creating and modifying Logic Apps workflows. Call this when helping users build workflows, understand connector patterns, or set up deployment pipelines.","inputSchema":{"properties":{"topic":{"description":"The authoring topic: 'workflow-patterns' for triggers, control flow, error handling; 'connector-patterns' for SQL, Service Bus, Blob, Office 365; 'deployment' for ARM, Terraform, CI/CD","enum":["workflow-patterns","connector-patterns","deployment"],"type":"string"}},"required":["topic"],"type":"object"},"name":"get_authoring_guide"},{"description":"Get reference documentation for Logic Apps. Call this for comprehensive tool usage details or when users ask about differences between Consumption and Standard SKUs.","inputSchema":{"properties":{"topic":{"description":"The reference topic: 'tool-catalog' for all 33 MCP tools with examples; 'sku-differences' for Consumption vs Standard deep dive","enum":["tool-catalog","sku-differences"],"type":"string"}},"required":["topic"],"type":"object"},"name":"get_reference"},{"description":"Get step-by-step instructions for handling common user requests. CALL THIS FIRST when a user asks high-level questions like 'why is my workflow failing?', 'what does this workflow do?', or 'create a workflow'. Returns detailed sequences of tool calls to complete the task.","inputSchema":{"properties":{"topic":{"description":"The instruction topic: 'diagnose-failures' when user asks about failures or errors; 'explain-workflow' to understand what a workflow does; 'monitor-workflows' to check status and health; 'create-workflow' to build new workflows; 'fix-workflow' to modify and repair existing workflows","enum":["diagnose-failures","explain-workflow","monitor-workflows","create-workflow","fix-workflow"],"type":"string"}},"required":["topic"],"type":"object"},"name":"get_workflow_instructions"}]}}}
