parent
d474c570e4
commit
f02952aa81
2 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ async function runClient(url_or_command: string, args: string[]) {
|
|||
await client.connect(clientTransport);
|
||||
console.log("Initialized.");
|
||||
|
||||
await client.request({ method: "resources/list", params: {} }, ListResourcesResultSchema);
|
||||
await client.request({ method: "resources/list" }, ListResourcesResultSchema);
|
||||
|
||||
await client.close();
|
||||
console.log("Closed.");
|
||||
|
|
|
|||
|
|
@ -350,7 +350,7 @@ export const PaginatedRequestSchema = RequestSchema.extend({
|
|||
* If provided, the server should return results starting after this cursor.
|
||||
*/
|
||||
cursor: z.optional(CursorSchema),
|
||||
}),
|
||||
}).optional(),
|
||||
});
|
||||
|
||||
export const PaginatedResultSchema = ResultSchema.extend({
|
||||
|
|
|
|||
Loading…
Reference in a new issue