@dynamoi/mcp 0.4.1 → 0.5.1

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
@@ -1,27 +1,14 @@
1
+ export { DYNAMOI_MCP_SCOPES, buildProtectedResourceMetadata, buildWwwAuthenticateHeader } from './auth/protected-resource.js';
1
2
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
3
  import * as z from 'zod/v4';
3
4
 
4
- type ProtectedResourceMetadata = {
5
- resource: string;
6
- authorization_servers: string[];
7
- scopes_supported: string[];
8
- };
9
- declare function buildProtectedResourceMetadata(options: {
10
- resource: string;
11
- authorizationServers: string[];
12
- scopesSupported?: string[];
13
- }): ProtectedResourceMetadata;
14
- declare function buildWwwAuthenticateHeader(options: {
15
- resourceMetadataUrl: string;
16
- scope?: string;
17
- }): string;
18
-
19
5
  type VerifiedAccessToken = {
20
6
  sub: string;
21
7
  iss: string;
22
8
  aud: string | string[] | undefined;
23
9
  exp: number;
24
10
  clientId: string | null;
11
+ scopes: string[];
25
12
  };
26
13
  type VerifyAccessTokenOptions = {
27
14
  token: string;
@@ -77,6 +64,7 @@ type SearchData = {
77
64
  name: string;
78
65
  status?: string;
79
66
  artistName?: string;
67
+ resultReason?: string;
80
68
  }>;
81
69
  nextCursor?: string;
82
70
  };
@@ -96,6 +84,125 @@ type GetCurrentUserData = {
96
84
  artistCount: number;
97
85
  hints: string[];
98
86
  };
