@dynamoi/mcp 0.4.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2,17 +2,22 @@ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
  import * as z from 'zod/v4';
3
3
 
4
4
  type ProtectedResourceMetadata = {
5
- resource: string;
6
5
  authorization_servers: string[];
6
+ bearer_methods_supported: ["header"];
7
+ resource: string;
8
+ resource_documentation?: string;
7
9
  scopes_supported: string[];
8
10
  };
11
+ declare const DYNAMOI_MCP_SCOPES: readonly ["email", "profile", "dynamoi:read", "dynamoi:campaign.write", "dynamoi:campaign.launch", "dynamoi:billing.read", "dynamoi:platform.read", "dynamoi:smart_links.write", "dynamoi:audit.read", "dynamoi:admin"];
9
12
  declare function buildProtectedResourceMetadata(options: {
10
13
  resource: string;
11
14
  authorizationServers: string[];
15
+ resourceDocumentation?: string;
12
16
  scopesSupported?: string[];
13
17
  }): ProtectedResourceMetadata;
14
18
  declare function buildWwwAuthenticateHeader(options: {
15
19
  resourceMetadataUrl: string;
20
+ error?: "insufficient_scope" | "invalid_token";
16
21
  scope?: string;
17
22
  }): string;
18
23
 
@@ -22,6 +27,7 @@ type VerifiedAccessToken = {
22
27
  aud: string | string[] | undefined;
23
28
  exp: number;
24
29
  clientId: string | null;
30
+ scopes: string[];
25
31
  };
26
32
  type VerifyAccessTokenOptions = {
27
33
  token: string;
@@ -77,6 +83,7 @@ type SearchData = {
77
83
  name: string;
78
84
  status?: string;
79
85
  artistName?: string;
86
+ resultReason?: string;
80
87
  }>;
81
88
  nextCursor?: string;
82
89
  };
@@ -96,6 +103,125 @@ type GetCurrentUserData = {
96
103
  artistCount: number;
97
104
  hints: string[];
98
105
  };
