get_poems_for_enrichment
Retrieve poems requiring theme analysis to enhance their metadata classification. Provides poems with minimal tags for systematic theme identification and enrichment.
Instructions
Get batch of poems needing theme enrichment for agent analysis.
Returns poems with minimal or no tags for YOU (the agent) to analyze. YOU suggest which themes apply to each poem.
Args: poem_ids: List of poem IDs (None = all untagged/lightly-tagged poems) max_poems: Maximum poems to return (default 50)
Returns: Dictionary with: - poems: List of poem data (id, title, content, current_tags) - available_themes: Theme options with descriptions - instructions: Batch analysis guidance
Example workflow: ``` # 1. Get poems needing enrichment data = await get_poems_for_enrichment(max_poems=10)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poem_ids | No | ||
| max_poems | No |