Custom Tool Development for Media Agents

implementationChallenge

Prompt Content

Develop at least two custom tools for your LlamaIndex agents: a 'Content Classification Tool' that takes media metadata and outputs a standardized content type (e.g., 'Podcast', 'AI-Generated Music'), and a 'Stream Data Retriever Tool' that fetches simulated stream counts. Show how the 'Media Content Analyst' agent utilizes these tools for its analysis. Provide Python code for tool definitions and agent invocation.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

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