106
+ type SmartLinkClaimStatus = "auto_approved" | "pending_ops_review" | "approved_by_ops" | "rejected";
107
+ type SmartLinkPublishState = "published" | "unpublished";
108
+ type SmartLinkTakedownStatus = "none" | "active" | "resolved";
109
+ type SmartLinkOdesliStatus = "pending" | "resolved" | "failed";
110
+ type SmartLinkRenderState = "queued" | "rendering" | "rendered" | "failed";
111
+ type SmartLinkTheme = "classic" | "brutalist" | "aurora" | "cinematic";
112
+ type SmartLinkSummary = {
113
+ id: string;
114
+ artistId: string;
115
+ artistName: string;
116
+ releaseTitle: string;
117
+ releaseType: string;
118
+ releaseSlug: string;
119
+ spotifyUrl: string | null;
120
+ publicUrl: string;
121
+ localizedPublicUrls?: string[];
122
+ isPublic: boolean;
123
+ claimStatus: SmartLinkClaimStatus;
124
+ publishState: SmartLinkPublishState;
125
+ takedownStatus: SmartLinkTakedownStatus;
126
+ odesliStatus: SmartLinkOdesliStatus;
127
+ renderState: SmartLinkRenderState;
128
+ theme: SmartLinkTheme;
129
+ createdAt: string;
130
+ updatedAt: string;
131
+ };
132
+ type SmartLinkSettingsData = {
133
+ artistId: string;
134
+ artistName: string;
135
+ isEnabled: boolean;
136
+ defaultTheme: SmartLinkTheme;
137
+ pixels: {
138
+ metaPixelId: string | null;
139
+ tiktokPixelId: string | null;
140
+ googleAdsConversionId: string | null;
141
+ };
142
+ availableThemes: SmartLinkTheme[];
143
+ summary?: string;
144
+ };
145
+ type ListSmartLinksData = {
146
+ smartLinks: SmartLinkSummary[];
147
+ nextCursor?: string;
148
+ };
149
+ type ListSmartLinksSummaryData = {
150
+ summary: string;
151
+ totalCount: number;
152
+ nextCursor?: string;
153
+ };
154
+ type GetSmartLinkData = SmartLinkSummary & {
155
+ customDescription: string | null;
156
+ originalSpotifyUrl: string | null;
157
+ spotifyDiscographyId: string;
158
+ resourceUri: string;
159
+ settingsResourceUri: string;
160
+ nextActions: string[];
161
+ warnings?: string[];
162
+ actionRequired?: string[];
163
+ };
164
+ type GetSmartLinkSummaryData = {
165
+ summary: string;
166
+ warnings?: string[];
167
+ actionRequired?: string[];
168
+ };
169
+ type SmartLinkAnalyticsTotals = {
170
+ anonymousVisits: number;
171
+ streamingServiceClicks: number;
172
+ shareClicks: number;
173
+ promoteCtaClicks: number;
174
+ };
175
+ type GetSmartLinkAnalyticsData = {
176
+ playLinkId: string;
177
+ artistId: string;
178
+ releaseTitle: string;
179
+ dateRange: {
180
+ start: string;
181
+ end: string;
182
+ };
183
+ totals: SmartLinkAnalyticsTotals;
184
+ daily?: Array<SmartLinkAnalyticsTotals & {
185
+ date: string;
186
+ }>;
187
+ breakdowns?: {
188
+ serviceClicks?: Record<string, number>;
189
+ countryViews?: Record<string, number>;
190
+ countryClicks?: Record<string, number>;
191
+ referrerViews?: Record<string, number>;
192
+ referrerClicks?: Record<string, number>;
193
+ utmViews?: Record<string, number>;
194
+ utmClicks?: Record<string, number>;
195
+ deviceViews?: Record<string, number>;
196
+ deviceClicks?: Record<string, number>;
197
+ localeViews?: Record<string, number>;
198
+ localeClicks?: Record<string, number>;
199
+ themeViews?: Record<string, number>;
200
+ themeClicks?: Record<string, number>;
201
+ };
202
+ warnings?: string[];
203
+ };
204
+ type GetSmartLinkAnalyticsSummaryData = {
205
+ summary: string;
206
+ warnings?: string[];
207
+ };
208
+ type CreateSmartLinkFromSpotifyData = GetSmartLinkData & {
209
+ outcome: "created" | "existing";
210
+ workflowRunId: string | null;
211
+ workflowWarning: string | null;
212
+ };
213
+ type UpdateSmartLinkData = GetSmartLinkData & {
214
+ renderRunId: string | null;
215
+ renderWarning: string | null;
216
+ };
217
+ type UpdateSmartLinkArtistSettingsData = SmartLinkSettingsData & {
218
+ renderQueuedCount: number;
219
+ renderWarning: string | null;
220
+ };
221
+ type PublishSmartLinkData = GetSmartLinkData & {
222
+ workflowRunId: string | null;
223
+ workflowWarning: string | null;
224
+ };
99
225
  type GetCurrentUserSummaryData = {
100
226
  summary: string;
101
227
  organizationCount: number;
@@ -165,6 +291,7 @@ type ListCampaignsSummaryData = {
165
291
  nextCursor?: string;
166
292
  };
167
293
  type GetCampaignData = {
294
+ summary: string;
168
295
  id: string;
169
296
  contentTitle: string;
170
297
  contentType: "TRACK" | "ALBUM" | "PLAYLIST" | "VIDEO";
@@ -276,10 +403,32 @@ type GetArtistAnalyticsJsonData = {
276
403
  clicks: number;
277
404
  spend: MoneyDisplay;
278
405
  }>;
406
+ strongestCampaign?: {
407
+ campaignId: string;
408
+ contentTitle: string;
409
+ status: string;
410
+ impressions: number;
411
+ clicks: number;
412
+ spend: MoneyDisplay;
413
+ };
279
414
  warnings?: string[];
280
415
  };
281
416
  type GetArtistAnalyticsSummaryData = {
282
417
  summary: string;
418
+ campaignCount?: number;
419
+ dateRange?: {
420
+ start: string;
421
+ end: string;
422
+ };
423
+ hasDailyBreakdown?: boolean;
424
+ strongestCampaign?: {
425
+ campaignId: string;
426
+ contentTitle: string;
427
+ status: string;
428
+ impressions: number;
429
+ clicks: number;
430
+ spend: MoneyDisplay;
431
+ };
283
432
  warnings?: string[];
284
433
  };
285
434
  type GetBillingData = {
@@ -346,6 +495,8 @@ type PauseResumeCampaignData = {
346
495
  contentTitle: string;
347
496
  newStatus: "PAUSED" | "ACTIVE";
348
497
  platformResults: PauseResumePlatformResult[];
498
+ warnings?: string[];
499
+ actionRequired?: string[];
349
500
  };
350
501
  type UpdateBudgetData = {
351
502
  id: string;
@@ -354,10 +505,13 @@ type UpdateBudgetData = {
354
505
  newBudget: MoneyDisplay;
355
506
  budgetType: "DAILY" | "TOTAL";
356
507
  endDate?: string;
508
+ warnings?: string[];
509
+ actionRequired?: string[];
357
510
  };
358
511
  type MediaAssetSummary = {
359
512
  id: string;
360
- url: string;
513
+ url?: string;
514
+ urlExpiresAt?: string;
361
515
  fileType: string;
362
516
  fileName?: string;
363
517
  width?: number;
@@ -375,6 +529,7 @@ type ListMediaAssetsSummaryData = {
375
529
  nextCursor?: string;
376
530
  };
377
531
  type LaunchCampaignData = {
532
+ summary: string;
378
533
  id: string;
379
534
  contentTitle: string;
380
535
  campaignType: CampaignType;
@@ -382,7 +537,10 @@ type LaunchCampaignData = {
382
537
  budget: MoneyDisplay;
383
538
  budgetType: "DAILY" | "TOTAL";
384
539
  platforms: string[];
540
+ deliveryState: "ACTIVE" | "PENDING_REVIEW" | "CONTENT_VALIDATION";
541
+ isLive: boolean;
385
542
  nextSteps: string[];
543
+ warnings?: string[];
386
544
  };
387
545
 
388
546
  type Phase3Adapter = {
@@ -401,30 +559,852 @@ type Phase3Adapter = {
401
559
  updateBudget(input: unknown): Promise<ResultEnvelope<UpdateBudgetData>>;
402
560
  listMediaAssets(input: unknown): Promise<ResultEnvelope<ListMediaAssetsData | ListMediaAssetsSummaryData>>;
403
561
  launchCampaign(input: unknown): Promise<ResultEnvelope<LaunchCampaignData>>;
562
+ createSmartLinkFromSpotify(input: unknown): Promise<ResultEnvelope<CreateSmartLinkFromSpotifyData>>;
563
+ listSmartLinks(input: unknown): Promise<ResultEnvelope<ListSmartLinksData | ListSmartLinksSummaryData>>;
564
+ getSmartLink(input: unknown): Promise<ResultEnvelope<GetSmartLinkData | GetSmartLinkSummaryData>>;
565
+ getSmartLinkAnalytics(input: unknown): Promise<ResultEnvelope<GetSmartLinkAnalyticsData | GetSmartLinkAnalyticsSummaryData>>;
566
+ getSmartLinkArtistSettings(input: unknown): Promise<ResultEnvelope<SmartLinkSettingsData>>;
567
+ updateSmartLink(input: unknown): Promise<ResultEnvelope<UpdateSmartLinkData>>;
568
+ updateSmartLinkArtistSettings(input: unknown): Promise<ResultEnvelope<UpdateSmartLinkArtistSettingsData>>;
569
+ publishSmartLink(input: unknown): Promise<ResultEnvelope<PublishSmartLinkData>>;
570
+ unpublishSmartLink(input: unknown): Promise<ResultEnvelope<PublishSmartLinkData>>;
404
571
  };
405
572
  declare function createDynamoiMcpServer(options: {
406
573
  adapter: Phase3Adapter;
574
+ websiteUrl?: string;
407
575
  }): McpServer;
408
576
 
577
+ declare const DynamoiCreateSmartLinkFromSpotifyInputSchema: z.ZodObject<{
578
+ artistId: z.ZodString;
579
+ clientRequestId: z.ZodOptional<z.ZodString>;
580
+ customDescription: z.ZodOptional<z.ZodString>;
581
+ format: z.ZodOptional<z.ZodEnum<{
582
+ summary: "summary";
583
+ json: "json";
584
+ }>>;
585
+ spotifyUrl: z.ZodString;
586
+ userIntentSummary: z.ZodOptional<z.ZodString>;
587
+ }, z.core.$strict>;
588
+ declare const DynamoiListSmartLinksInputSchema: z.ZodObject<{
589
+ claimStatus: z.ZodOptional<z.ZodEnum<{
590
+ auto_approved: "auto_approved";
591
+ pending_ops_review: "pending_ops_review";
592
+ approved_by_ops: "approved_by_ops";
593
+ rejected: "rejected";
594
+ }>>;
595
+ publishState: z.ZodOptional<z.ZodEnum<{
596
+ published: "published";
597
+ unpublished: "unpublished";
598
+ }>>;
599
+ renderState: z.ZodOptional<z.ZodEnum<{
600
+ failed: "failed";
601
+ queued: "queued";
602
+ rendering: "rendering";
603
+ rendered: "rendered";
604
+ }>>;
605
+ artistId: z.ZodString;
606
+ cursor: z.ZodOptional<z.ZodString>;
607
+ format: z.ZodOptional<z.ZodEnum<{
608
+ summary: "summary";
609
+ json: "json";
610
+ }>>;
611
+ limit: z.ZodOptional<z.ZodNumber>;
612
+ query: z.ZodOptional<z.ZodString>;
613
+ }, z.core.$strict>;
614
+ declare const DynamoiGetSmartLinkInputSchema: z.ZodObject<{
615
+ artistId: z.ZodOptional<z.ZodString>;
616
+ format: z.ZodOptional<z.ZodEnum<{
617
+ summary: "summary";
618
+ json: "json";
619
+ }>>;
620
+ playLinkId: z.ZodOptional<z.ZodString>;
621
+ spotifyUrl: z.ZodOptional<z.ZodString>;
622
+ }, z.core.$strict>;
623
+ declare const DynamoiGetSmartLinkAnalyticsInputSchema: z.ZodObject<{
624
+ dateRange: z.ZodOptional<z.ZodObject<{
625
+ end: z.ZodString;
626
+ start: z.ZodString;
627
+ }, z.core.$strict>>;
628
+ format: z.ZodOptional<z.ZodEnum<{
629
+ summary: "summary";
630
+ json: "json";
631
+ }>>;
632
+ granularity: z.ZodOptional<z.ZodEnum<{
633
+ DAILY: "DAILY";
634
+ TOTAL: "TOTAL";
635
+ }>>;
636
+ includeBreakdowns: z.ZodOptional<z.ZodBoolean>;
637
+ playLinkId: z.ZodString;
638
+ }, z.core.$strict>;
639
+ declare const DynamoiGetSmartLinkArtistSettingsInputSchema: z.ZodObject<{
640
+ artistId: z.ZodString;
641
+ format: z.ZodOptional<z.ZodEnum<{
642
+ summary: "summary";
643
+ json: "json";
644
+ }>>;
645
+ }, z.core.$strict>;
646
+ declare const DynamoiUpdateSmartLinkInputSchema: z.ZodObject<{
647
+ clientRequestId: z.ZodOptional<z.ZodString>;
648
+ customDescription: z.ZodNullable<z.ZodString>;
649
+ expectedUpdatedAt: z.ZodOptional<z.ZodString>;
650
+ playLinkId: z.ZodString;
651
+ userIntentSummary: z.ZodOptional<z.ZodString>;
652
+ }, z.core.$strict>;
653
+ declare const DynamoiUpdateSmartLinkArtistSettingsInputSchema: z.ZodObject<{
654
+ artistId: z.ZodString;
655
+ clientRequestId: z.ZodOptional<z.ZodString>;
656
+ googleAdsConversionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
657
+ metaPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
658
+ theme: z.ZodOptional<z.ZodEnum<{
659
+ classic: "classic";
660
+ brutalist: "brutalist";
661
+ aurora: "aurora";
662
+ cinematic: "cinematic";
663
+ }>>;
664
+ tiktokPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
665
+ userIntentSummary: z.ZodOptional<z.ZodString>;
666
+ }, z.core.$strict>;
667
+ declare const DynamoiPublishSmartLinkInputSchema: z.ZodObject<{
668
+ clientRequestId: z.ZodOptional<z.ZodString>;
669
+ expectedPublishState: z.ZodOptional<z.ZodEnum<{
670
+ published: "published";
671
+ unpublished: "unpublished";
672
+ }>>;
673
+ playLinkId: z.ZodString;
674
+ userIntentSummary: z.ZodOptional<z.ZodString>;
675
+ }, z.core.$strict>;
676
+ declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
677
+ readonly description: "Use this when the user wants to create a free Dynamoi Smart Link from a Spotify artist, album, or track URL/URI. Smart Links are free: no per-link fee, no subscription requirement, and no upgrade gate. This does not create a paid ad campaign. Spotify playlist URLs are not supported today. If the Smart Link already exists, return the existing link instead of creating a duplicate.";
678
+ readonly destructiveHint: false;
679
+ readonly idempotentHint: true;
680
+ readonly name: "dynamoi_create_smart_link_from_spotify";
681
+ readonly openWorldHint: true;
682
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
683
+ data: z.ZodObject<{
684
+ artistId: z.ZodString;
685
+ artistName: z.ZodString;
686
+ claimStatus: z.ZodEnum<{
687
+ auto_approved: "auto_approved";
688
+ pending_ops_review: "pending_ops_review";
689
+ approved_by_ops: "approved_by_ops";
690
+ rejected: "rejected";
691
+ }>;
692
+ createdAt: z.ZodString;
693
+ id: z.ZodString;
694
+ isPublic: z.ZodBoolean;
695
+ localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
696
+ odesliStatus: z.ZodEnum<{
697
+ resolved: "resolved";
698
+ pending: "pending";
699
+ failed: "failed";
700
+ }>;
701
+ publicUrl: z.ZodString;
702
+ publishState: z.ZodEnum<{
703
+ published: "published";
704
+ unpublished: "unpublished";
705
+ }>;
706
+ releaseSlug: z.ZodString;
707
+ releaseTitle: z.ZodString;
708
+ releaseType: z.ZodString;
709
+ renderState: z.ZodEnum<{
710
+ failed: "failed";
711
+ queued: "queued";
712
+ rendering: "rendering";
713
+ rendered: "rendered";
714
+ }>;
715
+ spotifyUrl: z.ZodNullable<z.ZodString>;
716
+ takedownStatus: z.ZodEnum<{
717
+ none: "none";
718
+ active: "active";
719
+ resolved: "resolved";
720
+ }>;
721
+ theme: z.ZodEnum<{
722
+ classic: "classic";
723
+ brutalist: "brutalist";
724
+ aurora: "aurora";
725
+ cinematic: "cinematic";
726
+ }>;
727
+ updatedAt: z.ZodString;
728
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
729
+ customDescription: z.ZodNullable<z.ZodString>;
730
+ nextActions: z.ZodArray<z.ZodString>;
731
+ originalSpotifyUrl: z.ZodNullable<z.ZodString>;
732
+ resourceUri: z.ZodString;
733
+ settingsResourceUri: z.ZodString;
734
+ spotifyDiscographyId: z.ZodString;
735
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
736
+ outcome: z.ZodEnum<{
737
+ created: "created";
738
+ existing: "existing";
739
+ }>;
740
+ workflowRunId: z.ZodNullable<z.ZodString>;
741
+ workflowWarning: z.ZodNullable<z.ZodString>;
742
+ }, z.core.$strict>;
743
+ status: z.ZodLiteral<"success">;
744
+ }, z.core.$strip>, z.ZodObject<{
745
+ kind: z.ZodOptional<z.ZodEnum<{
746
+ validation: "validation";
747
+ business: "business";
748
+ platform: "platform";
749
+ unknown: "unknown";
750
+ }>>;
751
+ message: z.ZodString;
752
+ status: z.ZodLiteral<"error">;
753
+ }, z.core.$strict>]>;
754
+ readonly readOnlyHint: false;
755
+ readonly schema: z.ZodObject<{
756
+ artistId: z.ZodString;
757
+ clientRequestId: z.ZodOptional<z.ZodString>;
758
+ customDescription: z.ZodOptional<z.ZodString>;
759
+ format: z.ZodOptional<z.ZodEnum<{
760
+ summary: "summary";
761
+ json: "json";
762
+ }>>;
763
+ spotifyUrl: z.ZodString;
764
+ userIntentSummary: z.ZodOptional<z.ZodString>;
765
+ }, z.core.$strict>;
766
+ readonly title: "Create Free Smart Link from Spotify";
767
+ }, {
768
+ readonly description: "Use this when the user wants to list free Smart Links for one artist, including release title, public URL, publish state, claim state, render state, and theme. Do not use this for paid campaign lists; use dynamoi_list_campaigns for campaigns.";
769
+ readonly destructiveHint: false;
770
+ readonly name: "dynamoi_list_smart_links";
771
+ readonly openWorldHint: false;
772
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
773
+ data: z.ZodUnion<readonly [z.ZodObject<{
774
+ nextCursor: z.ZodOptional<z.ZodString>;
775
+ smartLinks: z.ZodArray<z.ZodObject<{
776
+ artistId: z.ZodString;
777
+ artistName: z.ZodString;
778
+ claimStatus: z.ZodEnum<{
779
+ auto_approved: "auto_approved";
780
+ pending_ops_review: "pending_ops_review";
781
+ approved_by_ops: "approved_by_ops";
782
+ rejected: "rejected";
783
+ }>;
784
+ createdAt: z.ZodString;
785
+ id: z.ZodString;
786
+ isPublic: z.ZodBoolean;
787
+ localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
788
+ odesliStatus: z.ZodEnum<{
789
+ resolved: "resolved";
790
+ pending: "pending";
791
+ failed: "failed";
792
+ }>;
793
+ publicUrl: z.ZodString;
794
+ publishState: z.ZodEnum<{
795
+ published: "published";
796
+ unpublished: "unpublished";
797
+ }>;
798
+ releaseSlug: z.ZodString;
799
+ releaseTitle: z.ZodString;
800
+ releaseType: z.ZodString;
801
+ renderState: z.ZodEnum<{
802
+ failed: "failed";
803
+ queued: "queued";
804
+ rendering: "rendering";
805
+ rendered: "rendered";
806
+ }>;
807
+ spotifyUrl: z.ZodNullable<z.ZodString>;
808
+ takedownStatus: z.ZodEnum<{
809
+ none: "none";
810
+ active: "active";
811
+ resolved: "resolved";
812
+ }>;
813
+ theme: z.ZodEnum<{
814
+ classic: "classic";
815
+ brutalist: "brutalist";
816
+ aurora: "aurora";
817
+ cinematic: "cinematic";
818
+ }>;
819
+ updatedAt: z.ZodString;
820
+ }, z.core.$strict>>;
821
+ }, z.core.$strict>, z.ZodObject<{
822
+ nextCursor: z.ZodOptional<z.ZodString>;
823
+ summary: z.ZodString;
824
+ totalCount: z.ZodNumber;
825
+ }, z.core.$strict>]>;
826
+ status: z.ZodLiteral<"success">;
827
+ }, z.core.$strip>, z.ZodObject<{
828
+ kind: z.ZodOptional<z.ZodEnum<{
829
+ validation: "validation";
830
+ business: "business";
831
+ platform: "platform";
832
+ unknown: "unknown";
833
+ }>>;
834
+ message: z.ZodString;
835
+ status: z.ZodLiteral<"error">;
836
+ }, z.core.$strict>]>;
837
+ readonly readOnlyHint: true;
838
+ readonly schema: z.ZodObject<{
839
+ claimStatus: z.ZodOptional<z.ZodEnum<{
840
+ auto_approved: "auto_approved";
841
+ pending_ops_review: "pending_ops_review";
842
+ approved_by_ops: "approved_by_ops";
843
+ rejected: "rejected";
844
+ }>>;
845
+ publishState: z.ZodOptional<z.ZodEnum<{
846
+ published: "published";
847
+ unpublished: "unpublished";
848
+ }>>;
849
+ renderState: z.ZodOptional<z.ZodEnum<{
850
+ failed: "failed";
851
+ queued: "queued";
852
+ rendering: "rendering";
853
+ rendered: "rendered";
854
+ }>>;
855
+ artistId: z.ZodString;
856
+ cursor: z.ZodOptional<z.ZodString>;
857
+ format: z.ZodOptional<z.ZodEnum<{
858
+ summary: "summary";
859
+ json: "json";
860
+ }>>;
861
+ limit: z.ZodOptional<z.ZodNumber>;
862
+ query: z.ZodOptional<z.ZodString>;
863
+ }, z.core.$strict>;
864
+ readonly title: "List Smart Links";
865
+ }, {
866
+ readonly description: "Use this when the user wants full details for one free Smart Link, including release, Spotify URL, public play.dynamoi.com URL, current status, theme source, and next actions.";
867
+ readonly destructiveHint: false;
868
+ readonly name: "dynamoi_get_smart_link";
869
+ readonly openWorldHint: false;
870
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
871
+ data: z.ZodUnion<readonly [z.ZodObject<{
872
+ artistId: z.ZodString;
873
+ artistName: z.ZodString;
874
+ claimStatus: z.ZodEnum<{
875
+ auto_approved: "auto_approved";
876
+ pending_ops_review: "pending_ops_review";
877
+ approved_by_ops: "approved_by_ops";
878
+ rejected: "rejected";
879
+ }>;
880
+ createdAt: z.ZodString;
881
+ id: z.ZodString;
882
+ isPublic: z.ZodBoolean;
883
+ localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
884
+ odesliStatus: z.ZodEnum<{
885
+ resolved: "resolved";
886
+ pending: "pending";
887
+ failed: "failed";
888
+ }>;
889
+ publicUrl: z.ZodString;
890
+ publishState: z.ZodEnum<{
891
+ published: "published";
892
+ unpublished: "unpublished";
893
+ }>;
894
+ releaseSlug: z.ZodString;
895
+ releaseTitle: z.ZodString;
896
+ releaseType: z.ZodString;
897
+ renderState: z.ZodEnum<{
898
+ failed: "failed";
899
+ queued: "queued";
900
+ rendering: "rendering";
901
+ rendered: "rendered";
902
+ }>;
903
+ spotifyUrl: z.ZodNullable<z.ZodString>;
904
+ takedownStatus: z.ZodEnum<{
905
+ none: "none";
906
+ active: "active";
907
+ resolved: "resolved";
908
+ }>;
909
+ theme: z.ZodEnum<{
910
+ classic: "classic";
911
+ brutalist: "brutalist";
912
+ aurora: "aurora";
913
+ cinematic: "cinematic";
914
+ }>;
915
+ updatedAt: z.ZodString;
916
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
917
+ customDescription: z.ZodNullable<z.ZodString>;
918
+ nextActions: z.ZodArray<z.ZodString>;
919
+ originalSpotifyUrl: z.ZodNullable<z.ZodString>;
920
+ resourceUri: z.ZodString;
921
+ settingsResourceUri: z.ZodString;
922
+ spotifyDiscographyId: z.ZodString;
923
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
924
+ }, z.core.$strict>, z.ZodObject<{
925
+ summary: z.ZodString;
926
+ }, z.core.$loose>]>;
927
+ status: z.ZodLiteral<"success">;
928
+ }, z.core.$strip>, z.ZodObject<{
929
+ kind: z.ZodOptional<z.ZodEnum<{
930
+ validation: "validation";
931
+ business: "business";
932
+ platform: "platform";
933
+ unknown: "unknown";
934
+ }>>;
935
+ message: z.ZodString;
936
+ status: z.ZodLiteral<"error">;
937
+ }, z.core.$strict>]>;
938
+ readonly readOnlyHint: true;
939
+ readonly schema: z.ZodObject<{
940
+ artistId: z.ZodOptional<z.ZodString>;
941
+ format: z.ZodOptional<z.ZodEnum<{
942
+ summary: "summary";
943
+ json: "json";
944
+ }>>;
945
+ playLinkId: z.ZodOptional<z.ZodString>;
946
+ spotifyUrl: z.ZodOptional<z.ZodString>;
947
+ }, z.core.$strict>;
948
+ readonly title: "Get Smart Link";
949
+ }, {
950
+ readonly description: "Use this when the user asks how one free Smart Link is performing. Returns aggregate visits, streaming-service clicks, share clicks, promote CTA clicks, and optional daily or capped breakdown data. Never use this to expose raw visitor identifiers.";
951
+ readonly destructiveHint: false;
952
+ readonly name: "dynamoi_get_smart_link_analytics";
953
+ readonly openWorldHint: false;
954
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
955
+ data: z.ZodUnion<readonly [z.ZodObject<{
956
+ artistId: z.ZodString;
957
+ breakdowns: z.ZodOptional<z.ZodObject<{
958
+ countryClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
959
+ countryViews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
960
+ deviceClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
961
+ deviceViews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
962
+ localeClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
963
+ localeViews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
964
+ referrerClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
965
+ referrerViews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
966
+ serviceClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
967
+ themeClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
968
+ themeViews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
969
+ utmClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
970
+ utmViews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
971
+ }, z.core.$strict>>;
972
+ daily: z.ZodOptional<z.ZodArray<z.ZodObject<{
973
+ anonymousVisits: z.ZodNumber;
974
+ promoteCtaClicks: z.ZodNumber;
975
+ shareClicks: z.ZodNumber;
976
+ streamingServiceClicks: z.ZodNumber;
977
+ date: z.ZodString;
978
+ }, z.core.$strict>>>;
979
+ dateRange: z.ZodObject<{
980
+ end: z.ZodString;
981
+ start: z.ZodString;
982
+ }, z.core.$strict>;
983
+ playLinkId: z.ZodString;
984
+ releaseTitle: z.ZodString;
985
+ totals: z.ZodObject<{
986
+ anonymousVisits: z.ZodNumber;
987
+ promoteCtaClicks: z.ZodNumber;
988
+ shareClicks: z.ZodNumber;
989
+ streamingServiceClicks: z.ZodNumber;
990
+ }, z.core.$strict>;
991
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
992
+ }, z.core.$strict>, z.ZodObject<{
993
+ summary: z.ZodString;
994
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
995
+ }, z.core.$strict>]>;
996
+ status: z.ZodLiteral<"success">;
997
+ }, z.core.$strip>, z.ZodObject<{
998
+ kind: z.ZodOptional<z.ZodEnum<{
999
+ validation: "validation";
1000
+ business: "business";
1001
+ platform: "platform";
1002
+ unknown: "unknown";
1003
+ }>>;
1004
+ message: z.ZodString;
1005
+ status: z.ZodLiteral<"error">;
1006
+ }, z.core.$strict>]>;
1007
+ readonly readOnlyHint: true;
1008
+ readonly schema: z.ZodObject<{
1009
+ dateRange: z.ZodOptional<z.ZodObject<{
1010
+ end: z.ZodString;
1011
+ start: z.ZodString;
1012
+ }, z.core.$strict>>;
1013
+ format: z.ZodOptional<z.ZodEnum<{
1014
+ summary: "summary";
1015
+ json: "json";
1016
+ }>>;
1017
+ granularity: z.ZodOptional<z.ZodEnum<{
1018
+ DAILY: "DAILY";
1019
+ TOTAL: "TOTAL";
1020
+ }>>;
1021
+ includeBreakdowns: z.ZodOptional<z.ZodBoolean>;
1022
+ playLinkId: z.ZodString;
1023
+ }, z.core.$strict>;
1024
+ readonly title: "Get Smart Link Analytics";
1025
+ }, {
1026
+ readonly description: "Use this when the user wants to inspect artist-level Smart Link settings, including whether Smart Links are enabled, default theme, available themes, and configured tracking pixel IDs.";
1027
+ readonly destructiveHint: false;
1028
+ readonly name: "dynamoi_get_smart_link_artist_settings";
1029
+ readonly openWorldHint: false;
1030
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1031
+ data: z.ZodObject<{
1032
+ artistId: z.ZodString;
1033
+ artistName: z.ZodString;
1034
+ availableThemes: z.ZodArray<z.ZodEnum<{
1035
+ classic: "classic";
1036
+ brutalist: "brutalist";
1037
+ aurora: "aurora";
1038
+ cinematic: "cinematic";
1039
+ }>>;
1040
+ defaultTheme: z.ZodEnum<{
1041
+ classic: "classic";
1042
+ brutalist: "brutalist";
1043
+ aurora: "aurora";
1044
+ cinematic: "cinematic";
1045
+ }>;
1046
+ isEnabled: z.ZodBoolean;
1047
+ pixels: z.ZodObject<{
1048
+ googleAdsConversionId: z.ZodNullable<z.ZodString>;
1049
+ metaPixelId: z.ZodNullable<z.ZodString>;
1050
+ tiktokPixelId: z.ZodNullable<z.ZodString>;
1051
+ }, z.core.$strict>;
1052
+ summary: z.ZodOptional<z.ZodString>;
1053
+ }, z.core.$strict>;
1054
+ status: z.ZodLiteral<"success">;
1055
+ }, z.core.$strip>, z.ZodObject<{
1056
+ kind: z.ZodOptional<z.ZodEnum<{
1057
+ validation: "validation";
1058
+ business: "business";
1059
+ platform: "platform";
1060
+ unknown: "unknown";
1061
+ }>>;
1062
+ message: z.ZodString;
1063
+ status: z.ZodLiteral<"error">;
1064
+ }, z.core.$strict>]>;
1065
+ readonly readOnlyHint: true;
1066
+ readonly schema: z.ZodObject<{
1067
+ artistId: z.ZodString;
1068
+ format: z.ZodOptional<z.ZodEnum<{
1069
+ summary: "summary";
1070
+ json: "json";
1071
+ }>>;
1072
+ }, z.core.$strict>;
1073
+ readonly title: "Get Smart Link Artist Settings";
1074
+ }, {
1075
+ readonly description: "Use this when the user wants to change one Smart Link's public description. This updates a public landing page and queues background rendering. Theme and pixel settings are artist-level; use dynamoi_update_smart_link_artist_settings for those.";
1076
+ readonly destructiveHint: false;
1077
+ readonly idempotentHint: true;
1078
+ readonly name: "dynamoi_update_smart_link";
1079
+ readonly openWorldHint: true;
1080
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1081
+ data: z.ZodObject<{
1082
+ artistId: z.ZodString;
1083
+ artistName: z.ZodString;
1084
+ claimStatus: z.ZodEnum<{
1085
+ auto_approved: "auto_approved";
1086
+ pending_ops_review: "pending_ops_review";
1087
+ approved_by_ops: "approved_by_ops";
1088
+ rejected: "rejected";
1089
+ }>;
1090
+ createdAt: z.ZodString;
1091
+ id: z.ZodString;
1092
+ isPublic: z.ZodBoolean;
1093
+ localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
1094
+ odesliStatus: z.ZodEnum<{
1095
+ resolved: "resolved";
1096
+ pending: "pending";
1097
+ failed: "failed";
1098
+ }>;
1099
+ publicUrl: z.ZodString;
1100
+ publishState: z.ZodEnum<{
1101
+ published: "published";
1102
+ unpublished: "unpublished";
1103
+ }>;
1104
+ releaseSlug: z.ZodString;
1105
+ releaseTitle: z.ZodString;
1106
+ releaseType: z.ZodString;
1107
+ renderState: z.ZodEnum<{
1108
+ failed: "failed";
1109
+ queued: "queued";
1110
+ rendering: "rendering";
1111
+ rendered: "rendered";
1112
+ }>;
1113
+ spotifyUrl: z.ZodNullable<z.ZodString>;
1114
+ takedownStatus: z.ZodEnum<{
1115
+ none: "none";
1116
+ active: "active";
1117
+ resolved: "resolved";
1118
+ }>;
1119
+ theme: z.ZodEnum<{
1120
+ classic: "classic";
1121
+ brutalist: "brutalist";
1122
+ aurora: "aurora";
1123
+ cinematic: "cinematic";
1124
+ }>;
1125
+ updatedAt: z.ZodString;
1126
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1127
+ customDescription: z.ZodNullable<z.ZodString>;
1128
+ nextActions: z.ZodArray<z.ZodString>;
1129
+ originalSpotifyUrl: z.ZodNullable<z.ZodString>;
1130
+ resourceUri: z.ZodString;
1131
+ settingsResourceUri: z.ZodString;
1132
+ spotifyDiscographyId: z.ZodString;
1133
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1134
+ renderRunId: z.ZodNullable<z.ZodString>;
1135
+ renderWarning: z.ZodNullable<z.ZodString>;
1136
+ }, z.core.$strict>;
1137
+ status: z.ZodLiteral<"success">;
1138
+ }, z.core.$strip>, z.ZodObject<{
1139
+ kind: z.ZodOptional<z.ZodEnum<{
1140
+ validation: "validation";
1141
+ business: "business";
1142
+ platform: "platform";
1143
+ unknown: "unknown";
1144
+ }>>;
1145
+ message: z.ZodString;
1146
+ status: z.ZodLiteral<"error">;
1147
+ }, z.core.$strict>]>;
1148
+ readonly readOnlyHint: false;
1149
+ readonly schema: z.ZodObject<{
1150
+ clientRequestId: z.ZodOptional<z.ZodString>;
1151
+ customDescription: z.ZodNullable<z.ZodString>;
1152
+ expectedUpdatedAt: z.ZodOptional<z.ZodString>;
1153
+ playLinkId: z.ZodString;
1154
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1155
+ }, z.core.$strict>;
1156
+ readonly title: "Update Smart Link";
1157
+ }, {
1158
+ readonly description: "Use this when the user wants to update artist-level Smart Link theme or tracking pixel IDs. These settings apply to all current and future Smart Links for the artist. Accepts only validated Meta Pixel ID, TikTok Pixel ID, and Google Ads Conversion ID; arbitrary JavaScript or script snippets are not supported.";
1159
+ readonly destructiveHint: false;
1160
+ readonly idempotentHint: true;
1161
+ readonly name: "dynamoi_update_smart_link_artist_settings";
1162
+ readonly openWorldHint: true;
1163
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1164
+ data: z.ZodObject<{
1165
+ artistId: z.ZodString;
1166
+ artistName: z.ZodString;
1167
+ availableThemes: z.ZodArray<z.ZodEnum<{
1168
+ classic: "classic";
1169
+ brutalist: "brutalist";
1170
+ aurora: "aurora";
1171
+ cinematic: "cinematic";
1172
+ }>>;
1173
+ defaultTheme: z.ZodEnum<{
1174
+ classic: "classic";
1175
+ brutalist: "brutalist";
1176
+ aurora: "aurora";
1177
+ cinematic: "cinematic";
1178
+ }>;
1179
+ isEnabled: z.ZodBoolean;
1180
+ pixels: z.ZodObject<{
1181
+ googleAdsConversionId: z.ZodNullable<z.ZodString>;
1182
+ metaPixelId: z.ZodNullable<z.ZodString>;
1183
+ tiktokPixelId: z.ZodNullable<z.ZodString>;
1184
+ }, z.core.$strict>;
1185
+ summary: z.ZodOptional<z.ZodString>;
1186
+ renderQueuedCount: z.ZodNumber;
1187
+ renderWarning: z.ZodNullable<z.ZodString>;
1188
+ }, z.core.$strict>;
1189
+ status: z.ZodLiteral<"success">;
1190
+ }, z.core.$strip>, z.ZodObject<{
1191
+ kind: z.ZodOptional<z.ZodEnum<{
1192
+ validation: "validation";
1193
+ business: "business";
1194
+ platform: "platform";
1195
+ unknown: "unknown";
1196
+ }>>;
1197
+ message: z.ZodString;
1198
+ status: z.ZodLiteral<"error">;
1199
+ }, z.core.$strict>]>;
1200
+ readonly readOnlyHint: false;
1201
+ readonly schema: z.ZodObject<{
1202
+ artistId: z.ZodString;
1203
+ clientRequestId: z.ZodOptional<z.ZodString>;
1204
+ googleAdsConversionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1205
+ metaPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1206
+ theme: z.ZodOptional<z.ZodEnum<{
1207
+ classic: "classic";
1208
+ brutalist: "brutalist";
1209
+ aurora: "aurora";
1210
+ cinematic: "cinematic";
1211
+ }>>;
1212
+ tiktokPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1213
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1214
+ }, z.core.$strict>;
1215
+ readonly title: "Update Smart Link Artist Settings";
1216
+ }, {
1217
+ readonly description: "Use this when the user explicitly wants to publish an approved Smart Link and expose its public play.dynamoi.com URL. Cannot publish rejected, pending-review, or takedown-active links.";
1218
+ readonly destructiveHint: false;
1219
+ readonly idempotentHint: true;
1220
+ readonly name: "dynamoi_publish_smart_link";
1221
+ readonly openWorldHint: true;
1222
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1223
+ data: z.ZodObject<{
1224
+ artistId: z.ZodString;
1225
+ artistName: z.ZodString;
1226
+ claimStatus: z.ZodEnum<{
1227
+ auto_approved: "auto_approved";
1228
+ pending_ops_review: "pending_ops_review";
1229
+ approved_by_ops: "approved_by_ops";
1230
+ rejected: "rejected";
1231
+ }>;
1232
+ createdAt: z.ZodString;
1233
+ id: z.ZodString;
1234
+ isPublic: z.ZodBoolean;
1235
+ localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
1236
+ odesliStatus: z.ZodEnum<{
1237
+ resolved: "resolved";
1238
+ pending: "pending";
1239
+ failed: "failed";
1240
+ }>;
1241
+ publicUrl: z.ZodString;
1242
+ publishState: z.ZodEnum<{
1243
+ published: "published";
1244
+ unpublished: "unpublished";
1245
+ }>;
1246
+ releaseSlug: z.ZodString;
1247
+ releaseTitle: z.ZodString;
1248
+ releaseType: z.ZodString;
1249
+ renderState: z.ZodEnum<{
1250
+ failed: "failed";
1251
+ queued: "queued";
1252
+ rendering: "rendering";
1253
+ rendered: "rendered";
1254
+ }>;
1255
+ spotifyUrl: z.ZodNullable<z.ZodString>;
1256
+ takedownStatus: z.ZodEnum<{
1257
+ none: "none";
1258
+ active: "active";
1259
+ resolved: "resolved";
1260
+ }>;
1261
+ theme: z.ZodEnum<{
1262
+ classic: "classic";
1263
+ brutalist: "brutalist";
1264
+ aurora: "aurora";
1265
+ cinematic: "cinematic";
1266
+ }>;
1267
+ updatedAt: z.ZodString;
1268
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1269
+ customDescription: z.ZodNullable<z.ZodString>;
1270
+ nextActions: z.ZodArray<z.ZodString>;
1271
+ originalSpotifyUrl: z.ZodNullable<z.ZodString>;
1272
+ resourceUri: z.ZodString;
1273
+ settingsResourceUri: z.ZodString;
1274
+ spotifyDiscographyId: z.ZodString;
1275
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1276
+ workflowRunId: z.ZodNullable<z.ZodString>;
1277
+ workflowWarning: z.ZodNullable<z.ZodString>;
1278
+ }, z.core.$strict>;
1279
+ status: z.ZodLiteral<"success">;
1280
+ }, z.core.$strip>, z.ZodObject<{
1281
+ kind: z.ZodOptional<z.ZodEnum<{
1282
+ validation: "validation";
1283
+ business: "business";
1284
+ platform: "platform";
1285
+ unknown: "unknown";
1286
+ }>>;
1287
+ message: z.ZodString;
1288
+ status: z.ZodLiteral<"error">;
1289
+ }, z.core.$strict>]>;
1290
+ readonly readOnlyHint: false;
1291
+ readonly schema: z.ZodObject<{
1292
+ clientRequestId: z.ZodOptional<z.ZodString>;
1293
+ expectedPublishState: z.ZodOptional<z.ZodEnum<{
1294
+ published: "published";
1295
+ unpublished: "unpublished";
1296
+ }>>;
1297
+ playLinkId: z.ZodString;
1298
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1299
+ }, z.core.$strict>;
1300
+ readonly title: "Publish Smart Link";
1301
+ }, {
1302
+ readonly description: "Use this when the user explicitly wants to unpublish a Smart Link and remove its public play.dynamoi.com landing page. Restate the affected public URL before calling this tool.";
1303
+ readonly destructiveHint: true;
1304
+ readonly idempotentHint: true;
1305
+ readonly name: "dynamoi_unpublish_smart_link";
1306
+ readonly openWorldHint: true;
1307
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1308
+ data: z.ZodObject<{
1309
+ artistId: z.ZodString;
1310
+ artistName: z.ZodString;
1311
+ claimStatus: z.ZodEnum<{
1312
+ auto_approved: "auto_approved";
1313
+ pending_ops_review: "pending_ops_review";
1314
+ approved_by_ops: "approved_by_ops";
1315
+ rejected: "rejected";
1316
+ }>;
1317
+ createdAt: z.ZodString;
1318
+ id: z.ZodString;
1319
+ isPublic: z.ZodBoolean;
1320
+ localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
1321
+ odesliStatus: z.ZodEnum<{
1322
+ resolved: "resolved";
1323
+ pending: "pending";
1324
+ failed: "failed";
1325
+ }>;
1326
+ publicUrl: z.ZodString;
1327
+ publishState: z.ZodEnum<{
1328
+ published: "published";
1329
+ unpublished: "unpublished";
1330
+ }>;
1331
+ releaseSlug: z.ZodString;
1332
+ releaseTitle: z.ZodString;
1333
+ releaseType: z.ZodString;
1334
+ renderState: z.ZodEnum<{
1335
+ failed: "failed";
1336
+ queued: "queued";
1337
+ rendering: "rendering";
1338
+ rendered: "rendered";
1339
+ }>;
1340
+ spotifyUrl: z.ZodNullable<z.ZodString>;
1341
+ takedownStatus: z.ZodEnum<{
1342
+ none: "none";
1343
+ active: "active";
1344
+ resolved: "resolved";
1345
+ }>;
1346
+ theme: z.ZodEnum<{
1347
+ classic: "classic";
1348
+ brutalist: "brutalist";
1349
+ aurora: "aurora";
1350
+ cinematic: "cinematic";
1351
+ }>;
1352
+ updatedAt: z.ZodString;
1353
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1354
+ customDescription: z.ZodNullable<z.ZodString>;
1355
+ nextActions: z.ZodArray<z.ZodString>;
1356
+ originalSpotifyUrl: z.ZodNullable<z.ZodString>;
1357
+ resourceUri: z.ZodString;
1358
+ settingsResourceUri: z.ZodString;
1359
+ spotifyDiscographyId: z.ZodString;
1360
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1361
+ workflowRunId: z.ZodNullable<z.ZodString>;
1362
+ workflowWarning: z.ZodNullable<z.ZodString>;
1363
+ }, z.core.$strict>;
1364
+ status: z.ZodLiteral<"success">;
1365
+ }, z.core.$strip>, z.ZodObject<{
1366
+ kind: z.ZodOptional<z.ZodEnum<{
1367
+ validation: "validation";
1368
+ business: "business";
1369
+ platform: "platform";
1370
+ unknown: "unknown";
1371
+ }>>;
1372
+ message: z.ZodString;
1373
+ status: z.ZodLiteral<"error">;
1374
+ }, z.core.$strict>]>;
1375
+ readonly readOnlyHint: false;
1376
+ readonly schema: z.ZodObject<{
1377
+ clientRequestId: z.ZodOptional<z.ZodString>;
1378
+ expectedPublishState: z.ZodOptional<z.ZodEnum<{
1379
+ published: "published";
1380
+ unpublished: "unpublished";
1381
+ }>>;
1382
+ playLinkId: z.ZodString;
1383
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1384
+ }, z.core.$strict>;
1385
+ readonly title: "Unpublish Smart Link";
1386
+ }];
1387
+
409
1388
  declare const ToolFormatSchema: z.ZodEnum<{
410
- json: "json";
411
1389
  summary: "summary";
1390
+ json: "json";
412
1391
  }>;