87
+ type SmartLinkClaimStatus = "auto_approved" | "pending_ops_review" | "approved_by_ops" | "rejected";
88
+ type SmartLinkPublishState = "published" | "unpublished";
89
+ type SmartLinkTakedownStatus = "none" | "active" | "resolved";
90
+ type SmartLinkOdesliStatus = "pending" | "resolved" | "failed";
91
+ type SmartLinkRenderState = "queued" | "rendering" | "rendered" | "failed";
92
+ type SmartLinkTheme = "classic" | "brutalist" | "aurora" | "cinematic";
93
+ type SmartLinkSummary = {
94
+ id: string;
95
+ artistId: string;
96
+ artistName: string;
97
+ releaseTitle: string;
98
+ releaseType: string;
99
+ releaseSlug: string;
100
+ spotifyUrl: string | null;
101
+ publicUrl: string;
102
+ localizedPublicUrls?: string[];
103
+ isPublic: boolean;
104
+ claimStatus: SmartLinkClaimStatus;
105
+ publishState: SmartLinkPublishState;
106
+ takedownStatus: SmartLinkTakedownStatus;
107
+ odesliStatus: SmartLinkOdesliStatus;
108
+ renderState: SmartLinkRenderState;
109
+ theme: SmartLinkTheme;
110
+ createdAt: string;
111
+ updatedAt: string;
112
+ };
113
+ type SmartLinkSettingsData = {
114
+ artistId: string;
115
+ artistName: string;
116
+ isEnabled: boolean;
117
+ defaultTheme: SmartLinkTheme;
118
+ pixels: {
119
+ metaPixelId: string | null;
120
+ tiktokPixelId: string | null;
121
+ googleAdsConversionId: string | null;
122
+ };
123
+ availableThemes: SmartLinkTheme[];
124
+ summary?: string;
125
+ };
126
+ type ListSmartLinksData = {
127
+ smartLinks: SmartLinkSummary[];
128
+ nextCursor?: string;
129
+ };
130
+ type ListSmartLinksSummaryData = {
131
+ summary: string;
132
+ totalCount: number;
133
+ nextCursor?: string;
134
+ };
135
+ type GetSmartLinkData = SmartLinkSummary & {
136
+ customDescription: string | null;
137
+ originalSpotifyUrl: string | null;
138
+ spotifyDiscographyId: string;
139
+ resourceUri: string;
140
+ settingsResourceUri: string;
141
+ nextActions: string[];
142
+ warnings?: string[];
143
+ actionRequired?: string[];
144
+ };
145
+ type GetSmartLinkSummaryData = {
146
+ summary: string;
147
+ warnings?: string[];
148
+ actionRequired?: string[];
149
+ };
150
+ type SmartLinkAnalyticsTotals = {
151
+ anonymousVisits: number;
152
+ streamingServiceClicks: number;
153
+ shareClicks: number;
154
+ promoteCtaClicks: number;
155
+ };
156
+ type GetSmartLinkAnalyticsData = {
157
+ playLinkId: string;
158
+ artistId: string;
159
+ releaseTitle: string;
160
+ dateRange: {
161
+ start: string;
162
+ end: string;
163
+ };
164
+ totals: SmartLinkAnalyticsTotals;
165
+ daily?: Array<SmartLinkAnalyticsTotals & {
166
+ date: string;
167
+ }>;
168
+ breakdowns?: {
169
+ serviceClicks?: Record<string, number>;
170
+ countryViews?: Record<string, number>;
171
+ countryClicks?: Record<string, number>;
172
+ referrerViews?: Record<string, number>;
173
+ referrerClicks?: Record<string, number>;
174
+ utmViews?: Record<string, number>;
175
+ utmClicks?: Record<string, number>;
176
+ deviceViews?: Record<string, number>;
177
+ deviceClicks?: Record<string, number>;
178
+ localeViews?: Record<string, number>;
179
+ localeClicks?: Record<string, number>;
180
+ themeViews?: Record<string, number>;
181
+ themeClicks?: Record<string, number>;
182
+ };
183
+ warnings?: string[];
184
+ };
185
+ type GetSmartLinkAnalyticsSummaryData = {
186
+ summary: string;
187
+ warnings?: string[];
188
+ };
189
+ type CreateSmartLinkFromSpotifyData = GetSmartLinkData & {
190
+ outcome: "created" | "existing";
191
+ workflowRunId: string | null;
192
+ workflowWarning: string | null;
193
+ };
194
+ type UpdateSmartLinkData = GetSmartLinkData & {
195
+ renderRunId: string | null;
196
+ renderWarning: string | null;
197
+ };
198
+ type UpdateSmartLinkArtistSettingsData = SmartLinkSettingsData & {
199
+ renderQueuedCount: number;
200
+ renderWarning: string | null;
201
+ };
202
+ type PublishSmartLinkData = GetSmartLinkData & {
203
+ workflowRunId: string | null;
204
+ workflowWarning: string | null;
205
+ };
99
206
  type GetCurrentUserSummaryData = {
100
207
  summary: string;
101
208
  organizationCount: number;
@@ -165,6 +272,7 @@ type ListCampaignsSummaryData = {
165
272
  nextCursor?: string;
166
273
  };
167
274
  type GetCampaignData = {
275
+ summary: string;
168
276
  id: string;
169
277
  contentTitle: string;
170
278
  contentType: "TRACK" | "ALBUM" | "PLAYLIST" | "VIDEO";
@@ -276,10 +384,32 @@ type GetArtistAnalyticsJsonData = {
276
384
  clicks: number;
277
385
  spend: MoneyDisplay;
278
386
  }>;
387
+ strongestCampaign?: {
388
+ campaignId: string;
389
+ contentTitle: string;
390
+ status: string;
391
+ impressions: number;
392
+ clicks: number;
393
+ spend: MoneyDisplay;
394
+ };
279
395
  warnings?: string[];
280
396
  };
281
397
  type GetArtistAnalyticsSummaryData = {
282
398
  summary: string;
399
+ campaignCount?: number;
400
+ dateRange?: {
401
+ start: string;
402
+ end: string;
403
+ };
404
+ hasDailyBreakdown?: boolean;
405
+ strongestCampaign?: {
406
+ campaignId: string;
407
+ contentTitle: string;
408
+ status: string;
409
+ impressions: number;
410
+ clicks: number;
411
+ spend: MoneyDisplay;
412
+ };
283
413
  warnings?: string[];
284
414
  };
285
415
  type GetBillingData = {
@@ -346,6 +476,8 @@ type PauseResumeCampaignData = {
346
476
  contentTitle: string;
347
477
  newStatus: "PAUSED" | "ACTIVE";
348
478
  platformResults: PauseResumePlatformResult[];
479
+ warnings?: string[];
480
+ actionRequired?: string[];
349
481
  };
350
482
  type UpdateBudgetData = {
351
483
  id: string;
@@ -354,10 +486,13 @@ type UpdateBudgetData = {
354
486
  newBudget: MoneyDisplay;
355
487
  budgetType: "DAILY" | "TOTAL";
356
488
  endDate?: string;
489
+ warnings?: string[];
490
+ actionRequired?: string[];
357
491
  };
358
492
  type MediaAssetSummary = {
359
493
  id: string;
360
- url: string;
494
+ url?: string;
495
+ urlExpiresAt?: string;
361
496
  fileType: string;
362
497
  fileName?: string;
363
498
  width?: number;
@@ -375,6 +510,7 @@ type ListMediaAssetsSummaryData = {
375
510
  nextCursor?: string;
376
511
  };
377
512
  type LaunchCampaignData = {
513
+ summary: string;
378
514
  id: string;
379
515
  contentTitle: string;
380
516
  campaignType: CampaignType;
@@ -382,7 +518,10 @@ type LaunchCampaignData = {
382
518
  budget: MoneyDisplay;
383
519
  budgetType: "DAILY" | "TOTAL";
384
520
  platforms: string[];
521
+ deliveryState: "ACTIVE" | "PENDING_REVIEW" | "CONTENT_VALIDATION";
522
+ isLive: boolean;
385
523
  nextSteps: string[];
524
+ warnings?: string[];
386
525
  };
387
526
 
388
527
  type Phase3Adapter = {
@@ -401,30 +540,852 @@ type Phase3Adapter = {
401
540
  updateBudget(input: unknown): Promise<ResultEnvelope<UpdateBudgetData>>;
402
541
  listMediaAssets(input: unknown): Promise<ResultEnvelope<ListMediaAssetsData | ListMediaAssetsSummaryData>>;
403
542
  launchCampaign(input: unknown): Promise<ResultEnvelope<LaunchCampaignData>>;
543
+ createSmartLinkFromSpotify(input: unknown): Promise<ResultEnvelope<CreateSmartLinkFromSpotifyData>>;
544
+ listSmartLinks(input: unknown): Promise<ResultEnvelope<ListSmartLinksData | ListSmartLinksSummaryData>>;
545
+ getSmartLink(input: unknown): Promise<ResultEnvelope<GetSmartLinkData | GetSmartLinkSummaryData>>;
546
+ getSmartLinkAnalytics(input: unknown): Promise<ResultEnvelope<GetSmartLinkAnalyticsData | GetSmartLinkAnalyticsSummaryData>>;
547
+ getSmartLinkArtistSettings(input: unknown): Promise<ResultEnvelope<SmartLinkSettingsData>>;
548
+ updateSmartLink(input: unknown): Promise<ResultEnvelope<UpdateSmartLinkData>>;
549
+ updateSmartLinkArtistSettings(input: unknown): Promise<ResultEnvelope<UpdateSmartLinkArtistSettingsData>>;
550
+ publishSmartLink(input: unknown): Promise<ResultEnvelope<PublishSmartLinkData>>;
551
+ unpublishSmartLink(input: unknown): Promise<ResultEnvelope<PublishSmartLinkData>>;
404
552
  };
405
553
  declare function createDynamoiMcpServer(options: {
406
554
  adapter: Phase3Adapter;
555
+ websiteUrl?: string;
407
556
  }): McpServer;
408
557
 
558
+ declare const DynamoiCreateSmartLinkFromSpotifyInputSchema: z.ZodObject<{
559
+ artistId: z.ZodString;
560
+ clientRequestId: z.ZodOptional<z.ZodString>;
561
+ customDescription: z.ZodOptional<z.ZodString>;
562
+ format: z.ZodOptional<z.ZodEnum<{
563
+ summary: "summary";
564
+ json: "json";
565
+ }>>;
566
+ spotifyUrl: z.ZodString;
567
+ userIntentSummary: z.ZodOptional<z.ZodString>;
568
+ }, z.core.$strict>;
569
+ declare const DynamoiListSmartLinksInputSchema: z.ZodObject<{
570
+ claimStatus: z.ZodOptional<z.ZodEnum<{
571
+ auto_approved: "auto_approved";
572
+ pending_ops_review: "pending_ops_review";
573
+ approved_by_ops: "approved_by_ops";
574
+ rejected: "rejected";
575
+ }>>;
576
+ publishState: z.ZodOptional<z.ZodEnum<{
577
+ published: "published";
578
+ unpublished: "unpublished";
579
+ }>>;
580
+ renderState: z.ZodOptional<z.ZodEnum<{
581
+ failed: "failed";
582
+ queued: "queued";
583
+ rendering: "rendering";
584
+ rendered: "rendered";
585
+ }>>;
586
+ artistId: z.ZodString;
587
+ cursor: z.ZodOptional<z.ZodString>;
588
+ format: z.ZodOptional<z.ZodEnum<{
589
+ summary: "summary";
590
+ json: "json";
591
+ }>>;
592
+ limit: z.ZodOptional<z.ZodNumber>;
593
+ query: z.ZodOptional<z.ZodString>;
594
+ }, z.core.$strict>;
595
+ declare const DynamoiGetSmartLinkInputSchema: z.ZodObject<{
596
+ artistId: z.ZodOptional<z.ZodString>;
597
+ format: z.ZodOptional<z.ZodEnum<{
598
+ summary: "summary";
599
+ json: "json";
600
+ }>>;
601
+ playLinkId: z.ZodOptional<z.ZodString>;
602
+ spotifyUrl: z.ZodOptional<z.ZodString>;
603
+ }, z.core.$strict>;
604
+ declare const DynamoiGetSmartLinkAnalyticsInputSchema: z.ZodObject<{
605
+ dateRange: z.ZodOptional<z.ZodObject<{
606
+ end: z.ZodString;
607
+ start: z.ZodString;
608
+ }, z.core.$strict>>;
609
+ format: z.ZodOptional<z.ZodEnum<{
610
+ summary: "summary";
611
+ json: "json";
612
+ }>>;
613
+ granularity: z.ZodOptional<z.ZodEnum<{
614
+ DAILY: "DAILY";
615
+ TOTAL: "TOTAL";
616
+ }>>;
617
+ includeBreakdowns: z.ZodOptional<z.ZodBoolean>;
618
+ playLinkId: z.ZodString;
619
+ }, z.core.$strict>;
620
+ declare const DynamoiGetSmartLinkArtistSettingsInputSchema: z.ZodObject<{
621
+ artistId: z.ZodString;
622
+ format: z.ZodOptional<z.ZodEnum<{
623
+ summary: "summary";
624
+ json: "json";
625
+ }>>;
626
+ }, z.core.$strict>;
627
+ declare const DynamoiUpdateSmartLinkInputSchema: z.ZodObject<{
628
+ clientRequestId: z.ZodOptional<z.ZodString>;
629
+ customDescription: z.ZodNullable<z.ZodString>;
630
+ expectedUpdatedAt: z.ZodOptional<z.ZodString>;
631
+ playLinkId: z.ZodString;
632
+ userIntentSummary: z.ZodOptional<z.ZodString>;
633
+ }, z.core.$strict>;
634
+ declare const DynamoiUpdateSmartLinkArtistSettingsInputSchema: z.ZodObject<{
635
+ artistId: z.ZodString;
636
+ clientRequestId: z.ZodOptional<z.ZodString>;
637
+ googleAdsConversionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
638
+ metaPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
639
+ theme: z.ZodOptional<z.ZodEnum<{
640
+ classic: "classic";
641
+ brutalist: "brutalist";
642
+ aurora: "aurora";
643
+ cinematic: "cinematic";
644
+ }>>;
645
+ tiktokPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
646
+ userIntentSummary: z.ZodOptional<z.ZodString>;
647
+ }, z.core.$strict>;
648
+ declare const DynamoiPublishSmartLinkInputSchema: z.ZodObject<{
649
+ clientRequestId: z.ZodOptional<z.ZodString>;
650
+ expectedPublishState: z.ZodOptional<z.ZodEnum<{
651
+ published: "published";
652
+ unpublished: "unpublished";
653
+ }>>;
654
+ playLinkId: z.ZodString;
655
+ userIntentSummary: z.ZodOptional<z.ZodString>;
656
+ }, z.core.$strict>;
657
+ declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
658
+ 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.";
659
+ readonly destructiveHint: false;
660
+ readonly idempotentHint: true;
661
+ readonly name: "dynamoi_create_smart_link_from_spotify";
662
+ readonly openWorldHint: true;
663
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
664
+ data: z.ZodObject<{
665
+ artistId: z.ZodString;
666
+ artistName: z.ZodString;
667
+ claimStatus: z.ZodEnum<{
668
+ auto_approved: "auto_approved";
669
+ pending_ops_review: "pending_ops_review";
670
+ approved_by_ops: "approved_by_ops";
671
+ rejected: "rejected";
672
+ }>;
673
+ createdAt: z.ZodString;
674
+ id: z.ZodString;
675
+ isPublic: z.ZodBoolean;
676
+ localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
677
+ odesliStatus: z.ZodEnum<{
678
+ resolved: "resolved";
679
+ pending: "pending";
680
+ failed: "failed";
681
+ }>;
682
+ publicUrl: z.ZodString;
683
+ publishState: z.ZodEnum<{
684
+ published: "published";
685
+ unpublished: "unpublished";
686
+ }>;
687
+ releaseSlug: z.ZodString;
688
+ releaseTitle: z.ZodString;
689
+ releaseType: z.ZodString;
690
+ renderState: z.ZodEnum<{
691
+ failed: "failed";
692
+ queued: "queued";
693
+ rendering: "rendering";
694
+ rendered: "rendered";
695
+ }>;
696
+ spotifyUrl: z.ZodNullable<z.ZodString>;
697
+ takedownStatus: z.ZodEnum<{
698
+ none: "none";
699
+ active: "active";
700
+ resolved: "resolved";
701
+ }>;
702
+ theme: z.ZodEnum<{
703
+ classic: "classic";
704
+ brutalist: "brutalist";
705
+ aurora: "aurora";
706
+ cinematic: "cinematic";
707
+ }>;
708
+ updatedAt: z.ZodString;
709
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
710
+ customDescription: z.ZodNullable<z.ZodString>;
711
+ nextActions: z.ZodArray<z.ZodString>;
712
+ originalSpotifyUrl: z.ZodNullable<z.ZodString>;
713
+ resourceUri: z.ZodString;
714
+ settingsResourceUri: z.ZodString;
715
+ spotifyDiscographyId: z.ZodString;
716
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
717
+ outcome: z.ZodEnum<{
718
+ created: "created";
719
+ existing: "existing";
720
+ }>;
721
+ workflowRunId: z.ZodNullable<z.ZodString>;
722
+ workflowWarning: z.ZodNullable<z.ZodString>;
723
+ }, z.core.$strict>;
724
+ status: z.ZodLiteral<"success">;
725
+ }, z.core.$strip>, z.ZodObject<{
726
+ kind: z.ZodOptional<z.ZodEnum<{
727
+ validation: "validation";
728
+ business: "business";
729
+ platform: "platform";
730
+ unknown: "unknown";
731
+ }>>;
732
+ message: z.ZodString;
733
+ status: z.ZodLiteral<"error">;
734
+ }, z.core.$strict>]>;
735
+ readonly readOnlyHint: false;
736
+ readonly schema: z.ZodObject<{
737
+ artistId: z.ZodString;
738
+ clientRequestId: z.ZodOptional<z.ZodString>;
739
+ customDescription: z.ZodOptional<z.ZodString>;
740
+ format: z.ZodOptional<z.ZodEnum<{
741
+ summary: "summary";
742
+ json: "json";
743
+ }>>;
744
+ spotifyUrl: z.ZodString;
745
+ userIntentSummary: z.ZodOptional<z.ZodString>;
746
+ }, z.core.$strict>;
747
+ readonly title: "Create Free Smart Link from Spotify";
748
+ }, {
749
+ 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.";
750
+ readonly destructiveHint: false;
751
+ readonly name: "dynamoi_list_smart_links";
752
+ readonly openWorldHint: false;
753
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
754
+ data: z.ZodUnion<readonly [z.ZodObject<{
755
+ nextCursor: z.ZodOptional<z.ZodString>;
756
+ smartLinks: z.ZodArray<z.ZodObject<{
757
+ artistId: z.ZodString;
758
+ artistName: z.ZodString;
759
+ claimStatus: z.ZodEnum<{
760
+ auto_approved: "auto_approved";
761
+ pending_ops_review: "pending_ops_review";
762
+ approved_by_ops: "approved_by_ops";
763
+ rejected: "rejected";
764
+ }>;
765
+ createdAt: z.ZodString;
766
+ id: z.ZodString;
767
+ isPublic: z.ZodBoolean;
768
+ localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
769
+ odesliStatus: z.ZodEnum<{
770
+ resolved: "resolved";
771
+ pending: "pending";
772
+ failed: "failed";
773
+ }>;
774
+ publicUrl: z.ZodString;
775
+ publishState: z.ZodEnum<{
776
+ published: "published";
777
+ unpublished: "unpublished";
778
+ }>;
779
+ releaseSlug: z.ZodString;
780
+ releaseTitle: z.ZodString;
781
+ releaseType: z.ZodString;
782
+ renderState: z.ZodEnum<{
783
+ failed: "failed";
784
+ queued: "queued";
785
+ rendering: "rendering";
786
+ rendered: "rendered";
787
+ }>;
788
+ spotifyUrl: z.ZodNullable<z.ZodString>;
789
+ takedownStatus: z.ZodEnum<{
790
+ none: "none";
791
+ active: "active";
792
+ resolved: "resolved";
793
+ }>;
794
+ theme: z.ZodEnum<{
795
+ classic: "classic";
796
+ brutalist: "brutalist";
797
+ aurora: "aurora";
798
+ cinematic: "cinematic";
799
+ }>;
800
+ updatedAt: z.ZodString;
801
+ }, z.core.$strict>>;
802
+ }, z.core.$strict>, z.ZodObject<{
803
+ nextCursor: z.ZodOptional<z.ZodString>;
804
+ summary: z.ZodString;
805
+ totalCount: z.ZodNumber;
806
+ }, z.core.$strict>]>;
807
+ status: z.ZodLiteral<"success">;
808
+ }, z.core.$strip>, z.ZodObject<{
809
+ kind: z.ZodOptional<z.ZodEnum<{
810
+ validation: "validation";
811
+ business: "business";
812
+ platform: "platform";
813
+ unknown: "unknown";
814
+ }>>;
815
+ message: z.ZodString;
816
+ status: z.ZodLiteral<"error">;
817
+ }, z.core.$strict>]>;
818
+ readonly readOnlyHint: true;
819
+ readonly schema: z.ZodObject<{
820
+ claimStatus: z.ZodOptional<z.ZodEnum<{
821
+ auto_approved: "auto_approved";
822
+ pending_ops_review: "pending_ops_review";
823
+ approved_by_ops: "approved_by_ops";
824
+ rejected: "rejected";
825
+ }>>;
826
+ publishState: z.ZodOptional<z.ZodEnum<{
827
+ published: "published";
828
+ unpublished: "unpublished";
829
+ }>>;
830
+ renderState: z.ZodOptional<z.ZodEnum<{
831
+ failed: "failed";
832
+ queued: "queued";
833
+ rendering: "rendering";
834
+ rendered: "rendered";
835
+ }>>;
836
+ artistId: z.ZodString;
837
+ cursor: z.ZodOptional<z.ZodString>;
838
+ format: z.ZodOptional<z.ZodEnum<{
839
+ summary: "summary";
840
+ json: "json";
841
+ }>>;
842
+ limit: z.ZodOptional<z.ZodNumber>;
843
+ query: z.ZodOptional<z.ZodString>;
844
+ }, z.core.$strict>;
845
+ readonly title: "List Smart Links";
846
+ }, {
847
+ 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.";
848
+ readonly destructiveHint: false;
849
+ readonly name: "dynamoi_get_smart_link";
850
+ readonly openWorldHint: false;
851
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
852
+ data: z.ZodUnion<readonly [z.ZodObject<{
853
+ artistId: z.ZodString;
854
+ artistName: z.ZodString;
855
+ claimStatus: z.ZodEnum<{
856
+ auto_approved: "auto_approved";
857
+ pending_ops_review: "pending_ops_review";
858
+ approved_by_ops: "approved_by_ops";
859
+ rejected: "rejected";
860
+ }>;
861
+ createdAt: z.ZodString;
862
+ id: z.ZodString;
863
+ isPublic: z.ZodBoolean;
864
+ localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
865
+ odesliStatus: z.ZodEnum<{
866
+ resolved: "resolved";
867
+ pending: "pending";
868
+ failed: "failed";
869
+ }>;
870
+ publicUrl: z.ZodString;
871
+ publishState: z.ZodEnum<{
872
+ published: "published";
873
+ unpublished: "unpublished";
874
+ }>;
875
+ releaseSlug: z.ZodString;
876
+ releaseTitle: z.ZodString;
877
+ releaseType: z.ZodString;
878
+ renderState: z.ZodEnum<{
879
+ failed: "failed";
880
+ queued: "queued";
881
+ rendering: "rendering";
882
+ rendered: "rendered";
883
+ }>;
884
+ spotifyUrl: z.ZodNullable<z.ZodString>;
885
+ takedownStatus: z.ZodEnum<{
886
+ none: "none";
887
+ active: "active";
888
+ resolved: "resolved";
889
+ }>;
890
+ theme: z.ZodEnum<{
891
+ classic: "classic";
892
+ brutalist: "brutalist";
893
+ aurora: "aurora";
894
+ cinematic: "cinematic";
895
+ }>;
896
+ updatedAt: z.ZodString;
897
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
898
+ customDescription: z.ZodNullable<z.ZodString>;
899
+ nextActions: z.ZodArray<z.ZodString>;
900
+ originalSpotifyUrl: z.ZodNullable<z.ZodString>;
901
+ resourceUri: z.ZodString;
902
+ settingsResourceUri: z.ZodString;
903
+ spotifyDiscographyId: z.ZodString;
904
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
905
+ }, z.core.$strict>, z.ZodObject<{
906
+ summary: z.ZodString;
907
+ }, z.core.$loose>]>;
908
+ status: z.ZodLiteral<"success">;
909
+ }, z.core.$strip>, z.ZodObject<{
910
+ kind: z.ZodOptional<z.ZodEnum<{
911
+ validation: "validation";
912
+ business: "business";
913
+ platform: "platform";
914
+ unknown: "unknown";
915
+ }>>;
916
+ message: z.ZodString;
917
+ status: z.ZodLiteral<"error">;
918
+ }, z.core.$strict>]>;
919
+ readonly readOnlyHint: true;
920
+ readonly schema: z.ZodObject<{
921
+ artistId: z.ZodOptional<z.ZodString>;
922
+ format: z.ZodOptional<z.ZodEnum<{
923
+ summary: "summary";
924
+ json: "json";
925
+ }>>;
926
+ playLinkId: z.ZodOptional<z.ZodString>;
927
+ spotifyUrl: z.ZodOptional<z.ZodString>;
928
+ }, z.core.$strict>;
929
+ readonly title: "Get Smart Link";
930
+ }, {
931
+ 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.";
932
+ readonly destructiveHint: false;
933
+ readonly name: "dynamoi_get_smart_link_analytics";
934
+ readonly openWorldHint: false;
935
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
936
+ data: z.ZodUnion<readonly [z.ZodObject<{
937
+ artistId: z.ZodString;
938
+ breakdowns: z.ZodOptional<z.ZodObject<{
939
+ countryClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
940
+ countryViews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
941
+ deviceClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
942
+ deviceViews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
943
+ localeClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
944
+ localeViews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
945
+ referrerClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
946
+ referrerViews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
947
+ serviceClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
948
+ themeClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
949
+ themeViews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
950
+ utmClicks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
951
+ utmViews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
952
+ }, z.core.$strict>>;
953
+ daily: z.ZodOptional<z.ZodArray<z.ZodObject<{
954
+ anonymousVisits: z.ZodNumber;
955
+ promoteCtaClicks: z.ZodNumber;
956
+ shareClicks: z.ZodNumber;
957
+ streamingServiceClicks: z.ZodNumber;
958
+ date: z.ZodString;
959
+ }, z.core.$strict>>>;
960
+ dateRange: z.ZodObject<{
961
+ end: z.ZodString;
962
+ start: z.ZodString;
963
+ }, z.core.$strict>;
964
+ playLinkId: z.ZodString;
965
+ releaseTitle: z.ZodString;
966
+ totals: z.ZodObject<{
967
+ anonymousVisits: z.ZodNumber;
968
+ promoteCtaClicks: z.ZodNumber;
969
+ shareClicks: z.ZodNumber;
970
+ streamingServiceClicks: z.ZodNumber;
971
+ }, z.core.$strict>;
972
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
973
+ }, z.core.$strict>, z.ZodObject<{
974
+ summary: z.ZodString;
975
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
976
+ }, z.core.$strict>]>;
977
+ status: z.ZodLiteral<"success">;
978
+ }, z.core.$strip>, z.ZodObject<{
979
+ kind: z.ZodOptional<z.ZodEnum<{
980
+ validation: "validation";
981
+ business: "business";
982
+ platform: "platform";
983
+ unknown: "unknown";
984
+ }>>;
985
+ message: z.ZodString;
986
+ status: z.ZodLiteral<"error">;
987
+ }, z.core.$strict>]>;
988
+ readonly readOnlyHint: true;
989
+ readonly schema: z.ZodObject<{
990
+ dateRange: z.ZodOptional<z.ZodObject<{
991
+ end: z.ZodString;
992
+ start: z.ZodString;
993
+ }, z.core.$strict>>;
994
+ format: z.ZodOptional<z.ZodEnum<{
995
+ summary: "summary";
996
+ json: "json";
997
+ }>>;
998
+ granularity: z.ZodOptional<z.ZodEnum<{
999
+ DAILY: "DAILY";
1000
+ TOTAL: "TOTAL";
1001
+ }>>;
1002
+ includeBreakdowns: z.ZodOptional<z.ZodBoolean>;
1003
+ playLinkId: z.ZodString;
1004
+ }, z.core.$strict>;
1005
+ readonly title: "Get Smart Link Analytics";
1006
+ }, {
1007
+ 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.";
1008
+ readonly destructiveHint: false;
1009
+ readonly name: "dynamoi_get_smart_link_artist_settings";
1010
+ readonly openWorldHint: false;
1011
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1012
+ data: z.ZodObject<{
1013
+ artistId: z.ZodString;
1014
+ artistName: z.ZodString;
1015
+ availableThemes: z.ZodArray<z.ZodEnum<{
1016
+ classic: "classic";
1017
+ brutalist: "brutalist";
1018
+ aurora: "aurora";
1019
+ cinematic: "cinematic";
1020
+ }>>;
1021
+ defaultTheme: z.ZodEnum<{
1022
+ classic: "classic";
1023
+ brutalist: "brutalist";
1024
+ aurora: "aurora";
1025
+ cinematic: "cinematic";
1026
+ }>;
1027
+ isEnabled: z.ZodBoolean;
1028
+ pixels: z.ZodObject<{
1029
+ googleAdsConversionId: z.ZodNullable<z.ZodString>;
1030
+ metaPixelId: z.ZodNullable<z.ZodString>;
1031
+ tiktokPixelId: z.ZodNullable<z.ZodString>;
1032
+ }, z.core.$strict>;
1033
+ summary: z.ZodOptional<z.ZodString>;
1034
+ }, z.core.$strict>;
1035
+ status: z.ZodLiteral<"success">;
1036
+ }, z.core.$strip>, z.ZodObject<{
1037
+ kind: z.ZodOptional<z.ZodEnum<{
1038
+ validation: "validation";
1039
+ business: "business";
1040
+ platform: "platform";
1041
+ unknown: "unknown";
1042
+ }>>;
1043
+ message: z.ZodString;
1044
+ status: z.ZodLiteral<"error">;
1045
+ }, z.core.$strict>]>;
1046
+ readonly readOnlyHint: true;
1047
+ readonly schema: z.ZodObject<{
1048
+ artistId: z.ZodString;
1049
+ format: z.ZodOptional<z.ZodEnum<{
1050
+ summary: "summary";
1051
+ json: "json";
1052
+ }>>;
1053
+ }, z.core.$strict>;
1054
+ readonly title: "Get Smart Link Artist Settings";
1055
+ }, {
1056
+ 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.";
1057
+ readonly destructiveHint: false;
1058
+ readonly idempotentHint: true;
1059
+ readonly name: "dynamoi_update_smart_link";
1060
+ readonly openWorldHint: true;
1061
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1062
+ data: z.ZodObject<{
1063
+ artistId: z.ZodString;
1064
+ artistName: z.ZodString;
1065
+ claimStatus: z.ZodEnum<{
1066
+ auto_approved: "auto_approved";
1067
+ pending_ops_review: "pending_ops_review";
1068
+ approved_by_ops: "approved_by_ops";
1069
+ rejected: "rejected";
1070
+ }>;
1071
+ createdAt: z.ZodString;
1072
+ id: z.ZodString;
1073
+ isPublic: z.ZodBoolean;
1074
+ localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
1075
+ odesliStatus: z.ZodEnum<{
1076
+ resolved: "resolved";
1077
+ pending: "pending";
1078
+ failed: "failed";
1079
+ }>;
1080
+ publicUrl: z.ZodString;
1081
+ publishState: z.ZodEnum<{
1082
+ published: "published";
1083
+ unpublished: "unpublished";
1084
+ }>;
1085
+ releaseSlug: z.ZodString;
1086
+ releaseTitle: z.ZodString;
1087
+ releaseType: z.ZodString;
1088
+ renderState: z.ZodEnum<{
1089
+ failed: "failed";
1090
+ queued: "queued";
1091
+ rendering: "rendering";
1092
+ rendered: "rendered";
1093
+ }>;
1094
+ spotifyUrl: z.ZodNullable<z.ZodString>;
1095
+ takedownStatus: z.ZodEnum<{
1096
+ none: "none";
1097
+ active: "active";
1098
+ resolved: "resolved";
1099
+ }>;
1100
+ theme: z.ZodEnum<{
1101
+ classic: "classic";
1102
+ brutalist: "brutalist";
1103
+ aurora: "aurora";
1104
+ cinematic: "cinematic";
1105
+ }>;
1106
+ updatedAt: z.ZodString;
1107
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1108
+ customDescription: z.ZodNullable<z.ZodString>;
1109
+ nextActions: z.ZodArray<z.ZodString>;
1110
+ originalSpotifyUrl: z.ZodNullable<z.ZodString>;
1111
+ resourceUri: z.ZodString;
1112
+ settingsResourceUri: z.ZodString;
1113
+ spotifyDiscographyId: z.ZodString;
1114
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1115
+ renderRunId: z.ZodNullable<z.ZodString>;
1116
+ renderWarning: z.ZodNullable<z.ZodString>;
1117
+ }, z.core.$strict>;
1118
+ status: z.ZodLiteral<"success">;
1119
+ }, z.core.$strip>, z.ZodObject<{
1120
+ kind: z.ZodOptional<z.ZodEnum<{
1121
+ validation: "validation";
1122
+ business: "business";
1123
+ platform: "platform";
1124
+ unknown: "unknown";
1125
+ }>>;
1126
+ message: z.ZodString;
1127
+ status: z.ZodLiteral<"error">;
1128
+ }, z.core.$strict>]>;
1129
+ readonly readOnlyHint: false;
1130
+ readonly schema: z.ZodObject<{
1131
+ clientRequestId: z.ZodOptional<z.ZodString>;
1132
+ customDescription: z.ZodNullable<z.ZodString>;
1133
+ expectedUpdatedAt: z.ZodOptional<z.ZodString>;
1134
+ playLinkId: z.ZodString;
1135
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1136
+ }, z.core.$strict>;
1137
+ readonly title: "Update Smart Link";
1138
+ }, {
1139
+ 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.";
1140
+ readonly destructiveHint: false;
1141
+ readonly idempotentHint: true;
1142
+ readonly name: "dynamoi_update_smart_link_artist_settings";
1143
+ readonly openWorldHint: true;
1144
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1145
+ data: z.ZodObject<{
1146
+ artistId: z.ZodString;
1147
+ artistName: z.ZodString;
1148
+ availableThemes: z.ZodArray<z.ZodEnum<{
1149
+ classic: "classic";
1150
+ brutalist: "brutalist";
1151
+ aurora: "aurora";
1152
+ cinematic: "cinematic";
1153
+ }>>;
1154
+ defaultTheme: z.ZodEnum<{
1155
+ classic: "classic";
1156
+ brutalist: "brutalist";
1157
+ aurora: "aurora";
1158
+ cinematic: "cinematic";
1159
+ }>;
1160
+ isEnabled: z.ZodBoolean;
1161
+ pixels: z.ZodObject<{
1162
+ googleAdsConversionId: z.ZodNullable<z.ZodString>;
1163
+ metaPixelId: z.ZodNullable<z.ZodString>;
1164
+ tiktokPixelId: z.ZodNullable<z.ZodString>;
1165
+ }, z.core.$strict>;
1166
+ summary: z.ZodOptional<z.ZodString>;
1167
+ renderQueuedCount: z.ZodNumber;
1168
+ renderWarning: z.ZodNullable<z.ZodString>;
1169
+ }, z.core.$strict>;
1170
+ status: z.ZodLiteral<"success">;
1171
+ }, z.core.$strip>, z.ZodObject<{
1172
+ kind: z.ZodOptional<z.ZodEnum<{
1173
+ validation: "validation";
1174
+ business: "business";
1175
+ platform: "platform";
1176
+ unknown: "unknown";
1177
+ }>>;
1178
+ message: z.ZodString;
1179
+ status: z.ZodLiteral<"error">;
1180
+ }, z.core.$strict>]>;
1181
+ readonly readOnlyHint: false;
1182
+ readonly schema: z.ZodObject<{
1183
+ artistId: z.ZodString;
1184
+ clientRequestId: z.ZodOptional<z.ZodString>;
1185
+ googleAdsConversionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1186
+ metaPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1187
+ theme: z.ZodOptional<z.ZodEnum<{
1188
+ classic: "classic";
1189
+ brutalist: "brutalist";
1190
+ aurora: "aurora";
1191
+ cinematic: "cinematic";
1192
+ }>>;
1193
+ tiktokPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1194
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1195
+ }, z.core.$strict>;
1196
+ readonly title: "Update Smart Link Artist Settings";
1197
+ }, {
1198
+ 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.";
1199
+ readonly destructiveHint: false;
1200
+ readonly idempotentHint: true;
1201
+ readonly name: "dynamoi_publish_smart_link";
1202
+ readonly openWorldHint: true;
1203
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1204
+ data: z.ZodObject<{
1205
+ artistId: z.ZodString;
1206
+ artistName: z.ZodString;
1207
+ claimStatus: z.ZodEnum<{
1208
+ auto_approved: "auto_approved";
1209
+ pending_ops_review: "pending_ops_review";
1210
+ approved_by_ops: "approved_by_ops";
1211
+ rejected: "rejected";
1212
+ }>;
1213
+ createdAt: z.ZodString;
1214
+ id: z.ZodString;
1215
+ isPublic: z.ZodBoolean;
1216
+ localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
1217
+ odesliStatus: z.ZodEnum<{
1218
+ resolved: "resolved";
1219
+ pending: "pending";
1220
+ failed: "failed";
1221
+ }>;
1222
+ publicUrl: z.ZodString;
1223
+ publishState: z.ZodEnum<{
1224
+ published: "published";
1225
+ unpublished: "unpublished";
1226
+ }>;
1227
+ releaseSlug: z.ZodString;
1228
+ releaseTitle: z.ZodString;
1229
+ releaseType: z.ZodString;
1230
+ renderState: z.ZodEnum<{
1231
+ failed: "failed";
1232
+ queued: "queued";
1233
+ rendering: "rendering";
1234
+ rendered: "rendered";
1235
+ }>;
1236
+ spotifyUrl: z.ZodNullable<z.ZodString>;
1237
+ takedownStatus: z.ZodEnum<{
1238
+ none: "none";
1239
+ active: "active";
1240
+ resolved: "resolved";
1241
+ }>;
1242
+ theme: z.ZodEnum<{
1243
+ classic: "classic";
1244
+ brutalist: "brutalist";
1245
+ aurora: "aurora";
1246
+ cinematic: "cinematic";
1247
+ }>;
1248
+ updatedAt: z.ZodString;
1249
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1250
+ customDescription: z.ZodNullable<z.ZodString>;
1251
+ nextActions: z.ZodArray<z.ZodString>;
1252
+ originalSpotifyUrl: z.ZodNullable<z.ZodString>;
1253
+ resourceUri: z.ZodString;
1254
+ settingsResourceUri: z.ZodString;
1255
+ spotifyDiscographyId: z.ZodString;
1256
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1257
+ workflowRunId: z.ZodNullable<z.ZodString>;
1258
+ workflowWarning: z.ZodNullable<z.ZodString>;
1259
+ }, z.core.$strict>;
1260
+ status: z.ZodLiteral<"success">;
1261
+ }, z.core.$strip>, z.ZodObject<{
1262
+ kind: z.ZodOptional<z.ZodEnum<{
1263
+ validation: "validation";
1264
+ business: "business";
1265
+ platform: "platform";
1266
+ unknown: "unknown";
1267
+ }>>;
1268
+ message: z.ZodString;
1269
+ status: z.ZodLiteral<"error">;
1270
+ }, z.core.$strict>]>;
1271
+ readonly readOnlyHint: false;
1272
+ readonly schema: z.ZodObject<{
1273
+ clientRequestId: z.ZodOptional<z.ZodString>;
1274
+ expectedPublishState: z.ZodOptional<z.ZodEnum<{
1275
+ published: "published";
1276
+ unpublished: "unpublished";
1277
+ }>>;
1278
+ playLinkId: z.ZodString;
1279
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1280
+ }, z.core.$strict>;
1281
+ readonly title: "Publish Smart Link";
1282
+ }, {
1283
+ 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.";
1284
+ readonly destructiveHint: true;
1285
+ readonly idempotentHint: true;
1286
+ readonly name: "dynamoi_unpublish_smart_link";
1287
+ readonly openWorldHint: true;
1288
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1289
+ data: z.ZodObject<{
1290
+ artistId: z.ZodString;
1291
+ artistName: z.ZodString;
1292
+ claimStatus: z.ZodEnum<{
1293
+ auto_approved: "auto_approved";
1294
+ pending_ops_review: "pending_ops_review";
1295
+ approved_by_ops: "approved_by_ops";
1296
+ rejected: "rejected";
1297
+ }>;
1298
+ createdAt: z.ZodString;
1299
+ id: z.ZodString;
1300
+ isPublic: z.ZodBoolean;
1301
+ localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
1302
+ odesliStatus: z.ZodEnum<{
1303
+ resolved: "resolved";
1304
+ pending: "pending";
1305
+ failed: "failed";
1306
+ }>;
1307
+ publicUrl: z.ZodString;
1308
+ publishState: z.ZodEnum<{
1309
+ published: "published";
1310
+ unpublished: "unpublished";
1311
+ }>;
1312
+ releaseSlug: z.ZodString;
1313
+ releaseTitle: z.ZodString;
1314
+ releaseType: z.ZodString;
1315
+ renderState: z.ZodEnum<{
1316
+ failed: "failed";
1317
+ queued: "queued";
1318
+ rendering: "rendering";
1319
+ rendered: "rendered";
1320
+ }>;
1321
+ spotifyUrl: z.ZodNullable<z.ZodString>;
1322
+ takedownStatus: z.ZodEnum<{
1323
+ none: "none";
1324
+ active: "active";
1325
+ resolved: "resolved";
1326
+ }>;
1327
+ theme: z.ZodEnum<{
1328
+ classic: "classic";
1329
+ brutalist: "brutalist";
1330
+ aurora: "aurora";
1331
+ cinematic: "cinematic";
1332
+ }>;
1333
+ updatedAt: z.ZodString;
1334
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1335
+ customDescription: z.ZodNullable<z.ZodString>;
1336
+ nextActions: z.ZodArray<z.ZodString>;
1337
+ originalSpotifyUrl: z.ZodNullable<z.ZodString>;
1338
+ resourceUri: z.ZodString;
1339
+ settingsResourceUri: z.ZodString;
1340
+ spotifyDiscographyId: z.ZodString;
1341
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1342
+ workflowRunId: z.ZodNullable<z.ZodString>;
1343
+ workflowWarning: z.ZodNullable<z.ZodString>;
1344
+ }, z.core.$strict>;
1345
+ status: z.ZodLiteral<"success">;
1346
+ }, z.core.$strip>, z.ZodObject<{
1347
+ kind: z.ZodOptional<z.ZodEnum<{
1348
+ validation: "validation";
1349
+ business: "business";
1350
+ platform: "platform";
1351
+ unknown: "unknown";
1352
+ }>>;
1353
+ message: z.ZodString;
1354
+ status: z.ZodLiteral<"error">;
1355
+ }, z.core.$strict>]>;
1356
+ readonly readOnlyHint: false;
1357
+ readonly schema: z.ZodObject<{
1358
+ clientRequestId: z.ZodOptional<z.ZodString>;
1359
+ expectedPublishState: z.ZodOptional<z.ZodEnum<{
1360
+ published: "published";
1361
+ unpublished: "unpublished";
1362
+ }>>;
1363
+ playLinkId: z.ZodString;
1364
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1365
+ }, z.core.$strict>;
1366
+ readonly title: "Unpublish Smart Link";
1367
+ }];
1368
+
409
1369
  declare const ToolFormatSchema: z.ZodEnum<{
410
- json: "json";
411
1370
  summary: "summary";
1371
+ json: "json";
412
1372
  }>;
