-
Notifications
You must be signed in to change notification settings - Fork 38.9k
[MCP] Newly added tools not included in subsequent completion calls #261611
Copy link
Copy link
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version:
1.104.0 (Insider) - OS Version:
Windows 11
Steps to Reproduce:
- Create an MCP server that can update its tools dynamically.
For example, the server starts with 3 tools: "greet", "calculate", and "get-status".
After calling any of these tools, a new tool is added — for example, "followup". - Add the MCP server to your workspace.
- Run this prompt:
Greet Lukasz and then do a follow-up
- Check the debug logs.
On the second completion call, you’ll see that only the original 3 tools are included, even though all 4 tools were discovered.
Note: The timing in the output window is UTC+2h
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded