mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-18 10:54:08 +02:00
Updated doc in all tools
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user