malformed_message
Generate one deterministic JSON-RPC rule violation (missing jsonrpc, bad version, or result with error) for MCP server fault-injection tests.
Instructions
Return one deterministic response that violates a selected JSON-RPC rule.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"variant": "<variant>"
},
"name": "malformed_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant | Yes |