413
1373
  declare const DynamoiListArtistsInputSchema: z.ZodObject<{
414
1374
  cursor: z.ZodOptional<z.ZodString>;
415
1375
  format: z.ZodOptional<z.ZodEnum<{
416
- json: "json";
417
1376
  summary: "summary";
1377
+ json: "json";
418
1378
  }>>;
419
1379
  limit: z.ZodOptional<z.ZodNumber>;
420
- }, z.core.$strip>;
1380
+ }, z.core.$strict>;
421
1381
  declare const DynamoiSearchInputSchema: z.ZodObject<{
422
1382
  artistId: z.ZodOptional<z.ZodString>;
423
1383
  cursor: z.ZodOptional<z.ZodString>;
424
1384
  format: z.ZodOptional<z.ZodEnum<{
425
- json: "json";
426
1385
  summary: "summary";
1386
+ json: "json";
427
1387
  }>>;
1388
+ includeArchived: z.ZodOptional<z.ZodBoolean>;
428
1389
  limit: z.ZodOptional<z.ZodNumber>;
429
1390
  query: z.ZodOptional<z.ZodString>;
430
1391
  type: z.ZodOptional<z.ZodEnum<{
@@ -432,20 +1393,26 @@ declare const DynamoiSearchInputSchema: z.ZodObject<{
432
1393
  campaign: "campaign";
433
1394
  smartlink: "smartlink";
434
1395
  }>>;
435
- }, z.core.$strip>;
1396
+ }, z.core.$strict>;
436
1397
  declare const DynamoiGetCurrentUserInputSchema: z.ZodObject<{
437
1398
  format: z.ZodOptional<z.ZodEnum<{
438
- json: "json";
439
1399
  summary: "summary";
1400
+ json: "json";
440
1401
  }>>;
441
- }, z.core.$strip>;
1402
+ intent: z.ZodEnum<{
1403
+ account_overview: "account_overview";
1404
+ artist_access_check: "artist_access_check";
1405
+ organization_access_check: "organization_access_check";
1406
+ platform_connection_check: "platform_connection_check";
1407
+ }>;
1408
+ }, z.core.$strict>;
442
1409
  declare const DynamoiGetArtistInputSchema: z.ZodObject<{
443
1410
  artistId: z.ZodString;
444
1411
  format: z.ZodOptional<z.ZodEnum<{
445
- json: "json";
446
1412
  summary: "summary";
1413
+ json: "json";
447
1414
  }>>;
448
- }, z.core.$strip>;
1415
+ }, z.core.$strict>;
449
1416
  declare const DynamoiListCampaignsInputSchema: z.ZodObject<{
450
1417
  artistId: z.ZodString;
451
1418
  campaignType: z.ZodOptional<z.ZodEnum<{
@@ -454,88 +1421,121 @@ declare const DynamoiListCampaignsInputSchema: z.ZodObject<{
454
1421
  }>>;
455
1422
  cursor: z.ZodOptional<z.ZodString>;
456
1423
  format: z.ZodOptional<z.ZodEnum<{
457
- json: "json";
458
1424
  summary: "summary";
1425
+ json: "json";
459
1426
  }>>;
460
1427
  limit: z.ZodOptional<z.ZodNumber>;
461
1428
  status: z.ZodOptional<z.ZodString>;
462
- }, z.core.$strip>;
1429
+ }, z.core.$strict>;
463
1430
  declare const DynamoiGetCampaignInputSchema: z.ZodObject<{
464
1431
  campaignId: z.ZodString;
465
1432
  format: z.ZodOptional<z.ZodEnum<{
466
- json: "json";
467
1433
  summary: "summary";
1434
+ json: "json";
468
1435
  }>>;
469
1436
  includeCountries: z.ZodOptional<z.ZodBoolean>;
470
- }, z.core.$strip>;
1437
+ }, z.core.$strict>;
471
1438
  declare const DateRangeSchema: z.ZodObject<{
472
1439
  end: z.ZodString;
473
1440
  start: z.ZodString;
474
- }, z.core.$strip>;
1441
+ }, z.core.$strict>;
475
1442
  declare const DynamoiGetCampaignAnalyticsInputSchema: z.ZodObject<{
476
1443
  campaignId: z.ZodString;
477
1444
  dateRange: z.ZodOptional<z.ZodObject<{
478
1445
  end: z.ZodString;
479
1446
  start: z.ZodString;
480
- }, z.core.$strip>>;
1447
+ }, z.core.$strict>>;
481
1448
  format: z.ZodOptional<z.ZodEnum<{
482
- json: "json";
483
1449
  summary: "summary";
1450
+ json: "json";
484
1451
  }>>;
