Skip to content

Commit cf2ebaf

Browse files
authored
Windows: Remove cron tool + document missing tools when on windows (#33)
The tool can be imported and run, but without the crontab binary, it's useless on windows
1 parent 61dd8a0 commit cf2ebaf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Strands comes with a comprehensive set of built-in tools:
7272

7373
- **agent_graph**: Create and manage graphs of agents
7474
- **calculator**: Perform mathematical operations
75-
- **cron**: Task scheduling with cron jobs
75+
- **cron**: Task scheduling with cron jobs *(not available on Windows)*
7676
- **current_time**: Get the current date and time
7777
- **editor**: File editing operations like line edits, search, and undo
7878
- **environment**: Manage environment variables
@@ -83,9 +83,9 @@ Strands comes with a comprehensive set of built-in tools:
8383
- **load_tool**: Dynamically load more tools at runtime
8484
- **memory**: Agent memory persistence in Amazon Bedrock Knowledge Bases
8585
- **nova_reels**: Create AI generated videos with Nova Reels on Amazon Bedrock
86-
- **python_repl**: Run Python code
86+
- **python_repl**: Run Python code *(not available on Windows)*
8787
- **retrieve**: Semantically retrieve data from Amazon Bedrock Knowledge Bases for RAG, memory, and other purposes
88-
- **shell**: Execute shell commands
88+
- **shell**: Execute shell commands *(not available on Windows)*
8989
- **slack**: Slack integration with real-time events, API access, and message sending
9090
- **speak**: Generate speech from text using macOS say command or Amazon Polly
9191
- **stop**: Force stop the agent event loop

src/strands_agents_builder/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def get_tools() -> dict[str, Any]:
4949
tools = {
5050
"agent_graph": agent_graph,
5151
"calculator": calculator,
52-
"cron": cron,
5352
"current_time": current_time,
5453
"editor": editor,
5554
"environment": environment,
@@ -86,6 +85,7 @@ def get_tools() -> dict[str, Any]:
8685
)
8786

8887
tools |= {
88+
"cron": cron,
8989
"python_repl": python_repl,
9090
"shell": shell,
9191
}

0 commit comments

Comments
 (0)