413
1392
  declare const DynamoiListArtistsInputSchema: z.ZodObject<{
414
1393
  cursor: z.ZodOptional<z.ZodString>;
415
1394
  format: z.ZodOptional<z.ZodEnum<{
416
- json: "json";
417
1395
  summary: "summary";
1396
+ json: "json";
418
1397
  }>>;
419
1398
  limit: z.ZodOptional<z.ZodNumber>;
420
- }, z.core.$strip>;
1399
+ }, z.core.$strict>;
421
1400
  declare const DynamoiSearchInputSchema: z.ZodObject<{
422
1401
  artistId: z.ZodOptional<z.ZodString>;
423
1402
  cursor: z.ZodOptional<z.ZodString>;
424
1403
  format: z.ZodOptional<z.ZodEnum<{
425
- json: "json";
426
1404
  summary: "summary";
1405
+ json: "json";
427
1406
  }>>;
1407
+ includeArchived: z.ZodOptional<z.ZodBoolean>;
428
1408
  limit: z.ZodOptional<z.ZodNumber>;
429
1409
  query: z.ZodOptional<z.ZodString>;
430
1410
  type: z.ZodOptional<z.ZodEnum<{
@@ -432,20 +1412,26 @@ declare const DynamoiSearchInputSchema: z.ZodObject<{
432
1412
  campaign: "campaign";
433
1413
  smartlink: "smartlink";
434
1414
  }>>;
435
- }, z.core.$strip>;
1415
+ }, z.core.$strict>;
436
1416
  declare const DynamoiGetCurrentUserInputSchema: z.ZodObject<{
437
1417
  format: z.ZodOptional<z.ZodEnum<{
438
- json: "json";
439
1418
  summary: "summary";
1419
+ json: "json";
440
1420
  }>>;
441
- }, z.core.$strip>;
1421
+ intent: z.ZodEnum<{
1422
+ account_overview: "account_overview";
1423
+ artist_access_check: "artist_access_check";
1424
+ organization_access_check: "organization_access_check";
1425
+ platform_connection_check: "platform_connection_check";
1426
+ }>;
1427
+ }, z.core.$strict>;
442
1428
  declare const DynamoiGetArtistInputSchema: z.ZodObject<{
443
1429
  artistId: z.ZodString;
444
1430
  format: z.ZodOptional<z.ZodEnum<{
445
- json: "json";
446
1431
  summary: "summary";
1432
+ json: "json";
447
1433
  }>>;
448
- }, z.core.$strip>;
1434
+ }, z.core.$strict>;
449
1435
  declare const DynamoiListCampaignsInputSchema: z.ZodObject<{
450
1436
  artistId: z.ZodString;
451
1437
  campaignType: z.ZodOptional<z.ZodEnum<{
@@ -454,88 +1440,121 @@ declare const DynamoiListCampaignsInputSchema: z.ZodObject<{
454
1440
  }>>;
455
1441
  cursor: z.ZodOptional<z.ZodString>;
456
1442
  format: z.ZodOptional<z.ZodEnum<{
457
- json: "json";
458
1443
  summary: "summary";
1444
+ json: "json";
459
1445
  }>>;
460
1446
  limit: z.ZodOptional<z.ZodNumber>;
461
1447
  status: z.ZodOptional<z.ZodString>;
462
- }, z.core.$strip>;
1448
+ }, z.core.$strict>;
463
1449
  declare const DynamoiGetCampaignInputSchema: z.ZodObject<{
464
1450
  campaignId: z.ZodString;
465
1451
  format: z.ZodOptional<z.ZodEnum<{
466
- json: "json";
467
1452
  summary: "summary";
1453
+ json: "json";
468
1454
  }>>;
469
1455
  includeCountries: z.ZodOptional<z.ZodBoolean>;
470
- }, z.core.$strip>;
1456
+ }, z.core.$strict>;
471
1457
  declare const DateRangeSchema: z.ZodObject<{
472
1458
  end: z.ZodString;
473
1459
  start: z.ZodString;
474
- }, z.core.$strip>;
1460
+ }, z.core.$strict>;
475
1461
  declare const DynamoiGetCampaignAnalyticsInputSchema: z.ZodObject<{
476
1462
  campaignId: z.ZodString;
477
1463
  dateRange: z.ZodOptional<z.ZodObject<{
478
1464
  end: z.ZodString;
479
1465
  start: z.ZodString;
480
- }, z.core.$strip>>;
1466
+ }, z.core.$strict>>;
481
1467
  format: z.ZodOptional<z.ZodEnum<{
482
- json: "json";
483
1468
  summary: "summary";
1469
+ json: "json";
484
1470
  }>>;
