|
12 | 12 | def search_docs(query: str, k: int = 5) -> List[Dict[str, Any]]:
|
13 | 13 | """Search curated documentation and return ranked results with snippets.
|
14 | 14 |
|
| 15 | + This tool provides access to the complete Strands Agents documentation including: |
| 16 | + |
| 17 | + **User Guide Topics:** |
| 18 | + - Agent concepts (agent loop, conversation management, hooks, prompts, state) |
| 19 | + - Model providers (Amazon Bedrock, Anthropic, Cohere, LiteLLM, LlamaAPI, MistralAI, Ollama, OpenAI, SageMaker, Writer) |
| 20 | + - Multi-agent patterns (Agent2Agent, Agents as Tools, Graph, Swarm, Workflow) |
| 21 | + - Tools (Python tools, MCP tools, community tools, executors) |
| 22 | + - Deployment guides (EC2, EKS, Fargate, Lambda, Bedrock AgentCore) |
| 23 | + - Observability & evaluation (logs, metrics, traces, evaluation) |
| 24 | + - Safety & security (guardrails, PII redaction, responsible AI) |
| 25 | + |
| 26 | + **API Reference:** |
| 27 | + - Complete API documentation for Agent, Models, Tools, Handlers, etc. |
| 28 | + |
| 29 | + **Examples:** |
| 30 | + - Code samples and implementation examples |
| 31 | + |
| 32 | + Use this to find relevant Strands Agents documentation for any development question. |
| 33 | +
|
15 | 34 | Args:
|
16 |
| - query: Search query string |
| 35 | + query: Search query string (e.g., "bedrock model", "tell me about a2a", "how to use MCP tools") |
17 | 36 | k: Maximum number of results to return (default: 5)
|
18 | 37 |
|
19 | 38 | Returns:
|
@@ -57,6 +76,19 @@ def search_docs(query: str, k: int = 5) -> List[Dict[str, Any]]:
|
57 | 76 | def fetch_doc(uri: str) -> Dict[str, Any]:
|
58 | 77 | """Fetch full document content by URL.
|
59 | 78 |
|
| 79 | + Retrieves complete Strands Agents documentation content from URLs found via search_docs |
| 80 | + or provided directly. Use this to get full documentation pages including: |
| 81 | + |
| 82 | + - Complete user guides with code examples |
| 83 | + - Detailed API reference documentation |
| 84 | + - Step-by-step tutorials and implementation guides |
| 85 | + - Full deployment and configuration instructions |
| 86 | + - Comprehensive multi-agent pattern examples |
| 87 | + - Complete model provider setup guides |
| 88 | + |
| 89 | + This provides the full content when search snippets aren't sufficient for |
| 90 | + understanding or implementing Strands Agents features. |
| 91 | +
|
60 | 92 | Args:
|
61 | 93 | uri: Document URI (supports http/https URLs)
|
62 | 94 |
|
|
0 commit comments