485
1452
  granularity: z.ZodOptional<z.ZodEnum<{
486
1453
  DAILY: "DAILY";
487
1454
  TOTAL: "TOTAL";
488
1455
  }>>;
489
- }, z.core.$strip>;
1456
+ }, z.core.$strict>;
490
1457
  declare const DynamoiGetArtistAnalyticsInputSchema: z.ZodObject<{
491
1458
  artistId: z.ZodString;
492
1459
  dateRange: z.ZodOptional<z.ZodObject<{
493
1460
  end: z.ZodString;
494
1461
  start: z.ZodString;
495
- }, z.core.$strip>>;
1462
+ }, z.core.$strict>>;
496
1463
  format: z.ZodOptional<z.ZodEnum<{
497
- json: "json";
498
1464
  summary: "summary";
1465
+ json: "json";
499
1466
  }>>;
500
1467
  granularity: z.ZodOptional<z.ZodEnum<{
501
1468
  DAILY: "DAILY";
502
1469
  TOTAL: "TOTAL";
503
1470
  }>>;
504
- }, z.core.$strip>;
1471
+ }, z.core.$strict>;
505
1472
  declare const DynamoiGetBillingInputSchema: z.ZodObject<{
506
1473
  artistId: z.ZodString;
507
1474
  format: z.ZodOptional<z.ZodEnum<{
508
- json: "json";
509
1475
  summary: "summary";
1476
+ json: "json";
510
1477
  }>>;
511
- }, z.core.$strip>;
1478
+ }, z.core.$strict>;
512
1479
  declare const DynamoiGetPlatformStatusInputSchema: z.ZodObject<{
513
1480
  artistId: z.ZodString;
514
1481
  format: z.ZodOptional<z.ZodEnum<{
515
- json: "json";
516
1482
  summary: "summary";
1483
+ json: "json";
517
1484
  }>>;
518
- }, z.core.$strip>;
1485
+ }, z.core.$strict>;
519
1486
  declare const DynamoiPauseCampaignInputSchema: z.ZodObject<{
520
1487
  campaignId: z.ZodString;
521
- }, z.core.$strip>;
1488
+ clientRequestId: z.ZodOptional<z.ZodString>;
1489
+ expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
1490
+ ACTIVE: "ACTIVE";
1491
+ AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
1492
+ CONTENT_VALIDATION: "CONTENT_VALIDATION";
1493
+ DEPLOYING: "DEPLOYING";
1494
+ READY_FOR_REVIEW: "READY_FOR_REVIEW";
1495
+ PAUSED: "PAUSED";
1496
+ SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
1497
+ ARCHIVED: "ARCHIVED";
1498
+ FAILED: "FAILED";
1499
+ ENDED: "ENDED";
1500
+ }>>;
1501
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1502
+ }, z.core.$strict>;
522
1503
  declare const DynamoiResumeCampaignInputSchema: z.ZodObject<{
523
1504
  campaignId: z.ZodString;
524
- }, z.core.$strip>;
1505
+ clientRequestId: z.ZodOptional<z.ZodString>;
1506
+ expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
1507
+ ACTIVE: "ACTIVE";
1508
+ AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
1509
+ CONTENT_VALIDATION: "CONTENT_VALIDATION";
1510
+ DEPLOYING: "DEPLOYING";
1511
+ READY_FOR_REVIEW: "READY_FOR_REVIEW";
1512
+ PAUSED: "PAUSED";
1513
+ SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
1514
+ ARCHIVED: "ARCHIVED";
1515
+ FAILED: "FAILED";
1516
+ ENDED: "ENDED";
1517
+ }>>;
1518
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1519
+ }, z.core.$strict>;
525
1520
  declare const DynamoiUpdateBudgetInputSchema: z.ZodObject<{
526
1521
  budgetAmount: z.ZodNumber;
527
1522
  campaignId: z.ZodString;
1523
+ clientRequestId: z.ZodOptional<z.ZodString>;
528
1524
  endDate: z.ZodOptional<z.ZodString>;
529
- }, z.core.$strip>;
1525
+ expectedCurrentBudgetAmount: z.ZodOptional<z.ZodNumber>;
1526
+ expectedCurrentEndDate: z.ZodOptional<z.ZodString>;
1527
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1528
+ }, z.core.$strict>;
530
1529
  declare const DynamoiListMediaAssetsInputSchema: z.ZodObject<{
531
1530
  artistId: z.ZodString;
532
1531
  cursor: z.ZodOptional<z.ZodString>;
533
1532
  format: z.ZodOptional<z.ZodEnum<{
534
- json: "json";
535
1533
  summary: "summary";
1534
+ json: "json";
536
1535
  }>>;
1536
+ includeUrls: z.ZodOptional<z.ZodBoolean>;
537
1537
  limit: z.ZodOptional<z.ZodNumber>;
538
- }, z.core.$strip>;
1538
+ }, z.core.$strict>;
539
1539
  declare const DynamoiLaunchCampaignInputSchema: z.ZodObject<{
540
1540
  adCopy: z.ZodOptional<z.ZodString>;
541
1541
  appleMusicUrl: z.ZodOptional<z.ZodString>;
@@ -565,51 +1565,112 @@ declare const DynamoiLaunchCampaignInputSchema: z.ZodObject<{
565
1565
  locationTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
566
1566
  code: z.ZodString;
567
1567
  name: z.ZodString;
568
- }, z.core.$strip>>>;
1568
+ }, z.core.$strict>>>;
569
1569
  mediaAssetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
