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 / Agent with mcp - passi...
Copilot Studio
Suggested Answer

Agent with mcp - passing multiple choice answer into chat window

(0) ShareShare
ReportReport
Posted on by
I have the following use case I want to achieve within and agent that is hooked up to a took using clickup mcp. 
 
Simple use case 
1 - I use an adaptive card to show some options like "show me all roadmap items in build" 
2 - I want that text to be passed to the chat as if the user typed the message and press return
 
 
More complex use case 
As above but I don't just want to pass the exact same text, I want to pass the text "show me all roadmap items in location x, list y, status" build and deploy" to refine the text and constrain the answers.
 
So the user is simply tapping a button, and the agent consumes the text. 
 
Is this possible?  Feels like it. Should be but after a weeks research I'm struggling. 
I have the same question (0)
  • Suggested answer
    Beyond The Platforms Profile Picture
    246 on at
    Hi, 

    Good news — this is definitely achievable in Copilot Studio! Here's how:

    The key: use Action.Submit in your Adaptive Card with imBack

    When you design your Adaptive Card, use an Action.Submit with the data field containing the text you want to send to the conversation. Copilot Studio will treat it as a user message.

     
    {
      "type": "Action.Submit",
      "title": "Show roadmap items in Build",
      "data": {
        "msteams": {
          "type": "imBack",
          "value": "show me all roadmap items in location x, list y, status build and deploy"
        }
      }
    }
    
     

    The imBack type sends the value text into the chat as if the user typed it — this works in Teams and in the Copilot Studio webchat channel.

    For your more complex use case, just put the full refined query string directly in value. The user taps the button, the full pre-built query is submitted, and your MCP tool receives it like any normal user message.

    One caveat: imBack works natively in Teams. In the WebChat channel, you may need to use postBack or handle the submit action in a topic using the Activity.Value variable to manually route the input to the right topic/action.

    Hope this helps!
    Paolo


    Did this solve your issue? → Accept as Solution
    👍 Partially helpful? → Click "Yes" on "Was this reply helpful?" or drop a Like!


    Want more tips on Power Platform & AI? Follow me here:

    🔗 LinkedIn: https://www.linkedin.com/in/paoloasnaghi/
    ▶️ YouTube: https://www.youtube.com/@BeyondThePlatforms
    📸 Instagram: https://www.instagram.com/beyond_the_platforms/
    🌐 Website: https://www.beyondtheplatforms.com/


     

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 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard