Skip to content

Commit 6f5c7cf

Browse files
authored
updated the google news MCP server docs to the new tool name (#589)
1 parent 1cbba1f commit 6f5c7cf

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

app/en/mcp-servers/search/google_news/page.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ The Arcade Google News MCP Server provides a pre-built set of tools for interact
2525
<TableOfContents
2626
headers={["Tool Name", "Description"]}
2727
data={[
28-
["GoogleNews.SearchNews", "Search for news stories with Google News."],
28+
[
29+
"GoogleNews.SearchNewsStories",
30+
"Search for news stories with Google News.",
31+
],
2932
]}
3033
/>
3134

@@ -35,7 +38,7 @@ The Arcade Google News MCP Server provides a pre-built set of tools for interact
3538
tools](/home/build-tools/create-a-mcp-server).
3639
</Callout>
3740

38-
## GoogleNews.SearchNews
41+
## GoogleNews.SearchNewsStories
3942

4043
<br />
4144
<TabbedCodeBlock
@@ -58,7 +61,7 @@ Search for news stories with Google News.
5861

5962
**Parameters**
6063

61-
- **`query`** _(string, required)_ Keywords to search for news articles. E.g. 'Apple launches new iPhone'.
64+
- **`keywords`** _(string, required)_ Keywords to search for news articles. E.g. 'Apple launches new iPhone'.
6265
- **`country_code`** _(string, optional, Defaults to `None`)_ 2-character country code to search for news articles. E.g. 'us' (United States). Defaults to `None` (search news globally).
6366
- **`language`** _(string, optional, Defaults to 'en' English)_ 2-character language code to search for news articles. E.g. 'en' (English). Defaults to 'en' (English).
6467
- **`limit`** _(int, optional, Defaults to `None`)_ Maximum number of news articles to return. Defaults to None (returns all results found by the API).

public/examples/integrations/mcp-servers/search/google_news/search_news_example_call_tool.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ 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 = "GoogleNews.SearchNews";
6+
const TOOL_NAME = "GoogleNews.SearchNewsStories";
77

88
const toolInput = {
9-
query: "Apple's new iPhone",
9+
keywords: "Apple's new iPhone",
1010
};
1111

1212
const response = await client.tools.execute({

public/examples/integrations/mcp-servers/search/google_news/search_news_example_call_tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable
44

55
USER_ID = "{arcade_user_id}"
6-
TOOL_NAME = "GoogleNews.SearchNews"
6+
TOOL_NAME = "GoogleNews.SearchNewsStories"
77

88
tool_input = {
9-
"query": "Apple's new iPhone",
9+
"keywords": "Apple's new iPhone",
1010
}
1111

1212
response = client.tools.execute(

0 commit comments

Comments
 (0)