Repository navigation
Commit f8d4855
Mohak Gupta
test: cover wrong JSON types in the MCP robustness layer
The layer varies argument values but always sends the expected type. These
nine send a value of the wrong JSON type for the request envelope fields
parsed before tool dispatch: tool name, arguments, params and method.
All nine pass against the current binary, so this is a regression guard for
a class the layer does not currently reach, not a bug report.
Signed-off-by: Mohak Gupta <mohakgupta0981@gmail.com>1 parent 61b3b1b commit f8d4855
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
118 | 131 | | |
119 | 132 | | |
120 | 133 | | |
| |||
0 commit comments