hang
Simulates a non-responsive server that replies only when the request is cancelled, testing client timeout and cancellation handling.
Instructions
Never respond unless the MCP request is cancelled.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hang"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||