feat(consumption): Add Invoke Nested Agent operation for Consumption Logic Apps#8660
Open
Bhavd13 wants to merge 9 commits intoAzure:mainfrom
Open
feat(consumption): Add Invoke Nested Agent operation for Consumption Logic Apps#8660Bhavd13 wants to merge 9 commits intoAzure:mainfrom
Bhavd13 wants to merge 9 commits intoAzure:mainfrom
Conversation
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
✅ Risk Level
✅ What & Why
✅ Impact of Change
✅ Test Plan
✅ Contributors
✅ Screenshots/Videos
Summary Table
Final message: This PR passes the PR body/title checklist. The advised risk level is
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds the "Invoke Nested Agent" operation for Consumption Logic Apps, enabling users to send tasks to nested agent workflows. Previously, this functionality was only available for Standard Logic Apps via backend manifests. The implementation creates a static manifest for the operation and integrates it with the Azure Logic Apps connector group, including workflow filtering to display only Logic Apps with A2A Request (Agent) triggers.
Key Changes:
- Created static manifest for
invokeNestedAgentoperation with taskMessage input and standard workflow outputs - Added
getAgentWorkflows()method to filter workflows bytrigger.kind === 'agent' - Integrated Azure Resource Selection UI in both designer v1 and v2 for agent workflow picker
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Upgraded turbo from 2.3.0 to 2.6.3 and reformatted lint-staged config (unrelated changes) |
| pnpm-lock.yaml | Lock file updates corresponding to turbo version upgrade |
| libs/logic-apps-shared/src/designer-client-services/lib/search.ts | Added getAgentWorkflows() method signature to ISearchService interface |
| libs/logic-apps-shared/src/designer-client-services/lib/consumption/search.ts | Registered invokeNestedAgentOperation in built-in operations list |
| libs/logic-apps-shared/src/designer-client-services/lib/consumption/operations/invokeWorkflow.ts | Defined invokeNestedAgentOperation with NestedAgent type and azureResourceSelection capability |
| libs/logic-apps-shared/src/designer-client-services/lib/consumption/operationmanifest.ts | Added nestedagent type mapping and manifest registration |
| libs/logic-apps-shared/src/designer-client-services/lib/consumption/manifests/invokeNestedAgent.ts | Created manifest with taskMessage input, workflow host requirements, and standard outputs |
| libs/logic-apps-shared/src/designer-client-services/lib/base/search.ts | Implemented getAgentWorkflows() with client-side filtering for agent-kind triggers |
| libs/logic-apps-shared/src/designer-client-services/lib/test/mocks/builtInOperationResponse.ts | Added mock data for invokeNestedAgent operation in test fixtures |
| libs/designer/src/lib/ui/panel/recommendation/azureResourceSelection.tsx | Added SELECT_NESTED_AGENT_WORKFLOW_ACTION case with agentWorkflow resource type |
| libs/designer/src/lib/common/constants.ts | Added SELECT_NESTED_AGENT_WORKFLOW_ACTION constant |
| libs/designer-v2/src/lib/ui/panel/recommendation/azureResourceSelection.tsx | Added SELECT_NESTED_AGENT_WORKFLOW_ACTION case (mirroring v1 implementation) |
| libs/designer-v2/src/lib/common/constants.ts | Added SELECT_NESTED_AGENT_WORKFLOW_ACTION constant |
| apps/Standalone/src/templates/app/TemplatesConsumption.tsx | Registered invokenestedagent in clientSupportedOperations |
| apps/Standalone/src/designer/app/AzureLogicAppsDesigner/laDesignerConsumptionV2.tsx | Registered invokenestedagent in clientSupportedOperations |
| apps/Standalone/src/designer/app/AzureLogicAppsDesigner/laDesignerConsumption.tsx | Registered invokenestedagent in clientSupportedOperations |
| Localize/lang/strings.json | Added localization string "Select workflow with an Agent loop" (ID: QMuDPI) |
...ogic-apps-shared/src/designer-client-services/lib/consumption/manifests/invokeNestedAgent.ts
Show resolved
Hide resolved
...ogic-apps-shared/src/designer-client-services/lib/consumption/manifests/invokeNestedAgent.ts
Show resolved
Hide resolved
Eric-B-Wu
approved these changes
Dec 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit Type
Risk Level
What & Why
This PR adds the Invoke Nested Agent operation for Consumption Logic Apps, enabling users to send tasks to nested agent workflows from within their Logic App workflows. Previously, the nested agent functionality was only available for Standard Logic Apps (fetched from backend). This change implements the same capability for Consumption Logic Apps by:
invokeNestedAgentoperationinvokeWorkflow)azureResourceSelectioncapability for workflow picker UIThis allows Consumption Logic App users to invoke agent workflows as nested operations, enabling more complex AI agent orchestration scenarios.
Impact of Change
InvokeNestedAgentManifestextendedazureResourceSelectionfor nested agent selection and addedgetAgentWorkflows()toSearchServicefor filtering agent-enabled workflows.Test Plan
Contributors
@Bhavd13
Screenshots/Videos
nestedagent.recording.mp4