485
1471
  granularity: z.ZodOptional<z.ZodEnum<{
486
1472
  DAILY: "DAILY";
487
1473
  TOTAL: "TOTAL";
488
1474
  }>>;
489
- }, z.core.$strip>;
1475
+ }, z.core.$strict>;
490
1476
  declare const DynamoiGetArtistAnalyticsInputSchema: z.ZodObject<{
491
1477
  artistId: z.ZodString;
492
1478
  dateRange: z.ZodOptional<z.ZodObject<{
493
1479
  end: z.ZodString;
494
1480
  start: z.ZodString;
495
- }, z.core.$strip>>;
1481
+ }, z.core.$strict>>;
496
1482
  format: z.ZodOptional<z.ZodEnum<{
497
- json: "json";
498
1483
  summary: "summary";
1484
+ json: "json";
499
1485
  }>>;
500
1486
  granularity: z.ZodOptional<z.ZodEnum<{
501
1487
  DAILY: "DAILY";
502
1488
  TOTAL: "TOTAL";
503
1489
  }>>;
504
- }, z.core.$strip>;
1490
+ }, z.core.$strict>;
505
1491
  declare const DynamoiGetBillingInputSchema: z.ZodObject<{
506
1492
  artistId: z.ZodString;
507
1493
  format: z.ZodOptional<z.ZodEnum<{
508
- json: "json";
509
1494
  summary: "summary";
1495
+ json: "json";
510
1496
  }>>;
511
- }, z.core.$strip>;
1497
+ }, z.core.$strict>;
512
1498
  declare const DynamoiGetPlatformStatusInputSchema: z.ZodObject<{
513
1499
  artistId: z.ZodString;
514
1500
  format: z.ZodOptional<z.ZodEnum<{
515
- json: "json";
516
1501
  summary: "summary";
1502
+ json: "json";
517
1503
  }>>;
518
- }, z.core.$strip>;
1504
+ }, z.core.$strict>;
519
1505
  declare const DynamoiPauseCampaignInputSchema: z.ZodObject<{
520
1506
  campaignId: z.ZodString;
521
- }, z.core.$strip>;
1507
+ clientRequestId: z.ZodOptional<z.ZodString>;
1508
+ expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
1509
+ ACTIVE: "ACTIVE";
1510
+ AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
1511
+ CONTENT_VALIDATION: "CONTENT_VALIDATION";
1512
+ DEPLOYING: "DEPLOYING";
1513
+ READY_FOR_REVIEW: "READY_FOR_REVIEW";
1514
+ PAUSED: "PAUSED";
1515
+ SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
1516
+ ARCHIVED: "ARCHIVED";
1517
+ FAILED: "FAILED";
1518
+ ENDED: "ENDED";
1519
+ }>>;
1520
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1521
+ }, z.core.$strict>;
522
1522
  declare const DynamoiResumeCampaignInputSchema: z.ZodObject<{
523
1523
  campaignId: z.ZodString;
524
- }, z.core.$strip>;
1524
+ clientRequestId: z.ZodOptional<z.ZodString>;
1525
+ expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
1526
+ ACTIVE: "ACTIVE";
1527
+ AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
1528
+ CONTENT_VALIDATION: "CONTENT_VALIDATION";
1529
+ DEPLOYING: "DEPLOYING";
1530
+ READY_FOR_REVIEW: "READY_FOR_REVIEW";
1531
+ PAUSED: "PAUSED";
1532
+ SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
1533
+ ARCHIVED: "ARCHIVED";
1534
+ FAILED: "FAILED";
1535
+ ENDED: "ENDED";
1536
+ }>>;
1537
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1538
+ }, z.core.$strict>;
525
1539
  declare const DynamoiUpdateBudgetInputSchema: z.ZodObject<{
526
1540
  budgetAmount: z.ZodNumber;
527
1541
  campaignId: z.ZodString;
1542
+ clientRequestId: z.ZodOptional<z.ZodString>;
528
1543
  endDate: z.ZodOptional<z.ZodString>;
529
- }, z.core.$strip>;
1544
+ expectedCurrentBudgetAmount: z.ZodOptional<z.ZodNumber>;
1545
+ expectedCurrentEndDate: z.ZodOptional<z.ZodString>;
1546
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1547
+ }, z.core.$strict>;
530
1548
  declare const DynamoiListMediaAssetsInputSchema: z.ZodObject<{
531
1549
  artistId: z.ZodString;
532
1550
  cursor: z.ZodOptional<z.ZodString>;
533
1551
  format: z.ZodOptional<z.ZodEnum<{
534
- json: "json";
535
1552
  summary: "summary";
1553
+ json: "json";
536
1554
  }>>;
1555
+ includeUrls: z.ZodOptional<z.ZodBoolean>;
537
1556
  limit: z.ZodOptional<z.ZodNumber>;
538
- }, z.core.$strip>;
1557
+ }, z.core.$strict>;
539
1558
  declare const DynamoiLaunchCampaignInputSchema: z.ZodObject<{
540
1559
  adCopy: z.ZodOptional<z.ZodString>;
541
1560
  appleMusicUrl: z.ZodOptional<z.ZodString>;
@@ -565,51 +1584,112 @@ declare const DynamoiLaunchCampaignInputSchema: z.ZodObject<{
565
1584
  locationTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
566
1585
  code: z.ZodString;
567
1586
  name: z.ZodString;
568
- }, z.core.$strip>>>;
1587
+ }, z.core.$strict>>>;
569
1588
  mediaAssetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
