agentscope-sift / node_modules /@modelcontextprotocol /sdk /dist /cjs /examples /server /simpleTaskInteractive.d.ts
Download node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.d.ts from Snapkitty/agentscope-sift: direct link, hf CLI and curl.
- Browser
- Download file 535 Bytes
-
https://huggingface.co/Snapkitty/agentscope-sift/resolve/main/node_modules/%40modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.d.ts
- Command line
-
hf download hf://Snapkitty/agentscope-sift/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.d.ts
-
curl -L -o simpleTaskInteractive.d.ts https://huggingface.co/Snapkitty/agentscope-sift/resolve/main/node_modules/%40modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.d.ts
535 Bytes
| /** | |
| * Simple interactive task server demonstrating elicitation and sampling. | |
| * | |
| * This server demonstrates the task message queue pattern from the MCP Tasks spec: | |
| * - confirm_delete: Uses elicitation to ask the user for confirmation | |
| * - write_haiku: Uses sampling to request an LLM to generate content | |
| * | |
| * Both tools use the "call-now, fetch-later" pattern where the initial call | |
| * creates a task, and the result is fetched via tasks/result endpoint. | |
| */ | |
| export {}; | |
| //# sourceMappingURL=simpleTaskInteractive.d.ts.map |