(shape: S)
| 12 | // `page_size` succeeds with the bogus arg ignored — which the e2e |
| 13 | // contract sweep caught as a foot-gun. Apply to every registerTool call. |
| 14 | export function strictInputSchema<S extends ZodRawShape>(shape: S) { |
| 15 | return z.object(shape).strict(); |
| 16 | } |
| 17 | |
| 18 | // paginationInput is the ONE pagination shape for every cursor-paginated list |
| 19 | // tool (§6a #3): `cursor` + `limit` in, and the tool returns `{ <items>, |
no outgoing calls
no test coverage detected