| ... | ... | @@ -1426,6 +1426,12 @@ describe("orchestrator MCP toolkit", () => { |
| 1426 | 1426 | expect(threadListTool?.tool.annotations?.idempotentHint).toBe(true); |
| 1427 | 1427 | const threadReadTool = server.tools.find(({ tool }) => tool.name === "t3_thread_read"); |
| 1428 | 1428 | expect(threadReadTool?.tool.annotations?.readOnlyHint).toBe(false); |
| 1429 | expect(threadReadTool?.tool.inputSchema).toMatchObject({ additionalProperties: false }); |
| 1430 | const unknownPagingParamError = yield* invoke("t3_thread_read", { |
| 1431 | threadId: parentThreadId, |
| 1432 | cursor: 90, |
| 1433 | }).pipe(Effect.flip); |
| 1434 | expect(unknownPagingParamError.message).toContain("Expected no excess property"); |
| 1429 | 1435 | const threadUpdateTool = server.tools.find( |
| 1430 | 1436 | ({ tool }) => tool.name === "t3_thread_update", |
| 1431 | 1437 | ); |