get_news_article
Retrieve specific news articles from financial providers to support market analysis and trading decisions within the Interactive Brokers ecosystem.
Instructions
Get a news article.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider_code | Yes | ||
| article_id | Yes |
Implementation Reference
- src/ib_async_mcp/server.py:787-789 (handler)The handler logic for the 'get_news_article' tool, which uses ib.reqNewsArticleAsync to fetch the article.
if name == "get_news_article": article = await ib.reqNewsArticleAsync(args["provider_code"], args["article_id"]) return {"article_type": article.articleType, "text": article.articleText} - src/ib_async_mcp/server.py:398-409 (registration)The definition and registration of the 'get_news_article' tool with its input schema.
Tool( name="get_news_article", description="Get a news article.", inputSchema={ "type": "object", "properties": { "provider_code": {"type": "string"}, "article_id": {"type": "string"}, }, "required": ["provider_code", "article_id"], }, ),