
Announcements
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.