web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / How to pass variables ...
Copilot Studio
Suggested Answer

How to pass variables from a master agent to a connected agent in copilot studio

(1) ShareShare
ReportReport
Posted on by 12
Hi, 
 
I need help to pass variables from my master agent to a connected agent. When i add a Connected agent in to a master agent, i see a Inputs section marked as preview as below, however when i pass the values its not being passed in to my connected agent. What is the way i can pass the variables otherwise. 
 
 
Please let know if any other details needed further here
 
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at
     
    Can you share both the input configuration of your child parent and the parent passing at the same time. 
     
    I'd like to verify the data types that you are supposed to pass in versus what you are passing in.
     
    And from the Child, how are you validating that you do not see them?
     
    Thanks!!

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    2,876 Super User 2026 Season 1 on at
    hello,
     
    thanks for the interesting question :)
     
    i think there a lot of using "wrong word"  wich are confusing, :) (sorry english not my native language, sometime i use wrong word too)
     
    Multi agent concerne two different idea : connected agent and child agent.
     
    Child agent : allow input / output between the parent and the child and you have parameter for it in the child agent. they are created inside the master agent.
     
    Connected agent : are separated agent and don't have any meen of shareing variable since both leave without each other. they are link to the master agent and they are only published agent.
     
    Between child the UI provide you input/outpud inside the editUI of the agent
    Between connected agent you need to use other complexe mecanisme like using database or sharepoint list (with MCP or power automate or agent flow) to share data. 
     
    What i tend to myself is something between : i ask the agent to format a prompt witht rules to ask question to other agent. in special case i don't let autonomous orchestration to call agent but i use an agent flow to call the other agent and write myself the prompt send to the agent by associating the question and my war and some rewriting by IA
  • Bilal Profile Picture
    12 on at
     
    Here is the things you asked for 
     
    Can you share both the input configuration of your child parent and the parent passing at the same time. 
     
    I'd like to verify the data types that you are supposed to pass in versus what you are passing in.
     
    And from the Child, how are you validating that you do not see them?

    This is my Parent or Master Agent 

     
    and Connected agent below - in my Connected agent, i have created a topic inside which am collecting variables using questions
     
     
    on the question node i have enabled the property to skip the question if value is given, however this question is still getting triggered in master agent, which means the value is not being passed. another way i tested is to add a message node to display the variables before the question node. which is also not printing anything. 

     
    Hope this answers your qureies, do let know if anything else is required
  • Bilal Profile Picture
    12 on at
     
    So you are telling we cannot call the connected agents with in master agents and pass the variables ,could you share me any reference for this. 
     
    Why am asking this is - this setup worked earlier where some time back , we directly passed the global variables and on variables we had this setting below  by which the values use to go in the connected agent 
     
    However, now with this setting is not working. What we observe now is The inputs option that comes when we add the connected agent in master agent. Here all the variables with the above setting in Connected agent are showing up in Master agent. Thats why i was thinking that this way we should be able to pass the variables. 
     
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 256

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 208 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 198

Last 30 days Overall leaderboard