Skip to content

Commit 4a240e1

Browse files
authored
Fix error in Reddit tool name, update py/js examples (#461)
fix error in reddit tool name and py/js examples
1 parent c05dbcb commit 4a240e1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/en/mcp-servers/social-communication/reddit/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ These tools are currently available in the Arcade Reddit MCP Sever.
5050
"Get content (body) of multiple Reddit posts.",
5151
],
5252
[
53-
"Reddit.GetTopLevelCommentsOfPost",
53+
"Reddit.GetTopLevelComments",
5454
"Get the first page of top-level comments of a Reddit post.",
5555
],
5656
[
@@ -245,7 +245,7 @@ Get the content (body) of multiple Reddit posts by their identifiers in a single
245245

246246
---
247247

248-
## Reddit.GetTopLevelCommentsOfPost
248+
## Reddit.GetTopLevelComments
249249

250250
<br />
251251
<TabbedCodeBlock

public/examples/integrations/mcp-servers/reddit/get_top_level_comments_of_post_example_call_tool.js renamed to public/examples/integrations/mcp-servers/reddit/get_top_level_comments_example_call_tool.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Arcade } from "@arcadeai/arcadejs";
33
const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable
44

55
const USER_ID = "{arcade_user_id}";
6-
const TOOL_NAME = "Reddit.GetTopLevelCommentsOfPost";
6+
const TOOL_NAME = "Reddit.GetTopLevelComments";
77

88
// Start the authorization process
99
const authResponse = await client.tools.authorize({
@@ -29,4 +29,4 @@ const response = await client.tools.execute({
2929
user_id: USER_ID,
3030
});
3131

32-
console.log(response.output.value);
32+
console.log(response.output.value);

public/examples/integrations/mcp-servers/reddit/get_top_level_comments_of_post_example_call_tool.py renamed to public/examples/integrations/mcp-servers/reddit/get_top_level_comments_example_call_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable
44

55
USER_ID = "{arcade_user_id}"
6-
TOOL_NAME = "Reddit.GetTopLevelCommentsOfPost"
6+
TOOL_NAME = "Reddit.GetTopLevelComments"
77

88
auth_response = client.tools.authorize(
99
tool_name=TOOL_NAME,

0 commit comments

Comments
 (0)