570
1570
  spotifyUrl: z.ZodOptional<z.ZodString>;
571
1571
  useAiGeneratedCopy: z.ZodOptional<z.ZodBoolean>;
1572
+ userIntentSummary: z.ZodOptional<z.ZodString>;
572
1573
  youtubeVideoId: z.ZodOptional<z.ZodString>;
573
- }, z.core.$strip>;
1574
+ }, z.core.$strict>;
574
1575
  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.";
1576
+ 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
1577
  readonly destructiveHint: false;
577
- readonly name: "dynamoi_get_current_user";
1578
+ readonly name: "dynamoi_get_account_overview";
578
1579
  readonly openWorldHint: false;
1580
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1581
+ data: z.ZodObject<{}, z.core.$loose>;
1582
+ status: z.ZodLiteral<"success">;
1583
+ }, z.core.$strip>, z.ZodObject<{
1584
+ data: z.ZodObject<{}, z.core.$loose>;
1585
+ message: z.ZodString;
1586
+ status: z.ZodLiteral<"partial_success">;
1587
+ }, z.core.$strip>, z.ZodObject<{
1588
+ kind: z.ZodOptional<z.ZodEnum<{
1589
+ validation: "validation";
1590
+ business: "business";
1591
+ platform: "platform";
1592
+ unknown: "unknown";
1593
+ }>>;
1594
+ message: z.ZodString;
1595
+ status: z.ZodLiteral<"error">;
1596
+ }, z.core.$strict>]>;
579
1597
  readonly readOnlyHint: true;
