You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| batch|`agent.tool.batch(invocations=[{"name": "current_time", "arguments": {"timezone": "Europe/London"}}, {"name": "stop", "arguments": {}}])`| Call multiple other tools in parallel. |
130
131
| browser |`browser = LocalChromiumBrowser(); agent = Agent(tools=[browser.browser])`| Web scraping, automated testing, form filling, web automation tasks |
132
+
| rss |`agent.tool.rss(action="subscribe", url="https://example.com/feed.xml", feed_id="tech_news")`| Manage RSS feeds: subscribe, fetch, read, search, and update content from various sources |
131
133
132
134
\**These tools do not work on windows*
133
135
@@ -450,6 +452,46 @@ response = agent("discover available agents and send a greeting message")
450
452
# - send_message(message_text, target_agent_url) to communicate
451
453
```
452
454
455
+
### RSS Feed Management
456
+
457
+
```python
458
+
from strands import Agent
459
+
from strands_tools import rss
460
+
461
+
agent = Agent(tools=[rss])
462
+
463
+
# Subscribe to a feed
464
+
result = agent.tool.rss(
465
+
action="subscribe",
466
+
url="https://news.example.com/rss/technology"
467
+
)
468
+
469
+
# List all subscribed feeds
470
+
feeds = agent.tool.rss(action="list")
471
+
472
+
# Read entries from a specific feed
473
+
entries = agent.tool.rss(
474
+
action="read",
475
+
feed_id="news_example_com_technology",
476
+
max_entries=5,
477
+
include_content=True
478
+
)
479
+
480
+
# Search across all feeds
481
+
search_results = agent.tool.rss(
482
+
action="search",
483
+
query="machine learning",
484
+
max_entries=10
485
+
)
486
+
487
+
# Fetch feed content without subscribing
488
+
latest_news = agent.tool.rss(
489
+
action="fetch",
490
+
url="https://blog.example.org/feed",
491
+
max_entries=3
492
+
)
493
+
```
494
+
453
495
## 🌍 Environment Variables Configuration
454
496
455
497
Agents Tools provides extensive customization through environment variables. This allows you to configure tool behavior without modifying code, making it ideal for different environments (development, testing, production).
@@ -605,6 +647,13 @@ The Mem0 Memory Tool supports three different backend configurations:
605
647
| STRANDS_BROWSER_WIDTH | Default width of the browser | 1280 |
606
648
| STRANDS_BROWSER_HEIGHT | Default height of the browser | 800 |
607
649
650
+
#### RSS Tool
651
+
652
+
| Environment Variable | Description | Default |
653
+
|----------------------|-------------|---------|
654
+
| STRANDS_RSS_MAX_ENTRIES | Default setting for maximum number of entries per feed | 100 |
655
+
| STRANDS_RSS_UPDATE_INTERVAL | Default amount of time between updating rss feeds in minutes | 60 |
656
+
| STRANDS_RSS_STORAGE_PATH | Default storage path where rss feeds are stored locally |~/.strands/rss_feeds |
0 commit comments