570
1589
  spotifyUrl: z.ZodOptional<z.ZodString>;
571
1590
  useAiGeneratedCopy: z.ZodOptional<z.ZodBoolean>;
1591
+ userIntentSummary: z.ZodOptional<z.ZodString>;
572
1592
  youtubeVideoId: z.ZodOptional<z.ZodString>;
573
- }, z.core.$strip>;
1593
+ }, z.core.$strict>;
574
1594
  declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
575
- readonly description: "Get the currently authenticated Dynamoi account context — user ID, email, and accessible organizations/artists with resolved roles.";
1595
+ readonly description: "Use this when the user explicitly asks about the signed-in Dynamoi account itself, such as who is logged in, how many organizations or artists it can access, or whether account-level platform connections exist. Always pass intent to match that explicit account question. Do not use this to enumerate artists one by one; use dynamoi_list_artists for that. Never use this to 'check context' before answering generic Instagram, lyrics, songwriting, or marketing-advice questions, even if Dynamoi is attached.";
576
1596
  readonly destructiveHint: false;
577
- readonly name: "dynamoi_get_current_user";
1597
+ readonly name: "dynamoi_get_account_overview";
578
1598
  readonly openWorldHint: false;
1599
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1600
+ data: z.ZodObject<{}, z.core.$loose>;
1601
+ status: z.ZodLiteral<"success">;
1602
+ }, z.core.$strip>, z.ZodObject<{
1603
+ data: z.ZodObject<{}, z.core.$loose>;
1604
+ message: z.ZodString;
1605
+ status: z.ZodLiteral<"partial_success">;
1606
+ }, z.core.$strip>, z.ZodObject<{
1607
+ kind: z.ZodOptional<z.ZodEnum<{
1608
+ validation: "validation";
1609
+ business: "business";
1610
+ platform: "platform";
1611
+ unknown: "unknown";
1612
+ }>>;
1613
+ message: z.ZodString;
1614
+ status: z.ZodLiteral<"error">;
1615
+ }, z.core.$strict>]>;
579
1616
  readonly readOnlyHint: true;
580
1617
  readonly schema: z.ZodObject<{
581
1618
  format: z.ZodOptional<z.ZodEnum<{
582
- json: "json";
583
1619
  summary: "summary";
1620
+ json: "json";
584
1621
  }>>;
585
- }, z.core.$strip>;
1622
+ intent: z.ZodEnum<{
1623
+ account_overview: "account_overview";
1624
+ artist_access_check: "artist_access_check";
1625
+ organization_access_check: "organization_access_check";
1626
+ platform_connection_check: "platform_connection_check";
1627
+ }>;
1628
+ }, z.core.$strict>;
1629
+ readonly title: "Get Account Overview";
586
1630
  }, {
587
- readonly description: "List all music artists and YouTube channels the user manages. Returns each artist's subscription tier, billing status, active campaign count, and the user's role.";
1631
+ readonly description: "Use this when the user wants to see which artists or YouTube channels they manage, along with billing status, active campaign count, and their role. Do not use this for campaign details; use dynamoi_list_campaigns or dynamoi_get_campaign. Never use this for generic social-media or marketing advice, including Instagram follower-growth questions, unless the user explicitly asked about their Dynamoi roster.";
588
1632
  readonly destructiveHint: false;
589
1633
  readonly name: "dynamoi_list_artists";
590
1634
  readonly openWorldHint: false;
1635
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1636
+ data: z.ZodObject<{}, z.core.$loose>;
1637
+ status: z.ZodLiteral<"success">;
1638
+ }, z.core.$strip>, z.ZodObject<{
1639
+ data: z.ZodObject<{}, z.core.$loose>;
1640
+ message: z.ZodString;
1641
+ status: z.ZodLiteral<"partial_success">;
1642
+ }, z.core.$strip>, z.ZodObject<{
1643
+ kind: z.ZodOptional<z.ZodEnum<{
1644
+ validation: "validation";
1645
+ business: "business";
1646
+ platform: "platform";
1647
+ unknown: "unknown";
1648
+ }>>;
1649
+ message: z.ZodString;
1650
+ status: z.ZodLiteral<"error">;
1651
+ }, z.core.$strict>]>;
591
1652
  readonly readOnlyHint: true;
592
1653
  readonly schema: z.ZodObject<{
593
1654
  cursor: z.ZodOptional<z.ZodString>;
594
1655
  format: z.ZodOptional<z.ZodEnum<{
595
- json: "json";
596
1656
  summary: "summary";
1657
+ json: "json";
597
1658
  }>>;
598
1659
  limit: z.ZodOptional<z.ZodNumber>;
599
- }, z.core.$strip>;
1660
+ }, z.core.$strict>;
1661
+ readonly title: "List Artists";
600
1662
  }, {
601
- readonly description: "Search across artists, ad campaigns, and smart links by name or URL. Find a specific Spotify release, YouTube campaign, or artist profile.";
1663
+ readonly description: "Use this when the user mentions an artist, release, campaign, or smart link but you do not yet know the exact record to inspect. Do not use this for analytics summaries or billing questions once you already know the target record.";
602
1664
  readonly destructiveHint: false;
603
1665
  readonly name: "dynamoi_search";
604
1666
  readonly openWorldHint: false;
1667
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1668
+ data: z.ZodObject<{}, z.core.$loose>;
1669
+ status: z.ZodLiteral<"success">;
1670
+ }, z.core.$strip>, z.ZodObject<{
1671
+ data: z.ZodObject<{}, z.core.$loose>;
1672
+ message: z.ZodString;
1673
+ status: z.ZodLiteral<"partial_success">;
1674
+ }, z.core.$strip>, z.ZodObject<{
1675
+ kind: z.ZodOptional<z.ZodEnum<{
1676
+ validation: "validation";
1677
+ business: "business";
1678
+ platform: "platform";
1679
+ unknown: "unknown";
1680
+ }>>;
1681
+ message: z.ZodString;
1682
+ status: z.ZodLiteral<"error">;
1683
+ }, z.core.$strict>]>;
605
1684
  readonly readOnlyHint: true;
