Prompt Content
Initialize your **Claude Agent** using the **Claude Agents SDK** with **Claude Opus 4.1**. Define a custom tool (`retrieve_document_chunks(query: str) -> List[str]`) that queries your Weaviate instance and returns the top-k most relevant document chunks. The agent should be able to use this tool when asked to analyze a document or a specific legal concept. Provide the agent initialization code and the tool definition.
Try this prompt
Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.
Related Prompts
Explore similar prompts from our community
Usage Tips
Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)
Customize placeholder values with your specific requirements and context
For best results, provide clear examples and test different variations