mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-17 23:53:24 +02:00
Updated doc in trigger-sampling-request.ts
This commit is contained in:
@@ -32,8 +32,7 @@ const config = {
|
|||||||
* - Sends the request to the server for sampling.
|
* - Sends the request to the server for sampling.
|
||||||
* - Formats and returns the sampling result content to the client.
|
* - Formats and returns the sampling result content to the client.
|
||||||
*
|
*
|
||||||
* @param {McpServer} server - The instance of the MCP server where the tool
|
* @param {McpServer} server - The instance of the MCP server where the tool will be registered.
|
||||||
* will be registered.
|
|
||||||
*/
|
*/
|
||||||
export const registerTriggerSamplingRequestTool = (server: McpServer) => {
|
export const registerTriggerSamplingRequestTool = (server: McpServer) => {
|
||||||
server.registerTool(
|
server.registerTool(
|
||||||
|
|||||||
Reference in New Issue
Block a user