606
1685
  readonly schema: z.ZodObject<{
607
1686
  artistId: z.ZodOptional<z.ZodString>;
608
1687
  cursor: z.ZodOptional<z.ZodString>;
609
1688
  format: z.ZodOptional<z.ZodEnum<{
610
- json: "json";
611
1689
  summary: "summary";
1690
+ json: "json";
612
1691
  }>>;
1692
+ includeArchived: z.ZodOptional<z.ZodBoolean>;
613
1693
  limit: z.ZodOptional<z.ZodNumber>;
614
1694
  query: z.ZodOptional<z.ZodString>;
615
1695
  type: z.ZodOptional<z.ZodEnum<{
@@ -617,25 +1697,61 @@ declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
617
1697
  campaign: "campaign";
618
1698
  smartlink: "smartlink";
619
1699
  }>>;
620
- }, z.core.$strip>;
1700
+ }, z.core.$strict>;
1701
+ readonly title: "Search Dynamoi";
621
1702
  }, {
622
- readonly description: "Get a music artist or YouTube channel profile — connected platforms (Spotify, Meta, YouTube), subscription tier, billing status, and whether they're ready to launch campaigns.";
1703
+ readonly description: "Use this when the user wants the profile and launch readiness for one specific artist or YouTube channel, including connected platforms and billing state. Do not use this to list every artist; use dynamoi_list_artists first. Never use this for generic advice questions that do not require account-specific data, including Instagram growth, songwriting, or lyrics prompts.";
623
1704
  readonly destructiveHint: false;
624
1705
  readonly name: "dynamoi_get_artist";
625
1706
  readonly openWorldHint: false;
1707
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1708
+ data: z.ZodObject<{}, z.core.$loose>;
1709
+ status: z.ZodLiteral<"success">;
1710
+ }, z.core.$strip>, z.ZodObject<{
1711
+ data: z.ZodObject<{}, z.core.$loose>;
1712
+ message: z.ZodString;
1713
+ status: z.ZodLiteral<"partial_success">;
1714
+ }, z.core.$strip>, z.ZodObject<{
1715
+ kind: z.ZodOptional<z.ZodEnum<{
1716
+ validation: "validation";
1717
+ business: "business";
1718
+ platform: "platform";
1719
+ unknown: "unknown";
1720
+ }>>;
1721
+ message: z.ZodString;
1722
+ status: z.ZodLiteral<"error">;
1723
+ }, z.core.$strict>]>;
626
1724
  readonly readOnlyHint: true;
627
1725
  readonly schema: z.ZodObject<{
628
1726
  artistId: z.ZodString;
629
1727
  format: z.ZodOptional<z.ZodEnum<{
630
- json: "json";
631
1728
  summary: "summary";
1729
+ json: "json";
632
1730
  }>>;
633
- }, z.core.$strip>;
1731
+ }, z.core.$strict>;
1732
+ readonly title: "Get Artist";
634
1733
  }, {
635
- readonly description: "List ad campaigns for an artist — each campaign's content title, type (Smart Campaign for Spotify or YouTube for channel growth), budget, status, and platforms. Supports status filtering and pagination.";
1734
+ readonly description: "Use this when the user wants to browse campaigns for one artist, optionally filtered by type or status. Do not use this for a single campaign deep dive; use dynamoi_get_campaign for that. Never use this to personalize generic marketing advice.";
636
1735
  readonly destructiveHint: false;
637
1736
  readonly name: "dynamoi_list_campaigns";
638
1737
  readonly openWorldHint: false;
1738
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1739
+ data: z.ZodObject<{}, z.core.$loose>;
1740
+ status: z.ZodLiteral<"success">;
1741
+ }, z.core.$strip>, z.ZodObject<{
1742
+ data: z.ZodObject<{}, z.core.$loose>;
1743
+ message: z.ZodString;
1744
+ status: z.ZodLiteral<"partial_success">;
1745
+ }, z.core.$strip>, z.ZodObject<{
1746
+ kind: z.ZodOptional<z.ZodEnum<{
1747
+ validation: "validation";
1748
+ business: "business";
1749
+ platform: "platform";
1750
+ unknown: "unknown";
1751
+ }>>;
1752
+ message: z.ZodString;
1753
+ status: z.ZodLiteral<"error">;
1754
+ }, z.core.$strict>]>;
639
1755
  readonly readOnlyHint: true;
640
1756
  readonly schema: z.ZodObject<{
641
1757
  artistId: z.ZodString;
@@ -645,145 +1761,501 @@ declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
645
1761
  }>>;
646
1762
  cursor: z.ZodOptional<z.ZodString>;
647
1763
  format: z.ZodOptional<z.ZodEnum<{
648
- json: "json";
649
1764
  summary: "summary";
1765
+ json: "json";
650
1766
  }>>;
651
1767
  limit: z.ZodOptional<z.ZodNumber>;
652
1768
  status: z.ZodOptional<z.ZodString>;
653
- }, z.core.$strip>;
1769
+ }, z.core.$strict>;
1770
+ readonly title: "List Campaigns";
654
1771
  }, {
655
- readonly description: "Get full details for a campaign — budget, targeting, per-platform status for Meta and Google, smart link URL, and any blocked reasons with suggested next actions. By default, targeting returns a countryCount; pass includeCountries=true to include the full country list.";
1772
+ readonly description: "Use this when the user wants full details for one campaign, including budget, targeting, platform status, and next actions. Do not use this for a campaign list; use dynamoi_list_campaigns instead. Pass includeCountries=true only when the full country list is needed. After a successful launch or budget/status mutation, prefer format=summary when you need a follow-up read to relay the final answer.";
656
1773
  readonly destructiveHint: false;
657
1774
  readonly name: "dynamoi_get_campaign";
658
1775
  readonly openWorldHint: false;
1776
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1777
+ data: z.ZodObject<{}, z.core.$loose>;
1778
+ status: z.ZodLiteral<"success">;
1779
+ }, z.core.$strip>, z.ZodObject<{
1780
+ data: z.ZodObject<{}, z.core.$loose>;
1781
+ message: z.ZodString;
1782
+ status: z.ZodLiteral<"partial_success">;
1783
+ }, z.core.$strip>, z.ZodObject<{
1784
+ kind: z.ZodOptional<z.ZodEnum<{
1785
+ validation: "validation";
1786
+ business: "business";
1787
+ platform: "platform";
1788
+ unknown: "unknown";
1789
+ }>>;
1790
+ message: z.ZodString;
1791
+ status: z.ZodLiteral<"error">;
1792
+ }, z.core.$strict>]>;
659
1793
  readonly readOnlyHint: true;
660
1794
  readonly schema: z.ZodObject<{
661
1795
  campaignId: z.ZodString;
662
1796
  format: z.ZodOptional<z.ZodEnum<{
663
- json: "json";
664
1797
  summary: "summary";
1798
+ json: "json";
665
1799
  }>>;
666
1800
  includeCountries: z.ZodOptional<z.ZodBoolean>;
667
- }, z.core.$strip>;
1801
+ }, z.core.$strict>;
1802
+ readonly title: "Get Campaign";
668
1803
  }, {
669
- readonly description: "Get performance analytics for a campaign — impressions, clicks, ad spend, CPC, CPM, and CTR. Optionally filter by date range. Returns per-platform breakdowns for Meta Ads and Google Ads.";
1804
+ readonly description: "Use this when the user asks how one campaign is performing across impressions, clicks, spend, CPC, CPM, or CTR. Pass granularity=DAILY when the user asks for a daily breakdown. Use this for a deeper audit of one campaign after you already know which campaign to inspect. Do not use this for artist-wide performance across multiple campaigns; use dynamoi_get_artist_analytics instead.";
670
1805
  readonly destructiveHint: false;
671
1806
  readonly name: "dynamoi_get_campaign_analytics";
672
1807
  readonly openWorldHint: false;
1808
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1809
+ data: z.ZodObject<{}, z.core.$loose>;
1810
+ status: z.ZodLiteral<"success">;
1811
+ }, z.core.$strip>, z.ZodObject<{
1812
+ data: z.ZodObject<{}, z.core.$loose>;
1813
+ message: z.ZodString;
1814
+ status: z.ZodLiteral<"partial_success">;
1815
+ }, z.core.$strip>, z.ZodObject<{
1816
+ kind: z.ZodOptional<z.ZodEnum<{
1817
+ validation: "validation";
1818
+ business: "business";
1819
+ platform: "platform";
1820
+ unknown: "unknown";
1821
+ }>>;
1822
+ message: z.ZodString;
1823
+ status: z.ZodLiteral<"error">;
1824
+ }, z.core.$strict>]>;
673
1825
  readonly readOnlyHint: true;
674
1826
  readonly schema: z.ZodObject<{
675
1827
  campaignId: z.ZodString;
676
1828
  dateRange: z.ZodOptional<z.ZodObject<{
677
1829
  end: z.ZodString;
678
1830
  start: z.ZodString;
679
- }, z.core.$strip>>;
1831
+ }, z.core.$strict>>;
680
1832
  format: z.ZodOptional<z.ZodEnum<{
681
- json: "json";
682
1833
  summary: "summary";
1834
+ json: "json";
683
1835
  }>>;
684
1836
  granularity: z.ZodOptional<z.ZodEnum<{
685
1837
  DAILY: "DAILY";
686
1838
  TOTAL: "TOTAL";
687
1839
  }>>;
688
- }, z.core.$strip>;
1840
+ }, z.core.$strict>;
1841
+ readonly title: "Get Campaign Analytics";
689
1842
  }, {
690
- readonly description: "Get performance analytics for an artist across all their campaigns — impressions, clicks, and billable ad spend with optional daily breakdowns per platform.";
1843
+ readonly description: "Use this when the user wants artist-level performance across all campaigns, including 30-day rollups or daily breakdowns. Pass granularity=DAILY when the user asks for a daily breakdown. Pass format=summary when the user wants a written rollup, a strongest-campaign verdict, or a direct answer you can relay immediately. If this tool already returned the requested strongest-campaign comparison, stop and answer instead of calling more analytics tools. Do not use this for one campaign's metrics; use dynamoi_get_campaign_analytics instead.";
691
1844
  readonly destructiveHint: false;
692
1845
  readonly name: "dynamoi_get_artist_analytics";
693
1846
  readonly openWorldHint: false;
1847
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1848
+ data: z.ZodObject<{}, z.core.$loose>;
1849
+ status: z.ZodLiteral<"success">;
1850
+ }, z.core.$strip>, z.ZodObject<{
1851
+ data: z.ZodObject<{}, z.core.$loose>;
1852
+ message: z.ZodString;
1853
+ status: z.ZodLiteral<"partial_success">;
1854
+ }, z.core.$strip>, z.ZodObject<{
1855
+ kind: z.ZodOptional<z.ZodEnum<{
1856
+ validation: "validation";
1857
+ business: "business";
1858
+ platform: "platform";
1859
+ unknown: "unknown";
1860
+ }>>;
1861
+ message: z.ZodString;
1862
+ status: z.ZodLiteral<"error">;
1863
+ }, z.core.$strict>]>;
694
1864
  readonly readOnlyHint: true;
695
1865
  readonly schema: z.ZodObject<{
696
1866
  artistId: z.ZodString;
697
1867
  dateRange: z.ZodOptional<z.ZodObject<{
698
1868
  end: z.ZodString;
699
1869
  start: z.ZodString;
700
- }, z.core.$strip>>;
1870
+ }, z.core.$strict>>;
701
1871
  format: z.ZodOptional<z.ZodEnum<{
702
- json: "json";
703
1872
  summary: "summary";
1873
+ json: "json";
704
1874
  }>>;
705
1875
  granularity: z.ZodOptional<z.ZodEnum<{
706
1876
  DAILY: "DAILY";
707
1877
  TOTAL: "TOTAL";
708
1878
  }>>;
709
- }, z.core.$strip>;
1879
+ }, z.core.$strict>;
1880
+ readonly title: "Get Artist Analytics";
710
1881
  }, {
711
- readonly description: "Get an artist's billing summary — subscription tier, ad credit balance, billing status, and recent spend. Shows remaining credits and campaign usage for the current period.";
1882
+ readonly description: "Use this when the user asks about billing state, credit balance, promo limits, or whether billing is blocking launches for one artist. Do not use this for campaign analytics or platform connection troubleshooting.";
712
1883
  readonly destructiveHint: false;
713
1884
  readonly name: "dynamoi_get_billing";
714
1885
  readonly openWorldHint: false;
1886
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1887
+ data: z.ZodObject<{}, z.core.$loose>;
1888
+ status: z.ZodLiteral<"success">;
1889
+ }, z.core.$strip>, z.ZodObject<{
1890
+ data: z.ZodObject<{}, z.core.$loose>;
1891
+ message: z.ZodString;
1892
+ status: z.ZodLiteral<"partial_success">;
1893
+ }, z.core.$strip>, z.ZodObject<{
1894
+ kind: z.ZodOptional<z.ZodEnum<{
1895
+ validation: "validation";
1896
+ business: "business";
1897
+ platform: "platform";
1898
+ unknown: "unknown";
1899
+ }>>;
1900
+ message: z.ZodString;
1901
+ status: z.ZodLiteral<"error">;
1902
+ }, z.core.$strict>]>;
715
1903
  readonly readOnlyHint: true;
