Updated doc in all tools

This commit is contained in:
cliffhall
2025-12-13 15:55:07 -05:00
parent 7b8592538f
commit 20527e4175
15 changed files with 16 additions and 16 deletions

View File

@@ -24,10 +24,10 @@ const config = {
};
/**
* Registers the 'trigger-sampling-request' tool within the provided McpServer instance.
* Registers the 'trigger-sampling-request' tool.
*
* The registered tool performs the following operations:
* - Validates incoming arguments using `SampleLLMSchema`.
* - Validates incoming arguments using `TriggerSamplingRequestSchema`.
* - Constructs a `sampling/createMessage` request object using provided prompt and maximum tokens.
* - Sends the request to the server for sampling.
* - Formats and returns the sampling result content to the client.