Update doc in tools/trigger-elicitation-request.ts

This commit is contained in:
cliffhall 2025-12-13 15:09:26 -05:00
commit 3f5e5cfb81

View file

@ -13,13 +13,11 @@ const config = {
/** /**
* Registers the 'trigger-elicitation-request' tool within the provided McpServer instance. * Registers the 'trigger-elicitation-request' tool within the provided McpServer instance.
* *
* The registered tool performs the following operations: * The registered tool sends an elicitation request for the user to provide information
* * based on a pre-defined schema of fields including text inputs, booleans, numbers,
* This tool sends a detailed request for the user to provide information based * email, dates, enums of various types, etc. It uses validation and handles multiple
* on a pre-defined schema of fields including text inputs, booleans, numbers, * possible outcomes from the user's response, such as acceptance with content, decline,
* email, dates, etc. It uses validation and handles multiple possible outcomes * or cancellation of the dialog. The process also ensures parsing and validating
* from the user's response, such as acceptance with content, decline, or
* cancellation of the dialog. The process also ensures parsing and validating
* the elicitation input arguments at runtime. * the elicitation input arguments at runtime.
* *
* The tool resolves the elicitation dialog response into a structured result, * The tool resolves the elicitation dialog response into a structured result,