716
1904
  readonly schema: z.ZodObject<{
717
1905
  artistId: z.ZodString;
718
1906
  format: z.ZodOptional<z.ZodEnum<{
719
- json: "json";
720
1907
  summary: "summary";
1908
+ json: "json";
721
1909
  }>>;
722
- }, z.core.$strip>;
1910
+ }, z.core.$strict>;
1911
+ readonly title: "Get Billing";
723
1912
  }, {
724
- readonly description: "Check connection health for Spotify, Meta (Facebook/Instagram), and YouTube. Shows connection status, token expiry, and what steps remain before campaigns can launch on each platform.";
1913
+ readonly description: "Use this when the user wants to know whether Spotify, Meta, or YouTube are connected and what setup steps still block launches. Do not use this for billing details; use dynamoi_get_billing when the question is about credits or subscription state. Never use this to personalize generic Instagram or marketing-advice questions.";
725
1914
  readonly destructiveHint: false;
726
1915
  readonly name: "dynamoi_get_platform_status";
727
1916
  readonly openWorldHint: false;
1917
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1918
+ data: z.ZodObject<{}, z.core.$loose>;
1919
+ status: z.ZodLiteral<"success">;
1920
+ }, z.core.$strip>, z.ZodObject<{
1921
+ data: z.ZodObject<{}, z.core.$loose>;
1922
+ message: z.ZodString;
1923
+ status: z.ZodLiteral<"partial_success">;
1924
+ }, z.core.$strip>, z.ZodObject<{
1925
+ kind: z.ZodOptional<z.ZodEnum<{
1926
+ validation: "validation";
1927
+ business: "business";
1928
+ platform: "platform";
1929
+ unknown: "unknown";
1930
+ }>>;
1931
+ message: z.ZodString;
1932
+ status: z.ZodLiteral<"error">;
1933
+ }, z.core.$strict>]>;
728
1934
  readonly readOnlyHint: true;
729
1935
  readonly schema: z.ZodObject<{
730
1936
  artistId: z.ZodString;
731
1937
  format: z.ZodOptional<z.ZodEnum<{
732
- json: "json";
733
1938
  summary: "summary";
1939
+ json: "json";
734
1940
  }>>;
735
- }, z.core.$strip>;
1941
+ }, z.core.$strict>;
1942
+ readonly title: "Get Platform Status";
736
1943
  }];
737
1944
  declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
738
- readonly description: "Pause a running campaign, stopping ad delivery on Meta (Facebook/Instagram) and/or Google (YouTube). Returns per-platform results.";
739
- readonly destructiveHint: false;
1945
+ readonly description: "Use this when the user explicitly wants to pause a running campaign and stop ad delivery. Do not use this for inspection-only questions; this changes external campaign state.";
1946
+ readonly destructiveHint: true;
1947
+ readonly idempotentHint: true;
740
1948
  readonly name: "dynamoi_pause_campaign";
741
1949
  readonly openWorldHint: true;
1950
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1951
+ data: z.ZodObject<{
1952
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1953
+ contentTitle: z.ZodString;
1954
+ id: z.ZodString;
1955
+ newStatus: z.ZodEnum<{
1956
+ ACTIVE: "ACTIVE";
1957
+ PAUSED: "PAUSED";
1958
+ }>;
1959
+ platformResults: z.ZodArray<z.ZodObject<{
1960
+ message: z.ZodOptional<z.ZodString>;
1961
+ platform: z.ZodEnum<{
1962
+ META: "META";
1963
+ GOOGLE: "GOOGLE";
1964
+ }>;
1965
+ success: z.ZodBoolean;
1966
+ }, z.core.$strict>>;
1967
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1968
+ }, z.core.$strict>;
1969
+ status: z.ZodLiteral<"success">;
1970
+ }, z.core.$strip>, z.ZodObject<{
1971
+ data: z.ZodObject<{
1972
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1973
+ contentTitle: z.ZodString;
1974
+ id: z.ZodString;
1975
+ newStatus: z.ZodEnum<{
1976
+ ACTIVE: "ACTIVE";
1977
+ PAUSED: "PAUSED";
1978
+ }>;
1979
+ platformResults: z.ZodArray<z.ZodObject<{
1980
+ message: z.ZodOptional<z.ZodString>;
1981
+ platform: z.ZodEnum<{
1982
+ META: "META";
1983
+ GOOGLE: "GOOGLE";
1984
+ }>;
1985
+ success: z.ZodBoolean;
1986
+ }, z.core.$strict>>;
1987
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1988
+ }, z.core.$strict>;
1989
+ message: z.ZodString;
1990
+ status: z.ZodLiteral<"partial_success">;
1991
+ }, z.core.$strip>, z.ZodObject<{
1992
+ kind: z.ZodOptional<z.ZodEnum<{
1993
+ validation: "validation";
1994
+ business: "business";
1995
+ platform: "platform";
1996
+ unknown: "unknown";
1997
+ }>>;
1998
+ message: z.ZodString;
1999
+ status: z.ZodLiteral<"error">;
2000
+ }, z.core.$strict>]>;
742
2001
  readonly readOnlyHint: false;
743
2002
  readonly schema: z.ZodObject<{
744
2003
  campaignId: z.ZodString;
745
- }, z.core.$strip>;
2004
+ clientRequestId: z.ZodOptional<z.ZodString>;
2005
+ expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
2006
+ ACTIVE: "ACTIVE";
2007
+ AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
2008
+ CONTENT_VALIDATION: "CONTENT_VALIDATION";
2009
+ DEPLOYING: "DEPLOYING";
2010
+ READY_FOR_REVIEW: "READY_FOR_REVIEW";
2011
+ PAUSED: "PAUSED";
2012
+ SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
2013
+ ARCHIVED: "ARCHIVED";
2014
+ FAILED: "FAILED";
2015
+ ENDED: "ENDED";
2016
+ }>>;
2017
+ userIntentSummary: z.ZodOptional<z.ZodString>;
2018
+ }, z.core.$strict>;
2019
+ readonly title: "Pause Campaign";
746
2020
  }, {
747
- readonly description: "Resume a paused campaign, restarting ad delivery on Meta and/or Google. Returns per-platform results.";
748
- readonly destructiveHint: false;
2021
+ readonly description: "Use this when the user explicitly wants to resume a paused campaign and restart ad delivery. Do not use this for inspection-only questions; this changes external campaign state.";
2022
+ readonly destructiveHint: true;
2023
+ readonly idempotentHint: true;
749
2024
  readonly name: "dynamoi_resume_campaign";
750
2025
  readonly openWorldHint: true;
2026
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2027
+ data: z.ZodObject<{
2028
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
2029
+ contentTitle: z.ZodString;
2030
+ id: z.ZodString;
2031
+ newStatus: z.ZodEnum<{
2032
+ ACTIVE: "ACTIVE";
2033
+ PAUSED: "PAUSED";
2034
+ }>;
2035
+ platformResults: z.ZodArray<z.ZodObject<{
2036
+ message: z.ZodOptional<z.ZodString>;
2037
+ platform: z.ZodEnum<{
2038
+ META: "META";
2039
+ GOOGLE: "GOOGLE";
2040
+ }>;
2041
+ success: z.ZodBoolean;
2042
+ }, z.core.$strict>>;
2043
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2044
+ }, z.core.$strict>;
2045
+ status: z.ZodLiteral<"success">;
2046
+ }, z.core.$strip>, z.ZodObject<{
2047
+ data: z.ZodObject<{
2048
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
2049
+ contentTitle: z.ZodString;
2050
+ id: z.ZodString;
2051
+ newStatus: z.ZodEnum<{
2052
+ ACTIVE: "ACTIVE";
2053
+ PAUSED: "PAUSED";
2054
+ }>;
2055
+ platformResults: z.ZodArray<z.ZodObject<{
2056
+ message: z.ZodOptional<z.ZodString>;
2057
+ platform: z.ZodEnum<{
2058
+ META: "META";
2059
+ GOOGLE: "GOOGLE";
2060
+ }>;
2061
+ success: z.ZodBoolean;
2062
+ }, z.core.$strict>>;
2063
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2064
+ }, z.core.$strict>;
2065
+ message: z.ZodString;
2066
+ status: z.ZodLiteral<"partial_success">;
2067
+ }, z.core.$strip>, z.ZodObject<{
2068
+ kind: z.ZodOptional<z.ZodEnum<{
2069
+ validation: "validation";
2070
+ business: "business";
2071
+ platform: "platform";
2072
+ unknown: "unknown";
2073
+ }>>;
2074
+ message: z.ZodString;
2075
+ status: z.ZodLiteral<"error">;
2076
+ }, z.core.$strict>]>;
751
2077
  readonly readOnlyHint: false;
752
2078
  readonly schema: z.ZodObject<{
753
2079
  campaignId: z.ZodString;
754
- }, z.core.$strip>;
2080
+ clientRequestId: z.ZodOptional<z.ZodString>;
2081
+ expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
2082
+ ACTIVE: "ACTIVE";
2083
+ AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
2084
+ CONTENT_VALIDATION: "CONTENT_VALIDATION";
2085
+ DEPLOYING: "DEPLOYING";
2086
+ READY_FOR_REVIEW: "READY_FOR_REVIEW";
2087
+ PAUSED: "PAUSED";
2088
+ SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
2089
+ ARCHIVED: "ARCHIVED";
2090
+ FAILED: "FAILED";
2091
+ ENDED: "ENDED";
2092
+ }>>;
2093
+ userIntentSummary: z.ZodOptional<z.ZodString>;
2094
+ }, z.core.$strict>;
2095
+ readonly title: "Resume Campaign";
755
2096
  }, {
756
- readonly description: "Change a campaign's daily or total budget amount in USD. For total-budget campaigns, the end date can also be updated. Cannot switch between daily and total budget types.";
757
- readonly destructiveHint: false;
2097
+ readonly description: "Use this when the user explicitly wants to change a campaign budget, and optionally the end date for total-budget campaigns. Do not use this for read-only budget checks; this updates live campaign settings.";
2098
+ readonly destructiveHint: true;
2099
+ readonly idempotentHint: true;
758
2100
  readonly name: "dynamoi_update_budget";
759
2101
  readonly openWorldHint: true;
2102
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2103
+ data: z.ZodObject<{
2104
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
2105
+ budgetType: z.ZodEnum<{
2106
+ DAILY: "DAILY";
2107
+ TOTAL: "TOTAL";
2108
+ }>;
2109
+ contentTitle: z.ZodString;
2110
+ endDate: z.ZodOptional<z.ZodString>;
2111
+ id: z.ZodString;
2112
+ newBudget: z.ZodObject<{
2113
+ amountUsd: z.ZodNumber;
2114
+ formatted: z.ZodString;
2115
+ }, z.core.$strict>;
2116
+ previousBudget: z.ZodObject<{
2117
+ amountUsd: z.ZodNumber;
2118
+ formatted: z.ZodString;
2119
+ }, z.core.$strict>;
2120
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2121
+ }, z.core.$strict>;
2122
+ status: z.ZodLiteral<"success">;
2123
+ }, z.core.$strip>, z.ZodObject<{
2124
+ data: z.ZodObject<{
2125
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
2126
+ budgetType: z.ZodEnum<{
2127
+ DAILY: "DAILY";
2128
+ TOTAL: "TOTAL";
2129
+ }>;
2130
+ contentTitle: z.ZodString;
2131
+ endDate: z.ZodOptional<z.ZodString>;
2132
+ id: z.ZodString;
2133
+ newBudget: z.ZodObject<{
2134
+ amountUsd: z.ZodNumber;
2135
+ formatted: z.ZodString;
2136
+ }, z.core.$strict>;
2137
+ previousBudget: z.ZodObject<{
2138
+ amountUsd: z.ZodNumber;
2139
+ formatted: z.ZodString;
2140
+ }, z.core.$strict>;
2141
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2142
+ }, z.core.$strict>;
2143
+ message: z.ZodString;
2144
+ status: z.ZodLiteral<"partial_success">;
2145
+ }, z.core.$strip>, z.ZodObject<{
2146
+ kind: z.ZodOptional<z.ZodEnum<{
2147
+ validation: "validation";
2148
+ business: "business";
2149
+ platform: "platform";
2150
+ unknown: "unknown";
2151
+ }>>;
2152
+ message: z.ZodString;
2153
+ status: z.ZodLiteral<"error">;
2154
+ }, z.core.$strict>]>;
760
2155
  readonly readOnlyHint: false;