580
1598
  readonly schema: z.ZodObject<{
581
1599
  format: z.ZodOptional<z.ZodEnum<{
582
- json: "json";
583
1600
  summary: "summary";
1601
+ json: "json";
584
1602
  }>>;
585
- }, z.core.$strip>;
1603
+ intent: z.ZodEnum<{
1604
+ account_overview: "account_overview";
1605
+ artist_access_check: "artist_access_check";
1606
+ organization_access_check: "organization_access_check";
1607
+ platform_connection_check: "platform_connection_check";
1608
+ }>;
1609
+ }, z.core.$strict>;
1610
+ readonly title: "Get Account Overview";
586
1611
  }, {
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.";
1612
+ 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
1613
  readonly destructiveHint: false;
589
1614
  readonly name: "dynamoi_list_artists";
590
1615
  readonly openWorldHint: false;
1616
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1617
+ data: z.ZodObject<{}, z.core.$loose>;
1618
+ status: z.ZodLiteral<"success">;
1619
+ }, z.core.$strip>, z.ZodObject<{
1620
+ data: z.ZodObject<{}, z.core.$loose>;
1621
+ message: z.ZodString;
1622
+ status: z.ZodLiteral<"partial_success">;
1623
+ }, z.core.$strip>, z.ZodObject<{
1624
+ kind: z.ZodOptional<z.ZodEnum<{
1625
+ validation: "validation";
1626
+ business: "business";
1627
+ platform: "platform";
1628
+ unknown: "unknown";
1629
+ }>>;
1630
+ message: z.ZodString;
1631
+ status: z.ZodLiteral<"error">;
1632
+ }, z.core.$strict>]>;
591
1633
  readonly readOnlyHint: true;
592
1634
  readonly schema: z.ZodObject<{
593
1635
  cursor: z.ZodOptional<z.ZodString>;
594
1636
  format: z.ZodOptional<z.ZodEnum<{
595
- json: "json";
596
1637
  summary: "summary";
1638
+ json: "json";
597
1639
  }>>;
598
1640
  limit: z.ZodOptional<z.ZodNumber>;
599
- }, z.core.$strip>;
1641
+ }, z.core.$strict>;
1642
+ readonly title: "List Artists";
600
1643
  }, {
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.";
1644
+ 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
1645
  readonly destructiveHint: false;
603
1646
  readonly name: "dynamoi_search";
604
1647
  readonly openWorldHint: false;
1648
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1649
+ data: z.ZodObject<{}, z.core.$loose>;
1650
+ status: z.ZodLiteral<"success">;
1651
+ }, z.core.$strip>, z.ZodObject<{
1652
+ data: z.ZodObject<{}, z.core.$loose>;
1653
+ message: z.ZodString;
1654
+ status: z.ZodLiteral<"partial_success">;
1655
+ }, z.core.$strip>, z.ZodObject<{
1656
+ kind: z.ZodOptional<z.ZodEnum<{
1657
+ validation: "validation";
1658
+ business: "business";
1659
+ platform: "platform";
1660
+ unknown: "unknown";
1661
+ }>>;
1662
+ message: z.ZodString;
1663
+ status: z.ZodLiteral<"error">;
1664
+ }, z.core.$strict>]>;
605
1665
  readonly readOnlyHint: true;
606
1666
  readonly schema: z.ZodObject<{
607
1667
  artistId: z.ZodOptional<z.ZodString>;
608
1668
  cursor: z.ZodOptional<z.ZodString>;
609
1669
  format: z.ZodOptional<z.ZodEnum<{
610
- json: "json";
611
1670
  summary: "summary";
1671
+ json: "json";
612
1672
  }>>;
1673
+ includeArchived: z.ZodOptional<z.ZodBoolean>;
613
1674
  limit: z.ZodOptional<z.ZodNumber>;
614
1675
  query: z.ZodOptional<z.ZodString>;
615
1676
  type: z.ZodOptional<z.ZodEnum<{
@@ -617,25 +1678,61 @@ declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
617
1678
  campaign: "campaign";
618
1679
  smartlink: "smartlink";
619
1680
  }>>;
620
- }, z.core.$strip>;
1681
+ }, z.core.$strict>;
1682
+ readonly title: "Search Dynamoi";
621
1683
  }, {
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.";
1684
+ 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
1685
  readonly destructiveHint: false;
624
1686
  readonly name: "dynamoi_get_artist";
625
1687
  readonly openWorldHint: false;
1688
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1689
+ data: z.ZodObject<{}, z.core.$loose>;
1690
+ status: z.ZodLiteral<"success">;
1691
+ }, z.core.$strip>, z.ZodObject<{
1692
+ data: z.ZodObject<{}, z.core.$loose>;
1693
+ message: z.ZodString;
1694
+ status: z.ZodLiteral<"partial_success">;
1695
+ }, z.core.$strip>, z.ZodObject<{
1696
+ kind: z.ZodOptional<z.ZodEnum<{
1697
+ validation: "validation";
1698
+ business: "business";
1699
+ platform: "platform";
1700
+ unknown: "unknown";
1701
+ }>>;
1702
+ message: z.ZodString;
1703
+ status: z.ZodLiteral<"error">;
1704
+ }, z.core.$strict>]>;
626
1705
  readonly readOnlyHint: true;
627
1706
  readonly schema: z.ZodObject<{
628
1707
  artistId: z.ZodString;
629
1708
  format: z.ZodOptional<z.ZodEnum<{
630
- json: "json";
631
1709
  summary: "summary";
1710
+ json: "json";
632
1711
  }>>;
633
- }, z.core.$strip>;
1712
+ }, z.core.$strict>;
1713
+ readonly title: "Get Artist";
634
1714
  }, {
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.";
1715
+ 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
1716
  readonly destructiveHint: false;
637
1717
  readonly name: "dynamoi_list_campaigns";
638
1718
  readonly openWorldHint: false;
1719
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1720
+ data: z.ZodObject<{}, z.core.$loose>;
1721
+ status: z.ZodLiteral<"success">;
1722
+ }, z.core.$strip>, z.ZodObject<{
1723
+ data: z.ZodObject<{}, z.core.$loose>;
1724
+ message: z.ZodString;
1725
+ status: z.ZodLiteral<"partial_success">;
1726
+ }, z.core.$strip>, z.ZodObject<{
1727
+ kind: z.ZodOptional<z.ZodEnum<{
1728
+ validation: "validation";
1729
+ business: "business";
1730
+ platform: "platform";
1731
+ unknown: "unknown";
1732
+ }>>;
1733
+ message: z.ZodString;
1734
+ status: z.ZodLiteral<"error">;
1735
+ }, z.core.$strict>]>;
639
1736
  readonly readOnlyHint: true;
640
1737
  readonly schema: z.ZodObject<{
641
1738
  artistId: z.ZodString;
@@ -645,145 +1742,501 @@ declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
645
1742
  }>>;
646
1743
  cursor: z.ZodOptional<z.ZodString>;
647
1744
  format: z.ZodOptional<z.ZodEnum<{
648
- json: "json";
649
1745
  summary: "summary";
1746
+ json: "json";
650
1747
  }>>;
651
1748
  limit: z.ZodOptional<z.ZodNumber>;
652
1749
  status: z.ZodOptional<z.ZodString>;
653
- }, z.core.$strip>;
1750
+ }, z.core.$strict>;
1751
+ readonly title: "List Campaigns";
654
1752
  }, {
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.";
1753
+ 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
1754
  readonly destructiveHint: false;
657
1755
  readonly name: "dynamoi_get_campaign";
658
1756
  readonly openWorldHint: false;
1757
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1758
+ data: z.ZodObject<{}, z.core.$loose>;
1759
+ status: z.ZodLiteral<"success">;
1760
+ }, z.core.$strip>, z.ZodObject<{
1761
+ data: z.ZodObject<{}, z.core.$loose>;
1762
+ message: z.ZodString;
1763
+ status: z.ZodLiteral<"partial_success">;
1764
+ }, z.core.$strip>, z.ZodObject<{
1765
+ kind: z.ZodOptional<z.ZodEnum<{
1766
+ validation: "validation";
1767
+ business: "business";
1768
+ platform: "platform";
1769
+ unknown: "unknown";
1770
+ }>>;
1771
+ message: z.ZodString;
1772
+ status: z.ZodLiteral<"error">;
1773
+ }, z.core.$strict>]>;
659
1774
  readonly readOnlyHint: true;
660
1775
  readonly schema: z.ZodObject<{
661
1776
  campaignId: z.ZodString;
662
1777
  format: z.ZodOptional<z.ZodEnum<{
663
- json: "json";
664
1778
  summary: "summary";
1779
+ json: "json";
665
1780
  }>>;
666
1781
  includeCountries: z.ZodOptional<z.ZodBoolean>;
667
- }, z.core.$strip>;
1782
+ }, z.core.$strict>;
1783
+ readonly title: "Get Campaign";
668
1784
  }, {
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.";
1785
+ 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
1786
  readonly destructiveHint: false;
671
1787
  readonly name: "dynamoi_get_campaign_analytics";
672
1788
  readonly openWorldHint: false;
1789
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1790
+ data: z.ZodObject<{}, z.core.$loose>;
1791
+ status: z.ZodLiteral<"success">;
1792
+ }, z.core.$strip>, z.ZodObject<{
1793
+ data: z.ZodObject<{}, z.core.$loose>;
1794
+ message: z.ZodString;
1795
+ status: z.ZodLiteral<"partial_success">;
1796
+ }, z.core.$strip>, z.ZodObject<{
1797
+ kind: z.ZodOptional<z.ZodEnum<{
1798
+ validation: "validation";
1799
+ business: "business";
1800
+ platform: "platform";
1801
+ unknown: "unknown";
1802
+ }>>;
1803
+ message: z.ZodString;
1804
+ status: z.ZodLiteral<"error">;
1805
+ }, z.core.$strict>]>;
673
1806
  readonly readOnlyHint: true;
