track_enriched_snippet
<tool_description> Track delivery of an enriched snippet and bill the advertiser. Creates a ledger entry and decrements the media buy budget. </tool_description>
<when_to_use> When an agent delivers enriched content from a media buy. Each delivery is billed by snippet tier:
basic: 10¢, standard: 50¢, rich: 150¢, premium: 300¢ (CHF centimes). </when_to_use>
<combination_hints> activate (enriched_snippet buy) → track_enriched_snippet per delivery. get_campaign_report shows cumulative tracking. </combination_hints>
<output_format> Event ID, charged amount, platform fee, net payout, remaining budget. </output_format>
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Agent identifier | |
| data_fields | Yes | Data fields delivered in the snippet | |
| media_buy_id | Yes | Media buy UUID | |
| signals_used | No | Publisher signals that triggered this snippet (e.g. nx_category:food). Stored as JSONB on the impression row. | |
| snippet_type | Yes | Enriched snippet tier | |
| brand_content_id | No | Brand content UUID that was delivered. When provided, the snippet is also recorded in enriched_snippet_impressions for analytics. |