761
2156
  readonly schema: z.ZodObject<{
762
2157
  budgetAmount: z.ZodNumber;
763
2158
  campaignId: z.ZodString;
2159
+ clientRequestId: z.ZodOptional<z.ZodString>;
764
2160
  endDate: z.ZodOptional<z.ZodString>;
765
- }, z.core.$strip>;
2161
+ expectedCurrentBudgetAmount: z.ZodOptional<z.ZodNumber>;
2162
+ expectedCurrentEndDate: z.ZodOptional<z.ZodString>;
2163
+ userIntentSummary: z.ZodOptional<z.ZodString>;
2164
+ }, z.core.$strict>;
2165
+ readonly title: "Update Campaign Budget";
766
2166
  }];
767
2167
  declare const PHASE_3_TOOL_DEFINITIONS: readonly [{
768
- readonly description: "List an artist's uploaded creative assets (images and videos) available for campaign launches. Includes width/height (when available) and a computed aspect ratio to help pick the right creative.";
2168
+ readonly description: "Use this when the user wants to choose from uploaded images or videos that can be reused in a campaign launch. Do not use this when the user only wants campaign status or analytics. Use format=json when you need asset IDs for a follow-up launch. Request includeUrls only when the assistant must display or inspect public-safe asset URLs.";
769
2169
  readonly destructiveHint: false;
770
2170
  readonly name: "dynamoi_list_media_assets";
771
2171
  readonly openWorldHint: false;
2172
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2173
+ data: z.ZodUnion<readonly [z.ZodObject<{
2174
+ assets: z.ZodArray<z.ZodObject<{
2175
+ aspectRatio: z.ZodOptional<z.ZodString>;
2176
+ createdAt: z.ZodString;
2177
+ fileName: z.ZodOptional<z.ZodString>;
2178
+ fileType: z.ZodString;
2179
+ height: z.ZodOptional<z.ZodNumber>;
2180
+ id: z.ZodString;
2181
+ url: z.ZodOptional<z.ZodString>;
2182
+ urlExpiresAt: z.ZodOptional<z.ZodString>;
2183
+ width: z.ZodOptional<z.ZodNumber>;
2184
+ }, z.core.$strict>>;
2185
+ nextCursor: z.ZodOptional<z.ZodString>;
2186
+ }, z.core.$strict>, z.ZodObject<{
2187
+ nextCursor: z.ZodOptional<z.ZodString>;
2188
+ summary: z.ZodString;
2189
+ totalCount: z.ZodNumber;
2190
+ }, z.core.$strict>]>;
2191
+ status: z.ZodLiteral<"success">;
2192
+ }, z.core.$strip>, z.ZodObject<{
2193
+ kind: z.ZodOptional<z.ZodEnum<{
2194
+ validation: "validation";
2195
+ business: "business";
2196
+ platform: "platform";
2197
+ unknown: "unknown";
2198
+ }>>;
2199
+ message: z.ZodString;
2200
+ status: z.ZodLiteral<"error">;
2201
+ }, z.core.$strict>]>;
772
2202
  readonly readOnlyHint: true;
773
2203
  readonly schema: z.ZodObject<{
774
2204
  artistId: z.ZodString;
775
2205
  cursor: z.ZodOptional<z.ZodString>;
776
2206
  format: z.ZodOptional<z.ZodEnum<{
777
- json: "json";
778
2207
  summary: "summary";
2208
+ json: "json";
779
2209
  }>>;
2210
+ includeUrls: z.ZodOptional<z.ZodBoolean>;
780
2211
  limit: z.ZodOptional<z.ZodNumber>;
781
- }, z.core.$strip>;
2212
+ }, z.core.$strict>;
2213
+ readonly title: "List Media Assets";
782
2214
  }, {
783
- readonly description: "Launch a new campaign to promote a Spotify release (track, album, or playlist via Meta Ads) or grow a YouTube channel (via Google Ads with AdSense revenue optimization). Provide a client-generated request ID for safe retries.";
2215
+ readonly description: "Use this when the user explicitly wants to create a new Smart Campaign or YouTube Campaign and start the launch workflow with provided details. Ads are not necessarily live until the returned delivery state is ACTIVE. For review or demo Smart Campaign launches that already specify the artist, content title, budget, countries, and reusable media assets, you may omit spotifyUrl and endDate because Dynamoi can infer reviewer-safe defaults. Do not invent placeholder spotifyUrl or endDate values for those review/demo launches; omit them and let Dynamoi infer them. After a successful launch, answer from the returned campaign details directly instead of chaining more tools unless the user explicitly asked for more. Do not use this for recommendations or previews; this creates a real campaign workflow or demo-safe simulated campaign.";
784
2216
  readonly destructiveHint: false;
2217
+ readonly idempotentHint: true;
785
2218
  readonly name: "dynamoi_launch_campaign";
786
2219
  readonly openWorldHint: true;
2220
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2221
+ data: z.ZodObject<{
2222
+ budget: z.ZodObject<{
2223
+ amountUsd: z.ZodNumber;
2224
+ formatted: z.ZodString;
2225
+ }, z.core.$strict>;
2226
+ budgetType: z.ZodEnum<{
2227
+ DAILY: "DAILY";
2228
+ TOTAL: "TOTAL";
2229
+ }>;
2230
+ campaignType: z.ZodEnum<{
2231
+ SMART_CAMPAIGN: "SMART_CAMPAIGN";
2232
+ YOUTUBE: "YOUTUBE";
2233
+ }>;
2234
+ contentTitle: z.ZodString;
2235
+ deliveryState: z.ZodEnum<{
2236
+ ACTIVE: "ACTIVE";
2237
+ CONTENT_VALIDATION: "CONTENT_VALIDATION";
2238
+ PENDING_REVIEW: "PENDING_REVIEW";
2239
+ }>;
2240
+ id: z.ZodString;
2241
+ isLive: z.ZodBoolean;
2242
+ nextSteps: z.ZodArray<z.ZodString>;
2243
+ platforms: z.ZodArray<z.ZodString>;
2244
+ status: z.ZodString;
2245
+ summary: z.ZodString;
2246
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2247
+ }, z.core.$strict>;
2248
+ status: z.ZodLiteral<"success">;
2249
+ }, z.core.$strip>, z.ZodObject<{
2250
+ kind: z.ZodOptional<z.ZodEnum<{
2251
+ validation: "validation";
2252
+ business: "business";
2253
+ platform: "platform";
2254
+ unknown: "unknown";
2255
+ }>>;
2256
+ message: z.ZodString;
2257
+ status: z.ZodLiteral<"error">;
2258
+ }, z.core.$strict>]>;
787
2259
  readonly readOnlyHint: false;
788
2260
  readonly schema: z.ZodObject<{
789
2261
  adCopy: z.ZodOptional<z.ZodString>;
@@ -814,12 +2286,14 @@ declare const PHASE_3_TOOL_DEFINITIONS: readonly [{
814
2286
  locationTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
815
2287
  code: z.ZodString;
816
2288
  name: z.ZodString;
817
- }, z.core.$strip>>>;
2289
+ }, z.core.$strict>>>;
818
2290
  mediaAssetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
819
2291
  spotifyUrl: z.ZodOptional<z.ZodString>;
820
2292
  useAiGeneratedCopy: z.ZodOptional<z.ZodBoolean>;
2293
+ userIntentSummary: z.ZodOptional<z.ZodString>;
821
2294
  youtubeVideoId: z.ZodOptional<z.ZodString>;
822
- }, z.core.$strip>;
2295
+ }, z.core.$strict>;
2296
+ readonly title: "Start Campaign Launch Workflow";
823
2297
  }];
824
2298
 
825
2299
  type HandleOptions = {
@@ -837,4 +2311,4 @@ type HandleOptions = {
837
2311
  };
838
2312
  declare function handleMcpHttpRequest(options: HandleOptions): Promise<Response>;
839
2313
 
840
- export { type AccessRole, type ArtistTier, type BillingStatus, type CampaignDisplayStatus, type CampaignType, DateRangeSchema, DynamoiGetArtistAnalyticsInputSchema, DynamoiGetArtistInputSchema, DynamoiGetBillingInputSchema, DynamoiGetCampaignAnalyticsInputSchema, DynamoiGetCampaignInputSchema, DynamoiGetCurrentUserInputSchema, DynamoiGetPlatformStatusInputSchema, DynamoiLaunchCampaignInputSchema, DynamoiListArtistsInputSchema, DynamoiListCampaignsInputSchema, DynamoiListMediaAssetsInputSchema, DynamoiPauseCampaignInputSchema, DynamoiResumeCampaignInputSchema, DynamoiSearchInputSchema, DynamoiUpdateBudgetInputSchema, type GetArtistAnalyticsJsonData, type GetArtistAnalyticsSummaryData, type GetArtistData, type GetArtistSummaryData, type GetBillingData, type GetBillingSummaryData, type GetCampaignAnalyticsJsonData, type GetCampaignAnalyticsSummaryData, type GetCampaignData, type GetCampaignSummaryData, type GetCurrentUserData, type GetCurrentUserSummaryData, type GetPlatformStatusData, type GetPlatformStatusSummaryData, type LaunchCampaignData, type ListArtistsData, type ListArtistsSummaryData, type ListCampaignsJsonData, type ListCampaignsSummaryData, type ListMediaAssetsData, type ListMediaAssetsSummaryData, type MediaAssetSummary, type MoneyDisplay, PHASE_1_TOOL_DEFINITIONS, PHASE_2_TOOL_DEFINITIONS, PHASE_3_TOOL_DEFINITIONS, type PauseResumeCampaignData, type PauseResumePlatformResult, type Phase3Adapter, type ResultEnvelope, type SearchData, type SearchResultType, type SearchSummaryData, ToolFormatSchema, type UpdateBudgetData, buildProtectedResourceMetadata, buildWwwAuthenticateHeader, createDynamoiMcpServer, handleMcpHttpRequest, verifyAccessToken };
2314
+ export { type AccessRole, type ArtistTier, type BillingStatus, type CampaignDisplayStatus, type CampaignType, type CreateSmartLinkFromSpotifyData, DYNAMOI_MCP_SCOPES, DateRangeSchema, DynamoiCreateSmartLinkFromSpotifyInputSchema, DynamoiGetArtistAnalyticsInputSchema, DynamoiGetArtistInputSchema, DynamoiGetBillingInputSchema, DynamoiGetCampaignAnalyticsInputSchema, DynamoiGetCampaignInputSchema, DynamoiGetCurrentUserInputSchema, DynamoiGetPlatformStatusInputSchema, DynamoiGetSmartLinkAnalyticsInputSchema, DynamoiGetSmartLinkArtistSettingsInputSchema, DynamoiGetSmartLinkInputSchema, DynamoiLaunchCampaignInputSchema, DynamoiListArtistsInputSchema, DynamoiListCampaignsInputSchema, DynamoiListMediaAssetsInputSchema, DynamoiListSmartLinksInputSchema, DynamoiPauseCampaignInputSchema, DynamoiPublishSmartLinkInputSchema, DynamoiResumeCampaignInputSchema, DynamoiSearchInputSchema, DynamoiUpdateBudgetInputSchema, DynamoiUpdateSmartLinkArtistSettingsInputSchema, DynamoiUpdateSmartLinkInputSchema, type GetArtistAnalyticsJsonData, type GetArtistAnalyticsSummaryData, type GetArtistData, type GetArtistSummaryData, type GetBillingData, type GetBillingSummaryData, type GetCampaignAnalyticsJsonData, type GetCampaignAnalyticsSummaryData, type GetCampaignData, type GetCampaignSummaryData, type GetCurrentUserData, type GetCurrentUserSummaryData, type GetPlatformStatusData, type GetPlatformStatusSummaryData, type GetSmartLinkAnalyticsData, type GetSmartLinkAnalyticsSummaryData, type GetSmartLinkData, type GetSmartLinkSummaryData, type LaunchCampaignData, type ListArtistsData, type ListArtistsSummaryData, type ListCampaignsJsonData, type ListCampaignsSummaryData, type ListMediaAssetsData, type ListMediaAssetsSummaryData, type ListSmartLinksData, type ListSmartLinksSummaryData, type MediaAssetSummary, type MoneyDisplay, PHASE_1_TOOL_DEFINITIONS, PHASE_2_TOOL_DEFINITIONS, PHASE_3_TOOL_DEFINITIONS, PHASE_4_TOOL_DEFINITIONS, type PauseResumeCampaignData, type PauseResumePlatformResult, type Phase3Adapter, type PublishSmartLinkData, type ResultEnvelope, type SearchData, type SearchResultType, type SearchSummaryData, type SmartLinkSettingsData, type SmartLinkSummary, ToolFormatSchema, type UpdateBudgetData, type UpdateSmartLinkArtistSettingsData, type UpdateSmartLinkData, buildProtectedResourceMetadata, buildWwwAuthenticateHeader, createDynamoiMcpServer, handleMcpHttpRequest, verifyAccessToken };