674
1807
  readonly schema: z.ZodObject<{
675
1808
  campaignId: z.ZodString;
676
1809
  dateRange: z.ZodOptional<z.ZodObject<{
677
1810
  end: z.ZodString;
678
1811
  start: z.ZodString;
679
- }, z.core.$strip>>;
1812
+ }, z.core.$strict>>;
680
1813
  format: z.ZodOptional<z.ZodEnum<{
681
- json: "json";
682
1814
  summary: "summary";
1815
+ json: "json";
683
1816
  }>>;
684
1817
  granularity: z.ZodOptional<z.ZodEnum<{
685
1818
  DAILY: "DAILY";
686
1819
  TOTAL: "TOTAL";
687
1820
  }>>;
688
- }, z.core.$strip>;
1821
+ }, z.core.$strict>;
1822
+ readonly title: "Get Campaign Analytics";
689
1823
  }, {
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.";
1824
+ 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
1825
  readonly destructiveHint: false;
692
1826
  readonly name: "dynamoi_get_artist_analytics";
693
1827
  readonly openWorldHint: false;
1828
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1829
+ data: z.ZodObject<{}, z.core.$loose>;
1830
+ status: z.ZodLiteral<"success">;
1831
+ }, z.core.$strip>, z.ZodObject<{
1832
+ data: z.ZodObject<{}, z.core.$loose>;
1833
+ message: z.ZodString;
1834
+ status: z.ZodLiteral<"partial_success">;
1835
+ }, z.core.$strip>, z.ZodObject<{
1836
+ kind: z.ZodOptional<z.ZodEnum<{
1837
+ validation: "validation";
1838
+ business: "business";
1839
+ platform: "platform";
1840
+ unknown: "unknown";
1841
+ }>>;
1842
+ message: z.ZodString;
1843
+ status: z.ZodLiteral<"error">;
1844
+ }, z.core.$strict>]>;
694
1845
  readonly readOnlyHint: true;
695
1846
  readonly schema: z.ZodObject<{
696
1847
  artistId: z.ZodString;
697
1848
  dateRange: z.ZodOptional<z.ZodObject<{
698
1849
  end: z.ZodString;
699
1850
  start: z.ZodString;
700
- }, z.core.$strip>>;
1851
+ }, z.core.$strict>>;
701
1852
  format: z.ZodOptional<z.ZodEnum<{
702
- json: "json";
703
1853
  summary: "summary";
1854
+ json: "json";
704
1855
  }>>;
705
1856
  granularity: z.ZodOptional<z.ZodEnum<{
706
1857
  DAILY: "DAILY";
707
1858
  TOTAL: "TOTAL";
708
1859
  }>>;
709
- }, z.core.$strip>;
1860
+ }, z.core.$strict>;
1861
+ readonly title: "Get Artist Analytics";
710
1862
  }, {
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.";
1863
+ 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
1864
  readonly destructiveHint: false;
713
1865
  readonly name: "dynamoi_get_billing";
714
1866
  readonly openWorldHint: false;
1867
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1868
+ data: z.ZodObject<{}, z.core.$loose>;
1869
+ status: z.ZodLiteral<"success">;
1870
+ }, z.core.$strip>, z.ZodObject<{
1871
+ data: z.ZodObject<{}, z.core.$loose>;
1872
+ message: z.ZodString;
1873
+ status: z.ZodLiteral<"partial_success">;
1874
+ }, z.core.$strip>, z.ZodObject<{
1875
+ kind: z.ZodOptional<z.ZodEnum<{
1876
+ validation: "validation";
1877
+ business: "business";
1878
+ platform: "platform";
1879
+ unknown: "unknown";
1880
+ }>>;
1881
+ message: z.ZodString;
1882
+ status: z.ZodLiteral<"error">;
1883
+ }, z.core.$strict>]>;
715
1884
  readonly readOnlyHint: true;
716
1885
  readonly schema: z.ZodObject<{
717
1886
  artistId: z.ZodString;
718
1887
  format: z.ZodOptional<z.ZodEnum<{
719
- json: "json";
720
1888
  summary: "summary";
1889
+ json: "json";
721
1890
  }>>;
722
- }, z.core.$strip>;
1891
+ }, z.core.$strict>;
1892
+ readonly title: "Get Billing";
723
1893
  }, {
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.";
1894
+ 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
1895
  readonly destructiveHint: false;
726
1896
  readonly name: "dynamoi_get_platform_status";
727
1897
  readonly openWorldHint: false;
1898
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1899
+ data: z.ZodObject<{}, z.core.$loose>;
1900
+ status: z.ZodLiteral<"success">;
1901
+ }, z.core.$strip>, z.ZodObject<{
1902
+ data: z.ZodObject<{}, z.core.$loose>;
1903
+ message: z.ZodString;
1904
+ status: z.ZodLiteral<"partial_success">;
1905
+ }, z.core.$strip>, z.ZodObject<{
1906
+ kind: z.ZodOptional<z.ZodEnum<{
1907
+ validation: "validation";
1908
+ business: "business";
1909
+ platform: "platform";
1910
+ unknown: "unknown";
1911
+ }>>;
1912
+ message: z.ZodString;
1913
+ status: z.ZodLiteral<"error">;
1914
+ }, z.core.$strict>]>;
728
1915
  readonly readOnlyHint: true;
729
1916
  readonly schema: z.ZodObject<{
730
1917
  artistId: z.ZodString;
731
1918
  format: z.ZodOptional<z.ZodEnum<{
732
- json: "json";
733
1919
  summary: "summary";
1920
+ json: "json";
734
1921
  }>>;
735
- }, z.core.$strip>;
1922
+ }, z.core.$strict>;
1923
+ readonly title: "Get Platform Status";
736
1924
  }];
737
1925
  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;
1926
+ 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.";
1927
+ readonly destructiveHint: true;
1928
+ readonly idempotentHint: true;
740
1929
  readonly name: "dynamoi_pause_campaign";
741
1930
  readonly openWorldHint: true;
1931
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1932
+ data: z.ZodObject<{
1933
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1934
+ contentTitle: z.ZodString;
1935
+ id: z.ZodString;
1936
+ newStatus: z.ZodEnum<{
1937
+ ACTIVE: "ACTIVE";
1938
+ PAUSED: "PAUSED";
1939
+ }>;
1940
+ platformResults: z.ZodArray<z.ZodObject<{
1941
+ message: z.ZodOptional<z.ZodString>;
1942
+ platform: z.ZodEnum<{
1943
+ META: "META";
1944
+ GOOGLE: "GOOGLE";
1945
+ }>;
1946
+ success: z.ZodBoolean;
1947
+ }, z.core.$strict>>;
1948
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1949
+ }, z.core.$strict>;
1950
+ status: z.ZodLiteral<"success">;
1951
+ }, z.core.$strip>, z.ZodObject<{
1952
+ data: z.ZodObject<{
1953
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1954
+ contentTitle: z.ZodString;
1955
+ id: z.ZodString;
1956
+ newStatus: z.ZodEnum<{
1957
+ ACTIVE: "ACTIVE";
1958
+ PAUSED: "PAUSED";
1959
+ }>;
1960
+ platformResults: z.ZodArray<z.ZodObject<{
1961
+ message: z.ZodOptional<z.ZodString>;
1962
+ platform: z.ZodEnum<{
1963
+ META: "META";
1964
+ GOOGLE: "GOOGLE";
1965
+ }>;
1966
+ success: z.ZodBoolean;
1967
+ }, z.core.$strict>>;
1968
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1969
+ }, z.core.$strict>;
1970
+ message: z.ZodString;
1971
+ status: z.ZodLiteral<"partial_success">;
1972
+ }, z.core.$strip>, z.ZodObject<{
1973
+ kind: z.ZodOptional<z.ZodEnum<{
1974
+ validation: "validation";
1975
+ business: "business";
1976
+ platform: "platform";
1977
+ unknown: "unknown";
1978
+ }>>;
1979
+ message: z.ZodString;
1980
+ status: z.ZodLiteral<"error">;
1981
+ }, z.core.$strict>]>;
742
1982
  readonly readOnlyHint: false;
743
1983
  readonly schema: z.ZodObject<{
744
1984
  campaignId: z.ZodString;
745
- }, z.core.$strip>;
1985
+ clientRequestId: z.ZodOptional<z.ZodString>;
1986
+ expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
1987
+ ACTIVE: "ACTIVE";
1988
+ AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
1989
+ CONTENT_VALIDATION: "CONTENT_VALIDATION";
1990
+ DEPLOYING: "DEPLOYING";
1991
+ READY_FOR_REVIEW: "READY_FOR_REVIEW";
1992
+ PAUSED: "PAUSED";
1993
+ SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
1994
+ ARCHIVED: "ARCHIVED";
1995
+ FAILED: "FAILED";
1996
+ ENDED: "ENDED";
1997
+ }>>;
1998
+ userIntentSummary: z.ZodOptional<z.ZodString>;
1999
+ }, z.core.$strict>;
2000
+ readonly title: "Pause Campaign";
746
2001
  }, {
747
- readonly description: "Resume a paused campaign, restarting ad delivery on Meta and/or Google. Returns per-platform results.";
748
- readonly destructiveHint: false;
2002
+ 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.";
2003
+ readonly destructiveHint: true;
2004
+ readonly idempotentHint: true;
749
2005
  readonly name: "dynamoi_resume_campaign";
750
2006
  readonly openWorldHint: true;
2007
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2008
+ data: z.ZodObject<{
2009
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
2010
+ contentTitle: z.ZodString;
2011
+ id: z.ZodString;
2012
+ newStatus: z.ZodEnum<{
2013
+ ACTIVE: "ACTIVE";
2014
+ PAUSED: "PAUSED";
2015
+ }>;
2016
+ platformResults: z.ZodArray<z.ZodObject<{
2017
+ message: z.ZodOptional<z.ZodString>;
2018
+ platform: z.ZodEnum<{
2019
+ META: "META";
2020
+ GOOGLE: "GOOGLE";
2021
+ }>;
2022
+ success: z.ZodBoolean;
2023
+ }, z.core.$strict>>;
2024
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2025
+ }, z.core.$strict>;
2026
+ status: z.ZodLiteral<"success">;
2027
+ }, z.core.$strip>, z.ZodObject<{
2028
+ data: z.ZodObject<{
2029
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
2030
+ contentTitle: z.ZodString;
2031
+ id: z.ZodString;
2032
+ newStatus: z.ZodEnum<{
2033
+ ACTIVE: "ACTIVE";
2034
+ PAUSED: "PAUSED";
2035
+ }>;
2036
+ platformResults: z.ZodArray<z.ZodObject<{
2037
+ message: z.ZodOptional<z.ZodString>;
2038
+ platform: z.ZodEnum<{
2039
+ META: "META";
2040
+ GOOGLE: "GOOGLE";
2041
+ }>;
2042
+ success: z.ZodBoolean;
2043
+ }, z.core.$strict>>;
2044
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2045
+ }, z.core.$strict>;
2046
+ message: z.ZodString;
2047
+ status: z.ZodLiteral<"partial_success">;
2048
+ }, z.core.$strip>, z.ZodObject<{
2049
+ kind: z.ZodOptional<z.ZodEnum<{
2050
+ validation: "validation";
2051
+ business: "business";
2052
+ platform: "platform";
2053
+ unknown: "unknown";
2054
+ }>>;
2055
+ message: z.ZodString;
2056
+ status: z.ZodLiteral<"error">;
2057
+ }, z.core.$strict>]>;
751
2058
  readonly readOnlyHint: false;
