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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / How to map a Copilot S...
Copilot Studio
Unanswered

How to map a Copilot Studio variable to a Model Context Protocol (MCP) tool input parameter

(2) ShareShare
ReportReport
Posted on by 16

Description:

I am building a Copilot Studio agent integrated with a Model Context Protocol (MCP) server. I have successfully created a variable named accountId in my agent.

Now, I want to invoke an MCP tool named "get-booking-request-list" which has an input parameter also named accountId (of type Guid). My goal is to pass the value from the agent variable accountId to the MCP tool input so that the user only needs to provide the value once.

Issue:

Even though I have stored accountId in a variable, Copilot Studio continues to ask the user for accountId every time the tool is called, instead of using the variable's value.

Expected Behavior:

Once accountId is set in the conversation, I want the agent to automatically use it for all subsequent tool calls (e.g., get-booking-request-list, get-current-bookings, etc.) without re-prompting the user.

 

Request:

Please provide step-by-step guidance or an example on how to bind or map a Copilot Studio variable (like accountId) to the MCP tool's input parameter so it can be reused automatically across tool calls.

 
I have the same question (7)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard