From 77789ae3b9e1bea8c3b94f4a93a5aeaeae238534 Mon Sep 17 00:00:00 2001 From: Bedis Nbiba Date: Wed, 2 Apr 2025 13:00:14 +0100 Subject: [PATCH 1/2] docs: fix readResource call --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a959ae3d..4c086f1b 100644 --- a/README.md +++ b/README.md @@ -478,7 +478,7 @@ const prompt = await client.getPrompt("example-prompt", { const resources = await client.listResources(); // Read a resource -const resource = await client.readResource("file:///example.txt"); +const resource = await client.readResource({uri: "file:///example.txt"}); // Call a tool const result = await client.callTool({ From 262edd827c5b925ea5a917f13f2eb8d9be8e6ba2 Mon Sep 17 00:00:00 2001 From: Bedis Nbiba Date: Wed, 2 Apr 2025 13:03:22 +0100 Subject: [PATCH 2/2] fmt --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c086f1b..bfcd74c4 100644 --- a/README.md +++ b/README.md @@ -478,7 +478,7 @@ const prompt = await client.getPrompt("example-prompt", { const resources = await client.listResources(); // Read a resource -const resource = await client.readResource({uri: "file:///example.txt"}); +const resource = await client.readResource({ uri: "file:///example.txt" }); // Call a tool const result = await client.callTool({