752
2059
  readonly schema: z.ZodObject<{
753
2060
  campaignId: z.ZodString;
754
- }, z.core.$strip>;
2061
+ clientRequestId: z.ZodOptional<z.ZodString>;
2062
+ expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
2063
+ ACTIVE: "ACTIVE";
2064
+ AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
2065
+ CONTENT_VALIDATION: "CONTENT_VALIDATION";
2066
+ DEPLOYING: "DEPLOYING";
2067
+ READY_FOR_REVIEW: "READY_FOR_REVIEW";
2068
+ PAUSED: "PAUSED";
2069
+ SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
2070
+ ARCHIVED: "ARCHIVED";
2071
+ FAILED: "FAILED";
2072
+ ENDED: "ENDED";
2073
+ }>>;
2074
+ userIntentSummary: z.ZodOptional<z.ZodString>;
2075
+ }, z.core.$strict>;
2076
+ readonly title: "Resume Campaign";
755
2077
  }, {
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;
2078
+ 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.";
2079
+ readonly destructiveHint: true;
2080
+ readonly idempotentHint: true;
758
2081
  readonly name: "dynamoi_update_budget";
759
2082
  readonly openWorldHint: true;
2083
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2084
+ data: z.ZodObject<{
2085
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
2086
+ budgetType: z.ZodEnum<{
2087
+ DAILY: "DAILY";
2088
+ TOTAL: "TOTAL";
2089
+ }>;
2090
+ contentTitle: z.ZodString;
2091
+ endDate: z.ZodOptional<z.ZodString>;
2092
+ id: z.ZodString;
2093
+ newBudget: z.ZodObject<{
2094
+ amountUsd: z.ZodNumber;
2095
+ formatted: z.ZodString;
2096
+ }, z.core.$strict>;
2097
+ previousBudget: z.ZodObject<{
2098
+ amountUsd: z.ZodNumber;
2099
+ formatted: z.ZodString;
2100
+ }, z.core.$strict>;
2101
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2102
+ }, z.core.$strict>;
2103
+ status: z.ZodLiteral<"success">;
2104
+ }, z.core.$strip>, z.ZodObject<{
2105
+ data: z.ZodObject<{
2106
+ actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
2107
+ budgetType: z.ZodEnum<{
2108
+ DAILY: "DAILY";
2109
+ TOTAL: "TOTAL";
2110
+ }>;
2111
+ contentTitle: z.ZodString;
2112
+ endDate: z.ZodOptional<z.ZodString>;
2113
+ id: z.ZodString;
2114
+ newBudget: z.ZodObject<{
2115
+ amountUsd: z.ZodNumber;
2116
+ formatted: z.ZodString;
2117
+ }, z.core.$strict>;
2118
+ previousBudget: z.ZodObject<{
2119
+ amountUsd: z.ZodNumber;
2120
+ formatted: z.ZodString;
2121
+ }, z.core.$strict>;
2122
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2123
+ }, z.core.$strict>;
2124
+ message: z.ZodString;
2125
+ status: z.ZodLiteral<"partial_success">;
2126
+ }, z.core.$strip>, z.ZodObject<{
2127
+ kind: z.ZodOptional<z.ZodEnum<{
2128
+ validation: "validation";
2129
+ business: "business";
2130
+ platform: "platform";
2131
+ unknown: "unknown";
2132
+ }>>;
2133
+ message: z.ZodString;
2134
+ status: z.ZodLiteral<"error">;
2135
+ }, z.core.$strict>]>;
760
2136
  readonly readOnlyHint: false;
761
2137
  readonly schema: z.ZodObject<{
762
2138
  budgetAmount: z.ZodNumber;
763
2139
  campaignId: z.ZodString;
2140
+ clientRequestId: z.ZodOptional<z.ZodString>;
764
2141
  endDate: z.ZodOptional<z.ZodString>;
765
- }, z.core.$strip>;
2142
+ expectedCurrentBudgetAmount: z.ZodOptional<z.ZodNumber>;
2143
+ expectedCurrentEndDate: z.ZodOptional<z.ZodString>;
2144
+ userIntentSummary: z.ZodOptional<z.ZodString>;
2145
+ }, z.core.$strict>;
2146
+ readonly title: "Update Campaign Budget";
766
2147
  }];
767
2148
  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.";
2149
+ 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
2150
  readonly destructiveHint: false;
770
2151
  readonly name: "dynamoi_list_media_assets";
771
2152
  readonly openWorldHint: false;
2153
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2154
+ data: z.ZodUnion<readonly [z.ZodObject<{
2155
+ assets: z.ZodArray<z.ZodObject<{
2156
+ aspectRatio: z.ZodOptional<z.ZodString>;
2157
+ createdAt: z.ZodString;
2158
+ fileName: z.ZodOptional<z.ZodString>;
2159
+ fileType: z.ZodString;
2160
+ height: z.ZodOptional<z.ZodNumber>;
2161
+ id: z.ZodString;
2162
+ url: z.ZodOptional<z.ZodString>;
2163
+ urlExpiresAt: z.ZodOptional<z.ZodString>;
2164
+ width: z.ZodOptional<z.ZodNumber>;
2165
+ }, z.core.$strict>>;
2166
+ nextCursor: z.ZodOptional<z.ZodString>;
2167
+ }, z.core.$strict>, z.ZodObject<{
2168
+ nextCursor: z.ZodOptional<z.ZodString>;
2169
+ summary: z.ZodString;
2170
+ totalCount: z.ZodNumber;
2171
+ }, z.core.$strict>]>;
2172
+ status: z.ZodLiteral<"success">;
2173
+ }, z.core.$strip>, z.ZodObject<{
2174
+ kind: z.ZodOptional<z.ZodEnum<{
2175
+ validation: "validation";
2176
+ business: "business";
2177
+ platform: "platform";
2178
+ unknown: "unknown";
2179
+ }>>;
2180
+ message: z.ZodString;
2181
+ status: z.ZodLiteral<"error">;
2182
+ }, z.core.$strict>]>;
772
2183
  readonly readOnlyHint: true;
773
2184
  readonly schema: z.ZodObject<{
774
2185
  artistId: z.ZodString;
775
2186
  cursor: z.ZodOptional<z.ZodString>;
776
2187
  format: z.ZodOptional<z.ZodEnum<{
777
- json: "json";
778
2188
  summary: "summary";
2189
+ json: "json";
779
2190
  }>>;
2191
+ includeUrls: z.ZodOptional<z.ZodBoolean>;
780
2192
  limit: z.ZodOptional<z.ZodNumber>;
781
- }, z.core.$strip>;
2193
+ }, z.core.$strict>;
2194
+ readonly title: "List Media Assets";
782
2195
  }, {
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.";
2196
+ 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
2197
  readonly destructiveHint: false;
2198
+ readonly idempotentHint: true;
785
2199
  readonly name: "dynamoi_launch_campaign";
786
2200
  readonly openWorldHint: true;
2201
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2202
+ data: z.ZodObject<{
2203
+ budget: z.ZodObject<{
2204
+ amountUsd: z.ZodNumber;
2205
+ formatted: z.ZodString;
2206
+ }, z.core.$strict>;
2207
+ budgetType: z.ZodEnum<{
2208
+ DAILY: "DAILY";
2209
+ TOTAL: "TOTAL";
2210
+ }>;
2211
+ campaignType: z.ZodEnum<{
2212
+ SMART_CAMPAIGN: "SMART_CAMPAIGN";
2213
+ YOUTUBE: "YOUTUBE";
2214
+ }>;
2215
+ contentTitle: z.ZodString;
2216
+ deliveryState: z.ZodEnum<{
2217
+ ACTIVE: "ACTIVE";
2218
+ CONTENT_VALIDATION: "CONTENT_VALIDATION";
2219
+ PENDING_REVIEW: "PENDING_REVIEW";
2220
+ }>;
2221
+ id: z.ZodString;
2222
+ isLive: z.ZodBoolean;
2223
+ nextSteps: z.ZodArray<z.ZodString>;
2224
+ platforms: z.ZodArray<z.ZodString>;
2225
+ status: z.ZodString;
2226
+ summary: z.ZodString;
2227
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2228
+ }, z.core.$strict>;
2229
+ status: z.ZodLiteral<"success">;
2230
+ }, z.core.$strip>, z.ZodObject<{
2231
+ kind: z.ZodOptional<z.ZodEnum<{
2232
+ validation: "validation";
2233
+ business: "business";
2234
+ platform: "platform";
2235
+ unknown: "unknown";
2236
+ }>>;
2237
+ message: z.ZodString;
2238
+ status: z.ZodLiteral<"error">;
2239
+ }, z.core.$strict>]>;
787
2240
  readonly readOnlyHint: false;
788
2241
  readonly schema: z.ZodObject<{
789
2242
  adCopy: z.ZodOptional<z.ZodString>;
@@ -814,12 +2267,14 @@ declare const PHASE_3_TOOL_DEFINITIONS: readonly [{
814
2267
  locationTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
815
2268
  code: z.ZodString;
816
2269
  name: z.ZodString;
817
- }, z.core.$strip>>>;
2270
+ }, z.core.$strict>>>;
818
2271
  mediaAssetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
819
2272
  spotifyUrl: z.ZodOptional<z.ZodString>;
820
2273
  useAiGeneratedCopy: z.ZodOptional<z.ZodBoolean>;
2274
+ userIntentSummary: z.ZodOptional<z.ZodString>;
821
2275
  youtubeVideoId: z.ZodOptional<z.ZodString>;
822
- }, z.core.$strip>;
2276
+ }, z.core.$strict>;
2277
+ readonly title: "Start Campaign Launch Workflow";
823
2278
  }];
824
2279
 
825
2280
  type HandleOptions = {
@@ -837,4 +2292,4 @@ type HandleOptions = {
837
2292
  };
838
2293
  declare function handleMcpHttpRequest(options: HandleOptions): Promise<Response>;
839
2294
 
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 };
2295
+ export { type AccessRole, type ArtistTier, type BillingStatus, type CampaignDisplayStatus, type CampaignType, type CreateSmartLinkFromSpotifyData, 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, createDynamoiMcpServer, handleMcpHttpRequest, verifyAccessToken };