Skip to content

Commit 2eab80c

Browse files
committed
fix: Improve docs using apify-writing-style
1 parent 81810c4 commit 2eab80c

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Strands Agents Tools is a community-driven project that provides a powerful set
3838

3939
- 📁 **File Operations** - Read, write, and edit files with syntax highlighting and intelligent modifications
4040
- 🖥️ **Shell Integration** - Execute and interact with shell commands securely
41-
- 🧠 **Memory** - Store user and agent memories across agent runs to provide personalized experiences with Mem0, Amazon Bedrock Knowledge Bases, Elasticsearch, and MongoDB Atlas
41+
- 🧠 **Memory** - Store user and agent memories across agent runs to provide personalized experiences with both Mem0, Amazon Bedrock Knowledge Bases, Elasticsearch, and MongoDB Atlas
4242
- 🕸️ **Web Infrastructure** - Perform web searches, extract page content, and crawl websites with Tavily and Exa-powered tools
4343
- 🌐 **HTTP Client** - Make API requests with comprehensive authentication support
4444
- 💬 **Slack Client** - Real-time Slack events, message processing, and Slack API access
@@ -202,7 +202,7 @@ result = agent.tool.mcp_client(
202202
tool_args={"x": 10, "y": 20}
203203
)
204204

205-
# Connect to an SSE-based server
205+
# Connect to a SSE-based server
206206
agent.tool.mcp_client(
207207
action="connect",
208208
connection_id="web_server",
@@ -273,7 +273,7 @@ response = agent.tool.http_request(
273273
auth_token="your_token_here"
274274
)
275275

276-
# Convert HTML webpages to Markdown for better readability
276+
# Convert HTML webpages to markdown for better readability
277277
response = agent.tool.http_request(
278278
method="GET",
279279
url="https://example.com/article",

src/strands_tools/apify.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def apify_run_actor(
394394
run_input: JSON-serializable input for the Actor. Each Actor defines its own
395395
input schema - check the Actor README on Apify Store for required fields.
396396
timeout_secs: Maximum time in seconds to wait for the Actor run to finish. Defaults to 300.
397-
memory_mbytes: Memory allocation in MB for the Actor run. Uses Actor default if not set.
397+
memory_mbytes: Memory allocation in MB for the Actor run. Uses Actor default `memory` value if not set.
398398
build: Actor build tag or number to run a specific version. Uses latest build if not set.
399399
400400
Returns:
@@ -483,7 +483,7 @@ def apify_run_actor_and_get_dataset(
483483
run_input: JSON-serializable input for the Actor. Each Actor defines its own
484484
input schema - check the Actor README on Apify Store for required fields.
485485
timeout_secs: Maximum time in seconds to wait for the Actor run to finish. Defaults to 300.
486-
memory_mbytes: Memory allocation in MB for the Actor run. Uses Actor default if not set.
486+
memory_mbytes: Memory allocation in MB for the Actor run. Uses Actor default `memory` value if not set.
487487
build: Actor build tag or number to run a specific version. Uses latest build if not set.
488488
dataset_items_limit: Maximum number of dataset items to return. Defaults to 100.
489489
dataset_items_offset: Number of dataset items to skip for pagination. Defaults to 0.
@@ -538,7 +538,7 @@ def apify_run_task(
538538
task_id: Task identifier in "username/task-name" format or a task ID string.
539539
task_input: Optional JSON-serializable input to override the task's default input fields.
540540
timeout_secs: Maximum time in seconds to wait for the task run to finish. Defaults to 300.
541-
memory_mbytes: Memory allocation in MB for the task run. Uses task default if not set.
541+
memory_mbytes: Memory allocation in MB for the task run. Uses task default `memory` value if not set.
542542
543543
Returns:
544544
Dict with status and content containing run metadata: run_id, status, dataset_id,
@@ -587,7 +587,7 @@ def apify_run_task_and_get_dataset(
587587
task_id: Task identifier in "username/task-name" format or a task ID string.
588588
task_input: Optional JSON-serializable input to override the task's default input fields.
589589
timeout_secs: Maximum time in seconds to wait for the task run to finish. Defaults to 300.
590-
memory_mbytes: Memory allocation in MB for the task run. Uses task default if not set.
590+
memory_mbytes: Memory allocation in MB for the task run. Uses task default `memory` value if not set.
591591
dataset_items_limit: Maximum number of dataset items to return. Defaults to 100.
592592
dataset_items_offset: Number of dataset items to skip for pagination. Defaults to 0.
593593

0 commit comments

Comments
 (0)