8000 mcp: add support for elicitations by connor4312 · Pull Request #251872 · microsoft/vscode · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mcp: add support for elicitations #251872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 19, 2025
Merged

mcp: add support for elicitations #251872

merged 3 commits into from
Jun 19, 2025

Conversation

connor4312
Copy link
Member
@connor4312 connor4312 commented Jun 19, 2025

Prompts inline in chat if associated with a tool call, and prompts via notification otherwise. Input is given via quickpick. Validation is done appropriately.

Refs #248418

Kapture.2025-06-18.at.23.07.41.mp4

@connor4312 connor4312 self-assigned this Jun 19, 2025
@connor4312 connor4312 enabled auto-merge June 19, 2025 06:10
@vs-code-engineering vs-code-engineering bot added this to the June 2025 milestone Jun 19, 2025
} else {
quickPick.severity = Severity.Ignore;
if (!required) {
items.push(noneItem);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have a none item? Why not just allow an empty input to be accepted?

});
}

private async _handleInputField(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use an InputBox instead of a QuickPick here?

@connor4312 connor4312 merged commit 10d3fb2 into main Jun 19, 2025
8 checks passed
@connor4312 connor4312 deleted the connor4312/mcp-elicitation branch June 19, 2025 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0