Back to Prompt Library
implementation

Custom Tool Development for Media Agents

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: AI Media Trend Analyzer with LlamaIndex Agents and Llama 3.3 70B

Format
Text-first
Lines
1
Sections
1
Linked challenge
AI Media Trend Analyzer with LlamaIndex Agents and Llama 3.3 70B

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
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.

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Hold the task contract and output shape stable so generated implementations remain comparable.

Tune next

Update libraries, interfaces, and environment assumptions to match the stack you actually run.

Verify after

Test failure handling, edge cases, and any code paths that depend on hidden context or secrets.