tools.call name="news.fetch" params={
  "limit": 20,
  "minImportance": 5,
  "symbol": "AAPL",
  "startDate": "2024-01-01T00:00:00.000Z",
  "endDate": "2024-01-31T23:59:59.999Z"
}
{
  "summary": "Returned 20 articles",
  "payload": {
    "items": [
      { "_id": "67850d7b0123456789abcdef", "title": "...", "importanceScore": 8 }
    ],
    "nextCursor": "67850d7b0123456789abcde0",
    "hasMore": true
  }
}

Description

news.fetch proxies Byul’s GET /news. Parameters are identical to the REST API.

Parameters

limit
integer
default:"10"
Number of articles (1-100)
cursor
string
Pagination cursor
sinceId
string
Articles created after this ID
minImportance
integer
default:"1"
Minimum importance (1-10)
q
string
Search query
symbol
string
Stock symbol
startDate
string
Start time (ISO 8601, UTC)
endDate
string
End time (ISO 8601, UTC)

Request/Response Examples

tools.call name="news.fetch" params={
  "limit": 20,
  "minImportance": 5,
  "symbol": "AAPL",
  "startDate": "2024-01-01T00:00:00.000Z",
  "endDate": "2024-01-31T23:59:59.999Z"
}
{
  "summary": "Returned 20 articles",
  "payload": {
    "items": [
      { "_id": "67850d7b0123456789abcdef", "title": "...", "importanceScore": 8 }
    ],
    "nextCursor": "67850d7b0123456789abcde0",
    "hasMore": true
  }
}
The payload structure matches the REST API GET /news response.