@dynamoi/mcp 1.0.1 → 1.0.3

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.
Files changed (74) hide show
  1. package/CAPABILITY_PARITY.md +24 -16
  2. package/CHANGELOG.md +124 -0
  3. package/README.md +76 -24
  4. package/dist/auth/protected-resource.d.ts +12 -1
  5. package/dist/auth/protected-resource.js +107 -11
  6. package/dist/consent.d.ts +101 -4
  7. package/dist/consent.js +83 -11
  8. package/dist/flow-types.d.ts +72 -3
  9. package/dist/index.d.ts +15 -6
  10. package/dist/index.js +2741 -639
  11. package/dist/readiness-types.d.ts +21 -1
  12. package/dist/server/about.d.ts +18 -15
  13. package/dist/server/account-schema.generated.d.ts +62 -0
  14. package/dist/server/channel-results-schema.d.ts +104 -0
  15. package/dist/server/create-server.d.ts +41 -30
  16. package/dist/server/distribution-tools.d.ts +31 -24
  17. package/dist/server/messaging.d.ts +2 -3
  18. package/dist/server/openai-tools.d.ts +30 -23
  19. package/dist/server/output-schemas.d.ts +416 -73
  20. package/dist/server/shop-tools.d.ts +36 -29
  21. package/dist/server/smart-link-tools.d.ts +511 -73
  22. package/dist/server/support-tools.d.ts +88 -0
  23. package/dist/server/tools.d.ts +753 -223
  24. package/dist/server/workflow-tools.d.ts +99 -86
  25. package/dist/server/workspace/data.d.ts +67 -0
  26. package/dist/server/workspace/tool.d.ts +82 -0
  27. package/dist/server/youtube-channel-data-schema.d.ts +169 -0
  28. package/dist/server/youtube-strategy-guide.d.ts +103 -0
  29. package/dist/transport/http.d.ts +0 -1
  30. package/dist/types.d.ts +135 -12
  31. package/dist/version.d.ts +0 -1
  32. package/dist/youtube-metrics.d.ts +135 -0
  33. package/dist/youtube-metrics.js +114 -0
  34. package/package.json +50 -13
  35. package/server.json +2 -2
  36. package/dist/auth/protected-resource.d.ts.map +0 -1
  37. package/dist/auth/protected-resource.js.map +0 -9
  38. package/dist/chunk-3htwe57a.js +0 -85
  39. package/dist/chunk-3htwe57a.js.map +0 -10
  40. package/dist/chunk-n5xmtwjj.js +0 -9
  41. package/dist/chunk-n5xmtwjj.js.map +0 -10
  42. package/dist/consent.d.ts.map +0 -1
  43. package/dist/consent.js.map +0 -9
  44. package/dist/flow-types.d.ts.map +0 -1
  45. package/dist/index.d.ts.map +0 -1
  46. package/dist/index.js.map +0 -28
  47. package/dist/readiness-types.d.ts.map +0 -1
  48. package/dist/server/about.d.ts.map +0 -1
  49. package/dist/server/create-server.d.ts.map +0 -1
  50. package/dist/server/distribution-tools.d.ts.map +0 -1
  51. package/dist/server/instructions.d.ts +0 -3
  52. package/dist/server/instructions.d.ts.map +0 -1
  53. package/dist/server/messaging.d.ts.map +0 -1
  54. package/dist/server/onboarding-tool-definitions.d.ts +0 -106
  55. package/dist/server/onboarding-tool-definitions.d.ts.map +0 -1
  56. package/dist/server/openai-tools.d.ts.map +0 -1
  57. package/dist/server/output-schemas.d.ts.map +0 -1
  58. package/dist/server/playbook-resources.d.ts +0 -3
  59. package/dist/server/playbook-resources.d.ts.map +0 -1
  60. package/dist/server/prompts.d.ts +0 -3
  61. package/dist/server/prompts.d.ts.map +0 -1
  62. package/dist/server/resources.d.ts +0 -4
  63. package/dist/server/resources.d.ts.map +0 -1
  64. package/dist/server/shared-schemas.d.ts +0 -14
  65. package/dist/server/shared-schemas.d.ts.map +0 -1
  66. package/dist/server/shop-tools.d.ts.map +0 -1
  67. package/dist/server/smart-link-theme-preview.d.ts +0 -73
  68. package/dist/server/smart-link-theme-preview.d.ts.map +0 -1
  69. package/dist/server/smart-link-tools.d.ts.map +0 -1
  70. package/dist/server/tools.d.ts.map +0 -1
  71. package/dist/server/workflow-tools.d.ts.map +0 -1
  72. package/dist/transport/http.d.ts.map +0 -1
  73. package/dist/types.d.ts.map +0 -1
  74. package/dist/version.d.ts.map +0 -1
@@ -1,4 +1,5 @@
1
1
  import * as z from "zod/v4";
2
+ export { DynamoiGetCurrentUserInputSchema, DynamoiListArtistsInputSchema, } from "./account-schema.generated";
2
3
  export declare const DateRangeSchema: z.ZodObject<{
3
4
  end: z.ZodString;
4
5
  start: z.ZodString;
@@ -7,15 +8,6 @@ export declare const ToolFormatSchema: z.ZodEnum<{
7
8
  json: "json";
8
9
  summary: "summary";
9
10
  }>;
10
- export declare const DynamoiListArtistsInputSchema: z.ZodObject<{
11
- artistId: z.ZodOptional<z.ZodString>;
12
- cursor: z.ZodOptional<z.ZodString>;
13
- format: z.ZodOptional<z.ZodEnum<{
14
- json: "json";
15
- summary: "summary";
16
- }>>;
17
- limit: z.ZodOptional<z.ZodNumber>;
18
- }, z.core.$strict>;
19
11
  export declare const DynamoiSearchInputSchema: z.ZodObject<{
20
12
  artistId: z.ZodOptional<z.ZodString>;
21
13
  cursor: z.ZodOptional<z.ZodString>;
@@ -32,18 +24,6 @@ export declare const DynamoiSearchInputSchema: z.ZodObject<{
32
24
  smartlink: "smartlink";
33
25
  }>>;
34
26
  }, z.core.$strict>;
35
- export declare const DynamoiGetCurrentUserInputSchema: z.ZodObject<{
36
- format: z.ZodOptional<z.ZodEnum<{
37
- json: "json";
38
- summary: "summary";
39
- }>>;
40
- intent: z.ZodDefault<z.ZodEnum<{
41
- account_overview: "account_overview";
42
- artist_access_check: "artist_access_check";
43
- organization_access_check: "organization_access_check";
44
- platform_connection_check: "platform_connection_check";
45
- }>>;
46
- }, z.core.$strict>;
47
27
  export declare const DynamoiGetArtistInputSchema: z.ZodObject<{
48
28
  artistId: z.ZodString;
49
29
  format: z.ZodOptional<z.ZodEnum<{
@@ -65,14 +45,15 @@ export declare const DynamoiListCampaignsInputSchema: z.ZodObject<{
65
45
  limit: z.ZodOptional<z.ZodNumber>;
66
46
  status: z.ZodOptional<z.ZodEnum<{
67
47
  ACTIVE: "ACTIVE";
48
+ PAUSED: "PAUSED";
68
49
  ARCHIVED: "ARCHIVED";
69
50
  AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
70
51
  CONTENT_VALIDATION: "CONTENT_VALIDATION";
71
52
  DEPLOYING: "DEPLOYING";
72
- FAILED: "FAILED";
73
- PAUSED: "PAUSED";
74
53
  READY_FOR_REVIEW: "READY_FOR_REVIEW";
75
54
  SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
55
+ FAILED: "FAILED";
56
+ ENDED: "ENDED";
76
57
  }>>;
77
58
  }, z.core.$strict>;
78
59
  export declare const DynamoiGetCampaignInputSchema: z.ZodObject<{
@@ -90,6 +71,7 @@ export declare const DynamoiGetCampaignInputSchema: z.ZodObject<{
90
71
  summary: "summary";
91
72
  }>>;
92
73
  includeAnalytics: z.ZodOptional<z.ZodBoolean>;
74
+ includeChannelResults: z.ZodOptional<z.ZodBoolean>;
93
75
  includeCountries: z.ZodOptional<z.ZodBoolean>;
94
76
  includeDeploymentStatus: z.ZodOptional<z.ZodBoolean>;
95
77
  }, z.core.$strict>;
@@ -123,6 +105,20 @@ export declare const DynamoiGetArtistAnalyticsInputSchema: z.ZodObject<{
123
105
  TOTAL: "TOTAL";
124
106
  }>>;
125
107
  }, z.core.$strict>;
108
+ export declare const DynamoiGetGrowthAuditInputSchema: z.ZodObject<{
109
+ artistId: z.ZodString;
110
+ }, z.core.$strict>;
111
+ export declare const DynamoiGetPlaylistAnalyticsInputSchema: z.ZodObject<{
112
+ artistId: z.ZodString;
113
+ }, z.core.$strict>;
114
+ export declare const DynamoiGetAudienceAnalyticsInputSchema: z.ZodObject<{
115
+ artistId: z.ZodString;
116
+ range: z.ZodDefault<z.ZodEnum<{
117
+ "7d": "7d";
118
+ "30d": "30d";
119
+ "90d": "90d";
120
+ }>>;
121
+ }, z.core.$strict>;
126
122
  export declare const DynamoiGetBillingInputSchema: z.ZodObject<{
127
123
  artistId: z.ZodString;
128
124
  format: z.ZodOptional<z.ZodEnum<{
@@ -139,8 +135,8 @@ export declare const DynamoiGetPlatformStatusInputSchema: z.ZodObject<{
139
135
  }>>;
140
136
  onboardingAttemptId: z.ZodOptional<z.ZodString>;
141
137
  onboardingFlow: z.ZodOptional<z.ZodEnum<{
142
- meta: "meta";
143
138
  youtube: "youtube";
139
+ meta: "meta";
144
140
  }>>;
145
141
  }, z.core.$strict>;
146
142
  export declare const DynamoiStartYoutubeChannelLinkInputSchema: z.ZodObject<{
@@ -188,6 +184,7 @@ export declare const DynamoiGetOnboardingStatusInputSchema: z.ZodObject<{
188
184
  }>>;
189
185
  }, z.core.$strict>;
190
186
  export declare const DynamoiGetCampaignReadinessInputSchema: z.ZodObject<{
187
+ adCopy: z.ZodOptional<z.ZodString>;
191
188
  artistId: z.ZodString;
192
189
  budgetAmount: z.ZodOptional<z.ZodNumber>;
193
190
  budgetType: z.ZodOptional<z.ZodEnum<{
@@ -199,9 +196,9 @@ export declare const DynamoiGetCampaignReadinessInputSchema: z.ZodObject<{
199
196
  YOUTUBE: "YOUTUBE";
200
197
  }>;
201
198
  contentType: z.ZodOptional<z.ZodEnum<{
199
+ TRACK: "TRACK";
202
200
  ALBUM: "ALBUM";
203
201
  PLAYLIST: "PLAYLIST";
204
- TRACK: "TRACK";
205
202
  VIDEO: "VIDEO";
206
203
  }>>;
207
204
  endDate: z.ZodOptional<z.ZodString>;
@@ -215,8 +212,31 @@ export declare const DynamoiGetCampaignReadinessInputSchema: z.ZodObject<{
215
212
  }, z.core.$strict>>>;
216
213
  mediaAssetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
217
214
  spotifyUrl: z.ZodOptional<z.ZodString>;
215
+ useAiGeneratedCopy: z.ZodOptional<z.ZodBoolean>;
216
+ youtubeEntries: z.ZodOptional<z.ZodArray<z.ZodObject<{
217
+ playlistId: z.ZodOptional<z.ZodString>;
218
+ videoId: z.ZodString;
219
+ }, z.core.$strict>>>;
220
+ youtubePlaylistId: z.ZodOptional<z.ZodString>;
221
+ youtubeStrategy: z.ZodOptional<z.ZodEnum<{
222
+ CHEAPEST_VIEWS: "CHEAPEST_VIEWS";
223
+ ORGANIC_VIEWS: "ORGANIC_VIEWS";
224
+ SUBSCRIBERS: "SUBSCRIBERS";
225
+ ORGANIC_VIEWS_AND_SUBSCRIBERS: "ORGANIC_VIEWS_AND_SUBSCRIBERS";
226
+ ADSENSE_ROI: "ADSENSE_ROI";
227
+ }>>;
218
228
  youtubeVideoId: z.ZodOptional<z.ZodString>;
219
229
  }, z.core.$strict>;
230
+ export declare const DynamoiManageYoutubeDraftInputSchema: z.ZodObject<{
231
+ action: z.ZodEnum<{
232
+ inspect: "inspect";
233
+ discard: "discard";
234
+ }>;
235
+ artistId: z.ZodString;
236
+ campaignId: z.ZodOptional<z.ZodString>;
237
+ expectedUpdatedAt: z.ZodOptional<z.ZodString>;
238
+ userIntentSummary: z.ZodOptional<z.ZodOptional<z.ZodString>>;
239
+ }, z.core.$strict>;
220
240
  export declare const DynamoiGetCampaignDeploymentStatusInputSchema: z.ZodObject<{
221
241
  campaignId: z.ZodString;
222
242
  format: z.ZodOptional<z.ZodEnum<{
@@ -229,41 +249,60 @@ export declare const DynamoiPauseCampaignInputSchema: z.ZodObject<{
229
249
  clientRequestId: z.ZodOptional<z.ZodString>;
230
250
  expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
231
251
  ACTIVE: "ACTIVE";
252
+ PAUSED: "PAUSED";
232
253
  ARCHIVED: "ARCHIVED";
233
254
  AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
234
255
  CONTENT_VALIDATION: "CONTENT_VALIDATION";
235
256
  DEPLOYING: "DEPLOYING";
236
- ENDED: "ENDED";
237
- FAILED: "FAILED";
238
- PAUSED: "PAUSED";
239
257
  READY_FOR_REVIEW: "READY_FOR_REVIEW";
240
258
  SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
259
+ FAILED: "FAILED";
260
+ ENDED: "ENDED";
241
261
  }>>;
242
262
  userIntentSummary: z.ZodOptional<z.ZodString>;
243
263
  }, z.core.$strict>;
264
+ export declare const DynamoiGetResumeFundingInputSchema: z.ZodObject<{
265
+ campaignId: z.ZodString;
266
+ format: z.ZodOptional<z.ZodEnum<{
267
+ json: "json";
268
+ summary: "summary";
269
+ }>>;
270
+ }, z.core.$strict>;
244
271
  export declare const DynamoiResumeCampaignInputSchema: z.ZodObject<{
245
- acceptedConsentCopyHash: z.ZodOptional<z.ZodLiteral<"06bbd517d58f345a767be9aaeb59f4959d11c6db16e7d07cb889f3ce7950f805">>;
246
- acceptedConsentVersion: z.ZodOptional<z.ZodLiteral<"managed-ads-prospective-daily-v2">>;
272
+ acceptedConsentCopyHash: z.ZodOptional<z.ZodEnum<{
273
+ f49b33a4f7e8aa3cc814d5057d03e97eaa0c35a9f3f2bc0315dbd031efa0f356: "f49b33a4f7e8aa3cc814d5057d03e97eaa0c35a9f3f2bc0315dbd031efa0f356";
274
+ "8bece5f58e0c94b04b35ac1a98f0e8a142ed968bbe34dcc0d51fe52e2c0d75bd": "8bece5f58e0c94b04b35ac1a98f0e8a142ed968bbe34dcc0d51fe52e2c0d75bd";
275
+ }>>;
276
+ acceptedConsentVersion: z.ZodOptional<z.ZodEnum<{
277
+ "managed-ads-prospective-daily-v7": "managed-ads-prospective-daily-v7";
278
+ "managed-ads-total-daily-v3": "managed-ads-total-daily-v3";
279
+ }>>;
247
280
  authorizeAutomaticDailyFunding: z.ZodOptional<z.ZodLiteral<true>>;
248
281
  campaignId: z.ZodString;
249
282
  clientRequestId: z.ZodOptional<z.ZodString>;
250
283
  expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
251
284
  ACTIVE: "ACTIVE";
285
+ PAUSED: "PAUSED";
252
286
  ARCHIVED: "ARCHIVED";
253
287
  AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
254
288
  CONTENT_VALIDATION: "CONTENT_VALIDATION";
255
289
  DEPLOYING: "DEPLOYING";
256
- ENDED: "ENDED";
257
- FAILED: "FAILED";
258
- PAUSED: "PAUSED";
259
290
  READY_FOR_REVIEW: "READY_FOR_REVIEW";
260
291
  SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
292
+ FAILED: "FAILED";
293
+ ENDED: "ENDED";
261
294
  }>>;
262
295
  userIntentSummary: z.ZodOptional<z.ZodString>;
263
296
  }, z.core.$strict>;
264
297
  export declare const DynamoiUpdateBudgetInputSchema: z.ZodObject<{
265
- acceptedConsentCopyHash: z.ZodOptional<z.ZodLiteral<"06bbd517d58f345a767be9aaeb59f4959d11c6db16e7d07cb889f3ce7950f805">>;
266
- acceptedConsentVersion: z.ZodOptional<z.ZodLiteral<"managed-ads-prospective-daily-v2">>;
298
+ acceptedConsentCopyHash: z.ZodOptional<z.ZodEnum<{
299
+ f49b33a4f7e8aa3cc814d5057d03e97eaa0c35a9f3f2bc0315dbd031efa0f356: "f49b33a4f7e8aa3cc814d5057d03e97eaa0c35a9f3f2bc0315dbd031efa0f356";
300
+ "8bece5f58e0c94b04b35ac1a98f0e8a142ed968bbe34dcc0d51fe52e2c0d75bd": "8bece5f58e0c94b04b35ac1a98f0e8a142ed968bbe34dcc0d51fe52e2c0d75bd";
301
+ }>>;
302
+ acceptedConsentVersion: z.ZodOptional<z.ZodEnum<{
303
+ "managed-ads-prospective-daily-v7": "managed-ads-prospective-daily-v7";
304
+ "managed-ads-total-daily-v3": "managed-ads-total-daily-v3";
305
+ }>>;
267
306
  authorizeAutomaticDailyFunding: z.ZodOptional<z.ZodLiteral<true>>;
268
307
  budgetAmount: z.ZodNumber;
269
308
  campaignId: z.ZodString;
@@ -274,12 +313,15 @@ export declare const DynamoiUpdateBudgetInputSchema: z.ZodObject<{
274
313
  userIntentSummary: z.ZodOptional<z.ZodString>;
275
314
  }, z.core.$strict>;
276
315
  export declare const DynamoiUpdateCampaignInputSchema: z.ZodObject<{
277
- acceptedConsentCopyHash: z.ZodOptional<z.ZodLiteral<"06bbd517d58f345a767be9aaeb59f4959d11c6db16e7d07cb889f3ce7950f805">>;
278
- acceptedConsentVersion: z.ZodOptional<z.ZodLiteral<"managed-ads-prospective-daily-v2">>;
279
316
  action: z.ZodEnum<{
280
317
  pause: "pause";
281
318
  resume: "resume";
282
319
  update_budget: "update_budget";
320
+ change_strategy: "change_strategy";
321
+ update_location: "update_location";
322
+ update_end_date: "update_end_date";
323
+ archive: "archive";
324
+ update_goals: "update_goals";
283
325
  }>;
284
326
  authorizeAutomaticDailyFunding: z.ZodOptional<z.ZodLiteral<true>>;
285
327
  budgetAmount: z.ZodOptional<z.ZodNumber>;
@@ -290,17 +332,36 @@ export declare const DynamoiUpdateCampaignInputSchema: z.ZodObject<{
290
332
  expectedCurrentEndDate: z.ZodOptional<z.ZodString>;
291
333
  expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
292
334
  ACTIVE: "ACTIVE";
335
+ PAUSED: "PAUSED";
293
336
  ARCHIVED: "ARCHIVED";
294
337
  AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
295
338
  CONTENT_VALIDATION: "CONTENT_VALIDATION";
296
339
  DEPLOYING: "DEPLOYING";
297
- ENDED: "ENDED";
298
- FAILED: "FAILED";
299
- PAUSED: "PAUSED";
300
340
  READY_FOR_REVIEW: "READY_FOR_REVIEW";
301
341
  SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
342
+ FAILED: "FAILED";
343
+ ENDED: "ENDED";
344
+ }>>;
345
+ locationTargets: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
346
+ mode: z.ZodLiteral<"GLOBAL">;
347
+ }, z.core.$strict>, z.ZodObject<{
348
+ countries: z.ZodArray<z.ZodString>;
349
+ mode: z.ZodLiteral<"COUNTRIES">;
350
+ }, z.core.$strict>]>>;
351
+ optimizeForOrganicViews: z.ZodOptional<z.ZodBoolean>;
352
+ optimizeForSubscribers: z.ZodOptional<z.ZodBoolean>;
353
+ strategy: z.ZodOptional<z.ZodEnum<{
354
+ CHEAPEST_VIEWS: "CHEAPEST_VIEWS";
355
+ ORGANIC_VIEWS: "ORGANIC_VIEWS";
356
+ SUBSCRIBERS: "SUBSCRIBERS";
357
+ ORGANIC_VIEWS_AND_SUBSCRIBERS: "ORGANIC_VIEWS_AND_SUBSCRIBERS";
358
+ ADSENSE_ROI: "ADSENSE_ROI";
302
359
  }>>;
303
360
  userIntentSummary: z.ZodOptional<z.ZodString>;
361
+ acceptedTotalConsentCopyHash: z.ZodOptional<z.ZodLiteral<"8bece5f58e0c94b04b35ac1a98f0e8a142ed968bbe34dcc0d51fe52e2c0d75bd">>;
362
+ acceptedTotalConsentVersion: z.ZodOptional<z.ZodLiteral<"managed-ads-total-daily-v3">>;
363
+ acceptedConsentCopyHash: z.ZodOptional<z.ZodLiteral<"f49b33a4f7e8aa3cc814d5057d03e97eaa0c35a9f3f2bc0315dbd031efa0f356">>;
364
+ acceptedConsentVersion: z.ZodOptional<z.ZodLiteral<"managed-ads-prospective-daily-v7">>;
304
365
  }, z.core.$strict>;
305
366
  export declare const DynamoiListMediaAssetsInputSchema: z.ZodObject<{
306
367
  artistId: z.ZodString;
@@ -313,16 +374,14 @@ export declare const DynamoiListMediaAssetsInputSchema: z.ZodObject<{
313
374
  limit: z.ZodOptional<z.ZodNumber>;
314
375
  }, z.core.$strict>;
315
376
  export declare const DynamoiLaunchCampaignInputSchema: z.ZodObject<{
316
- acceptedConsentCopyHash: z.ZodOptional<z.ZodLiteral<"06bbd517d58f345a767be9aaeb59f4959d11c6db16e7d07cb889f3ce7950f805">>;
317
- acceptedConsentVersion: z.ZodOptional<z.ZodLiteral<"managed-ads-prospective-daily-v2">>;
318
377
  adCopy: z.ZodOptional<z.ZodString>;
319
378
  appleMusicUrl: z.ZodOptional<z.ZodString>;
320
379
  artistId: z.ZodString;
321
380
  authorizeAutomaticDailyFunding: z.ZodOptional<z.ZodLiteral<true>>;
322
381
  budgetAmount: z.ZodNumber;
323
382
  budgetSplits: z.ZodRecord<z.ZodEnum<{
324
- GOOGLE: "GOOGLE";
325
383
  META: "META";
384
+ GOOGLE: "GOOGLE";
326
385
  }>, z.ZodNumber>;
327
386
  budgetType: z.ZodEnum<{
328
387
  DAILY: "DAILY";
@@ -335,9 +394,9 @@ export declare const DynamoiLaunchCampaignInputSchema: z.ZodObject<{
335
394
  clientRequestId: z.ZodString;
336
395
  contentTitle: z.ZodString;
337
396
  contentType: z.ZodEnum<{
397
+ TRACK: "TRACK";
338
398
  ALBUM: "ALBUM";
339
399
  PLAYLIST: "PLAYLIST";
340
- TRACK: "TRACK";
341
400
  VIDEO: "VIDEO";
342
401
  }>;
343
402
  endDate: z.ZodOptional<z.ZodString>;
@@ -349,60 +408,72 @@ export declare const DynamoiLaunchCampaignInputSchema: z.ZodObject<{
349
408
  spotifyUrl: z.ZodOptional<z.ZodString>;
350
409
  useAiGeneratedCopy: z.ZodOptional<z.ZodBoolean>;
351
410
  userIntentSummary: z.ZodOptional<z.ZodString>;
411
+ youtubeEntries: z.ZodOptional<z.ZodArray<z.ZodObject<{
412
+ playlistId: z.ZodOptional<z.ZodString>;
413
+ videoId: z.ZodString;
414
+ }, z.core.$strict>>>;
352
415
  youtubePlaylistId: z.ZodOptional<z.ZodString>;
353
416
  youtubeStrategy: z.ZodOptional<z.ZodEnum<{
354
- ADSENSE_ROI: "ADSENSE_ROI";
355
417
  CHEAPEST_VIEWS: "CHEAPEST_VIEWS";
356
418
  ORGANIC_VIEWS: "ORGANIC_VIEWS";
357
- ORGANIC_VIEWS_AND_SUBSCRIBERS: "ORGANIC_VIEWS_AND_SUBSCRIBERS";
358
419
  SUBSCRIBERS: "SUBSCRIBERS";
420
+ ORGANIC_VIEWS_AND_SUBSCRIBERS: "ORGANIC_VIEWS_AND_SUBSCRIBERS";
421
+ ADSENSE_ROI: "ADSENSE_ROI";
359
422
  }>>;
360
423
  youtubeVideoId: z.ZodOptional<z.ZodString>;
424
+ acceptedTotalConsentCopyHash: z.ZodOptional<z.ZodLiteral<"8bece5f58e0c94b04b35ac1a98f0e8a142ed968bbe34dcc0d51fe52e2c0d75bd">>;
425
+ acceptedTotalConsentVersion: z.ZodOptional<z.ZodLiteral<"managed-ads-total-daily-v3">>;
426
+ acceptedConsentCopyHash: z.ZodOptional<z.ZodLiteral<"f49b33a4f7e8aa3cc814d5057d03e97eaa0c35a9f3f2bc0315dbd031efa0f356">>;
427
+ acceptedConsentVersion: z.ZodOptional<z.ZodLiteral<"managed-ads-prospective-daily-v7">>;
361
428
  }, z.core.$strict>;
362
429
  export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
363
- 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. Pass intent to match that explicit account question; it defaults to account_overview. Do not use this to confirm a specific Meta or YouTube onboarding attempt because this account-level state can span multiple artists; use dynamoi_get_platform_status for the target artist instead. 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.";
430
+ readonly description: "Start here when a musician asks to promote a new single, check how a release is doing, make a song link, get music on Spotify, or grow a YouTube channel and the artist is not yet identified. 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. Pass intent to match that explicit account question; it defaults to account_overview. Do not use this to confirm a specific Meta or YouTube onboarding attempt because this account-level state can span multiple artists; use dynamoi_get_platform_status for the target artist instead. 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.";
364
431
  readonly destructiveHint: false;
365
432
  readonly name: "dynamoi_get_account_overview";
366
433
  readonly openWorldHint: false;
367
434
  readonly outputSchema: z.ZodObject<{
435
+ status: z.ZodEnum<{
436
+ success: "success";
437
+ partial_success: "partial_success";
438
+ error: "error";
439
+ }>;
368
440
  code: z.ZodOptional<z.ZodEnum<{
369
441
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
442
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
370
443
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
371
444
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
372
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
373
- OUTPUT_INVALID: "OUTPUT_INVALID";
445
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
446
+ STATE_CONFLICT: "STATE_CONFLICT";
374
447
  QUOTE_CHANGED: "QUOTE_CHANGED";
375
448
  RATE_LIMITED: "RATE_LIMITED";
376
- STATE_CONFLICT: "STATE_CONFLICT";
449
+ OUTPUT_INVALID: "OUTPUT_INVALID";
377
450
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
378
451
  }>>;
452
+ draftId: z.ZodOptional<z.ZodString>;
453
+ failureStage: z.ZodOptional<z.ZodString>;
379
454
  field: z.ZodOptional<z.ZodString>;
380
455
  nextAction: z.ZodOptional<z.ZodObject<{
381
456
  field: z.ZodOptional<z.ZodString>;
382
457
  kind: z.ZodEnum<{
383
- handoff: "handoff";
384
458
  provide_input: "provide_input";
385
459
  read_status: "read_status";
386
460
  reconnect: "reconnect";
461
+ handoff: "handoff";
387
462
  }>;
388
463
  reason: z.ZodOptional<z.ZodString>;
389
464
  }, z.core.$strict>>;
390
465
  prerequisite: z.ZodOptional<z.ZodString>;
391
466
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
392
467
  retryable: z.ZodOptional<z.ZodBoolean>;
468
+ screeningResult: z.ZodOptional<z.ZodString>;
393
469
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
394
470
  kind: z.ZodOptional<z.ZodEnum<{
395
- business: "business";
396
- platform: "platform";
397
471
  unknown: "unknown";
398
472
  validation: "validation";
473
+ business: "business";
474
+ platform: "platform";
399
475
  }>>;
400
476
  message: z.ZodOptional<z.ZodString>;
401
- status: z.ZodEnum<{
402
- error: "error";
403
- partial_success: "partial_success";
404
- success: "success";
405
- }>;
406
477
  }, z.core.$strict>;
407
478
  readonly readOnlyHint: true;
408
479
  readonly schema: z.ZodObject<{
@@ -424,44 +495,48 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
424
495
  readonly name: "dynamoi_list_artists";
425
496
  readonly openWorldHint: false;
426
497
  readonly outputSchema: z.ZodObject<{
498
+ status: z.ZodEnum<{
499
+ success: "success";
500
+ partial_success: "partial_success";
501
+ error: "error";
502
+ }>;
427
503
  code: z.ZodOptional<z.ZodEnum<{
428
504
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
505
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
429
506
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
430
507
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
431
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
432
- OUTPUT_INVALID: "OUTPUT_INVALID";
508
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
509
+ STATE_CONFLICT: "STATE_CONFLICT";
433
510
  QUOTE_CHANGED: "QUOTE_CHANGED";
434
511
  RATE_LIMITED: "RATE_LIMITED";
435
- STATE_CONFLICT: "STATE_CONFLICT";
512
+ OUTPUT_INVALID: "OUTPUT_INVALID";
436
513
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
437
514
  }>>;
515
+ draftId: z.ZodOptional<z.ZodString>;
516
+ failureStage: z.ZodOptional<z.ZodString>;
438
517
  field: z.ZodOptional<z.ZodString>;
439
518
  nextAction: z.ZodOptional<z.ZodObject<{
440
519
  field: z.ZodOptional<z.ZodString>;
441
520
  kind: z.ZodEnum<{
442
- handoff: "handoff";
443
521
  provide_input: "provide_input";
444
522
  read_status: "read_status";
445
523
  reconnect: "reconnect";
524
+ handoff: "handoff";
446
525
  }>;
447
526
  reason: z.ZodOptional<z.ZodString>;
448
527
  }, z.core.$strict>>;
449
528
  prerequisite: z.ZodOptional<z.ZodString>;
450
529
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
451
530
  retryable: z.ZodOptional<z.ZodBoolean>;
531
+ screeningResult: z.ZodOptional<z.ZodString>;
452
532
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
453
533
  kind: z.ZodOptional<z.ZodEnum<{
454
- business: "business";
455
- platform: "platform";
456
534
  unknown: "unknown";
457
535
  validation: "validation";
536
+ business: "business";
537
+ platform: "platform";
458
538
  }>>;
459
539
  message: z.ZodOptional<z.ZodString>;
460
- status: z.ZodEnum<{
461
- error: "error";
462
- partial_success: "partial_success";
463
- success: "success";
464
- }>;
465
540
  }, z.core.$strict>;
466
541
  readonly readOnlyHint: true;
467
542
  readonly schema: z.ZodObject<{
@@ -480,44 +555,48 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
480
555
  readonly name: "dynamoi_search";
481
556
  readonly openWorldHint: false;
482
557
  readonly outputSchema: z.ZodObject<{
558
+ status: z.ZodEnum<{
559
+ success: "success";
560
+ partial_success: "partial_success";
561
+ error: "error";
562
+ }>;
483
563
  code: z.ZodOptional<z.ZodEnum<{
484
564
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
565
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
485
566
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
486
567
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
487
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
488
- OUTPUT_INVALID: "OUTPUT_INVALID";
568
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
569
+ STATE_CONFLICT: "STATE_CONFLICT";
489
570
  QUOTE_CHANGED: "QUOTE_CHANGED";
490
571
  RATE_LIMITED: "RATE_LIMITED";
491
- STATE_CONFLICT: "STATE_CONFLICT";
572
+ OUTPUT_INVALID: "OUTPUT_INVALID";
492
573
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
493
574
  }>>;
575
+ draftId: z.ZodOptional<z.ZodString>;
576
+ failureStage: z.ZodOptional<z.ZodString>;
494
577
  field: z.ZodOptional<z.ZodString>;
495
578
  nextAction: z.ZodOptional<z.ZodObject<{
496
579
  field: z.ZodOptional<z.ZodString>;
497
580
  kind: z.ZodEnum<{
498
- handoff: "handoff";
499
581
  provide_input: "provide_input";
500
582
  read_status: "read_status";
501
583
  reconnect: "reconnect";
584
+ handoff: "handoff";
502
585
  }>;
503
586
  reason: z.ZodOptional<z.ZodString>;
504
587
  }, z.core.$strict>>;
505
588
  prerequisite: z.ZodOptional<z.ZodString>;
506
589
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
507
590
  retryable: z.ZodOptional<z.ZodBoolean>;
591
+ screeningResult: z.ZodOptional<z.ZodString>;
508
592
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
509
593
  kind: z.ZodOptional<z.ZodEnum<{
510
- business: "business";
511
- platform: "platform";
512
594
  unknown: "unknown";
513
595
  validation: "validation";
596
+ business: "business";
597
+ platform: "platform";
514
598
  }>>;
515
599
  message: z.ZodOptional<z.ZodString>;
516
- status: z.ZodEnum<{
517
- error: "error";
518
- partial_success: "partial_success";
519
- success: "success";
520
- }>;
521
600
  }, z.core.$strict>;
522
601
  readonly readOnlyHint: true;
523
602
  readonly schema: z.ZodObject<{
@@ -543,44 +622,48 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
543
622
  readonly name: "search";
544
623
  readonly openWorldHint: false;
545
624
  readonly outputSchema: z.ZodObject<{
625
+ status: z.ZodEnum<{
626
+ success: "success";
627
+ partial_success: "partial_success";
628
+ error: "error";
629
+ }>;
546
630
  code: z.ZodOptional<z.ZodEnum<{
547
631
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
632
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
548
633
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
549
634
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
550
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
551
- OUTPUT_INVALID: "OUTPUT_INVALID";
635
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
636
+ STATE_CONFLICT: "STATE_CONFLICT";
552
637
  QUOTE_CHANGED: "QUOTE_CHANGED";
553
638
  RATE_LIMITED: "RATE_LIMITED";
554
- STATE_CONFLICT: "STATE_CONFLICT";
639
+ OUTPUT_INVALID: "OUTPUT_INVALID";
555
640
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
556
641
  }>>;
642
+ draftId: z.ZodOptional<z.ZodString>;
643
+ failureStage: z.ZodOptional<z.ZodString>;
557
644
  field: z.ZodOptional<z.ZodString>;
558
645
  nextAction: z.ZodOptional<z.ZodObject<{
559
646
  field: z.ZodOptional<z.ZodString>;
560
647
  kind: z.ZodEnum<{
561
- handoff: "handoff";
562
648
  provide_input: "provide_input";
563
649
  read_status: "read_status";
564
650
  reconnect: "reconnect";
651
+ handoff: "handoff";
565
652
  }>;
566
653
  reason: z.ZodOptional<z.ZodString>;
567
654
  }, z.core.$strict>>;
568
655
  prerequisite: z.ZodOptional<z.ZodString>;
569
656
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
570
657
  retryable: z.ZodOptional<z.ZodBoolean>;
658
+ screeningResult: z.ZodOptional<z.ZodString>;
571
659
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
572
660
  kind: z.ZodOptional<z.ZodEnum<{
573
- business: "business";
574
- platform: "platform";
575
661
  unknown: "unknown";
576
662
  validation: "validation";
663
+ business: "business";
664
+ platform: "platform";
577
665
  }>>;
578
666
  message: z.ZodOptional<z.ZodString>;
579
- status: z.ZodEnum<{
580
- error: "error";
581
- partial_success: "partial_success";
582
- success: "success";
583
- }>;
584
667
  }, z.core.$strict>;
585
668
  readonly readOnlyHint: true;
586
669
  readonly schema: z.ZodObject<{
@@ -593,44 +676,48 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
593
676
  readonly name: "fetch";
594
677
  readonly openWorldHint: false;
595
678
  readonly outputSchema: z.ZodObject<{
679
+ status: z.ZodEnum<{
680
+ success: "success";
681
+ partial_success: "partial_success";
682
+ error: "error";
683
+ }>;
596
684
  code: z.ZodOptional<z.ZodEnum<{
597
685
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
686
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
598
687
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
599
688
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
600
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
601
- OUTPUT_INVALID: "OUTPUT_INVALID";
689
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
690
+ STATE_CONFLICT: "STATE_CONFLICT";
602
691
  QUOTE_CHANGED: "QUOTE_CHANGED";
603
692
  RATE_LIMITED: "RATE_LIMITED";
604
- STATE_CONFLICT: "STATE_CONFLICT";
693
+ OUTPUT_INVALID: "OUTPUT_INVALID";
605
694
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
606
695
  }>>;
696
+ draftId: z.ZodOptional<z.ZodString>;
697
+ failureStage: z.ZodOptional<z.ZodString>;
607
698
  field: z.ZodOptional<z.ZodString>;
608
699
  nextAction: z.ZodOptional<z.ZodObject<{
609
700
  field: z.ZodOptional<z.ZodString>;
610
701
  kind: z.ZodEnum<{
611
- handoff: "handoff";
612
702
  provide_input: "provide_input";
613
703
  read_status: "read_status";
614
704
  reconnect: "reconnect";
705
+ handoff: "handoff";
615
706
  }>;
616
707
  reason: z.ZodOptional<z.ZodString>;
617
708
  }, z.core.$strict>>;
618
709
  prerequisite: z.ZodOptional<z.ZodString>;
619
710
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
620
711
  retryable: z.ZodOptional<z.ZodBoolean>;
712
+ screeningResult: z.ZodOptional<z.ZodString>;
621
713
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
622
714
  kind: z.ZodOptional<z.ZodEnum<{
623
- business: "business";
624
- platform: "platform";
625
715
  unknown: "unknown";
626
716
  validation: "validation";
717
+ business: "business";
718
+ platform: "platform";
627
719
  }>>;
628
720
  message: z.ZodOptional<z.ZodString>;
629
- status: z.ZodEnum<{
630
- error: "error";
631
- partial_success: "partial_success";
632
- success: "success";
633
- }>;
634
721
  }, z.core.$strict>;
635
722
  readonly readOnlyHint: true;
636
723
  readonly schema: z.ZodObject<{
@@ -643,44 +730,48 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
643
730
  readonly name: "dynamoi_list_campaigns";
644
731
  readonly openWorldHint: false;
645
732
  readonly outputSchema: z.ZodObject<{
733
+ status: z.ZodEnum<{
734
+ success: "success";
735
+ partial_success: "partial_success";
736
+ error: "error";
737
+ }>;
646
738
  code: z.ZodOptional<z.ZodEnum<{
647
739
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
740
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
648
741
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
649
742
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
650
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
651
- OUTPUT_INVALID: "OUTPUT_INVALID";
743
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
744
+ STATE_CONFLICT: "STATE_CONFLICT";
652
745
  QUOTE_CHANGED: "QUOTE_CHANGED";
653
746
  RATE_LIMITED: "RATE_LIMITED";
654
- STATE_CONFLICT: "STATE_CONFLICT";
747
+ OUTPUT_INVALID: "OUTPUT_INVALID";
655
748
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
656
749
  }>>;
750
+ draftId: z.ZodOptional<z.ZodString>;
751
+ failureStage: z.ZodOptional<z.ZodString>;
657
752
  field: z.ZodOptional<z.ZodString>;
658
753
  nextAction: z.ZodOptional<z.ZodObject<{
659
754
  field: z.ZodOptional<z.ZodString>;
660
755
  kind: z.ZodEnum<{
661
- handoff: "handoff";
662
756
  provide_input: "provide_input";
663
757
  read_status: "read_status";
664
758
  reconnect: "reconnect";
759
+ handoff: "handoff";
665
760
  }>;
666
761
  reason: z.ZodOptional<z.ZodString>;
667
762
  }, z.core.$strict>>;
668
763
  prerequisite: z.ZodOptional<z.ZodString>;
669
764
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
670
765
  retryable: z.ZodOptional<z.ZodBoolean>;
766
+ screeningResult: z.ZodOptional<z.ZodString>;
671
767
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
672
768
  kind: z.ZodOptional<z.ZodEnum<{
673
- business: "business";
674
- platform: "platform";
675
769
  unknown: "unknown";
676
770
  validation: "validation";
771
+ business: "business";
772
+ platform: "platform";
677
773
  }>>;
678
774
  message: z.ZodOptional<z.ZodString>;
679
- status: z.ZodEnum<{
680
- error: "error";
681
- partial_success: "partial_success";
682
- success: "success";
683
- }>;
684
775
  }, z.core.$strict>;
685
776
  readonly readOnlyHint: true;
686
777
  readonly schema: z.ZodObject<{
@@ -697,61 +788,66 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
697
788
  limit: z.ZodOptional<z.ZodNumber>;
698
789
  status: z.ZodOptional<z.ZodEnum<{
699
790
  ACTIVE: "ACTIVE";
791
+ PAUSED: "PAUSED";
700
792
  ARCHIVED: "ARCHIVED";
701
793
  AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
702
794
  CONTENT_VALIDATION: "CONTENT_VALIDATION";
703
795
  DEPLOYING: "DEPLOYING";
704
- FAILED: "FAILED";
705
- PAUSED: "PAUSED";
706
796
  READY_FOR_REVIEW: "READY_FOR_REVIEW";
707
797
  SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
798
+ FAILED: "FAILED";
799
+ ENDED: "ENDED";
708
800
  }>>;
709
801
  }, z.core.$strict>;
710
802
  readonly title: "List Campaigns";
711
803
  }, {
712
- readonly description: "Use this when the user wants full details for one campaign, including budget, targeting, platform status, and next actions. Set includeAnalytics=true for one-campaign performance, includeDeploymentStatus=true for delivery/deployment blockers, and includeCountries=true only when the full country list is needed. Do not use this for a campaign list; use dynamoi_list_campaigns instead. After a successful launch or campaign mutation, prefer format=summary when you need a follow-up read to relay the final answer.";
804
+ readonly description: "Use this when the user wants full details for one campaign, including budget, targeting, platform status, and next actions. YouTube campaigns return youtubeStrategy and strategyGuide: read the guide's goal and judgeBy before interpreting results. Set includeAnalytics=true for paid delivery, includeChannelResults=true for observed YouTube channel results with paid and organic views (never attributed to the campaign), includeDeploymentStatus=true for delivery/deployment blockers, and includeCountries=true only when the full country list is needed. Do not use this for a campaign list; use dynamoi_list_campaigns instead. After a successful launch or campaign mutation, prefer format=summary when you need a follow-up read to relay the final answer.";
713
805
  readonly destructiveHint: false;
714
806
  readonly name: "dynamoi_get_campaign";
715
807
  readonly openWorldHint: false;
716
808
  readonly outputSchema: z.ZodObject<{
809
+ status: z.ZodEnum<{
810
+ success: "success";
811
+ partial_success: "partial_success";
812
+ error: "error";
813
+ }>;
717
814
  code: z.ZodOptional<z.ZodEnum<{
718
815
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
816
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
719
817
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
720
818
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
721
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
722
- OUTPUT_INVALID: "OUTPUT_INVALID";
819
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
820
+ STATE_CONFLICT: "STATE_CONFLICT";
723
821
  QUOTE_CHANGED: "QUOTE_CHANGED";
724
822
  RATE_LIMITED: "RATE_LIMITED";
725
- STATE_CONFLICT: "STATE_CONFLICT";
823
+ OUTPUT_INVALID: "OUTPUT_INVALID";
726
824
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
727
825
  }>>;
826
+ draftId: z.ZodOptional<z.ZodString>;
827
+ failureStage: z.ZodOptional<z.ZodString>;
728
828
  field: z.ZodOptional<z.ZodString>;
729
829
  nextAction: z.ZodOptional<z.ZodObject<{
730
830
  field: z.ZodOptional<z.ZodString>;
731
831
  kind: z.ZodEnum<{
732
- handoff: "handoff";
733
832
  provide_input: "provide_input";
734
833
  read_status: "read_status";
735
834
  reconnect: "reconnect";
835
+ handoff: "handoff";
736
836
  }>;
737
837
  reason: z.ZodOptional<z.ZodString>;
738
838
  }, z.core.$strict>>;
739
839
  prerequisite: z.ZodOptional<z.ZodString>;
740
840
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
741
841
  retryable: z.ZodOptional<z.ZodBoolean>;
842
+ screeningResult: z.ZodOptional<z.ZodString>;
742
843
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
743
844
  kind: z.ZodOptional<z.ZodEnum<{
744
- business: "business";
745
- platform: "platform";
746
845
  unknown: "unknown";
747
846
  validation: "validation";
847
+ business: "business";
848
+ platform: "platform";
748
849
  }>>;
749
850
  message: z.ZodOptional<z.ZodString>;
750
- status: z.ZodEnum<{
751
- error: "error";
752
- partial_success: "partial_success";
753
- success: "success";
754
- }>;
755
851
  }, z.core.$strict>;
756
852
  readonly readOnlyHint: true;
757
853
  readonly schema: z.ZodObject<{
@@ -769,54 +865,59 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
769
865
  summary: "summary";
770
866
  }>>;
771
867
  includeAnalytics: z.ZodOptional<z.ZodBoolean>;
868
+ includeChannelResults: z.ZodOptional<z.ZodBoolean>;
772
869
  includeCountries: z.ZodOptional<z.ZodBoolean>;
773
870
  includeDeploymentStatus: z.ZodOptional<z.ZodBoolean>;
774
871
  }, z.core.$strict>;
775
872
  readonly title: "Get Campaign";
776
873
  }, {
777
- 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. For one campaign's metrics, use dynamoi_get_campaign with includeAnalytics=true.";
874
+ readonly description: "Use this for \"how is my release doing?\" and \"are my ads working?\" questions about an artist's Dynamoi campaigns. 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. For one campaign's metrics, use dynamoi_get_campaign with includeAnalytics=true.";
778
875
  readonly destructiveHint: false;
779
876
  readonly name: "dynamoi_get_artist_analytics";
780
877
  readonly openWorldHint: false;
781
878
  readonly outputSchema: z.ZodObject<{
879
+ status: z.ZodEnum<{
880
+ success: "success";
881
+ partial_success: "partial_success";
882
+ error: "error";
883
+ }>;
782
884
  code: z.ZodOptional<z.ZodEnum<{
783
885
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
886
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
784
887
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
785
888
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
786
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
787
- OUTPUT_INVALID: "OUTPUT_INVALID";
889
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
890
+ STATE_CONFLICT: "STATE_CONFLICT";
788
891
  QUOTE_CHANGED: "QUOTE_CHANGED";
789
892
  RATE_LIMITED: "RATE_LIMITED";
790
- STATE_CONFLICT: "STATE_CONFLICT";
893
+ OUTPUT_INVALID: "OUTPUT_INVALID";
791
894
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
792
895
  }>>;
896
+ draftId: z.ZodOptional<z.ZodString>;
897
+ failureStage: z.ZodOptional<z.ZodString>;
793
898
  field: z.ZodOptional<z.ZodString>;
794
899
  nextAction: z.ZodOptional<z.ZodObject<{
795
900
  field: z.ZodOptional<z.ZodString>;
796
901
  kind: z.ZodEnum<{
797
- handoff: "handoff";
798
902
  provide_input: "provide_input";
799
903
  read_status: "read_status";
800
904
  reconnect: "reconnect";
905
+ handoff: "handoff";
801
906
  }>;
802
907
  reason: z.ZodOptional<z.ZodString>;
803
908
  }, z.core.$strict>>;
804
909
  prerequisite: z.ZodOptional<z.ZodString>;
805
910
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
806
911
  retryable: z.ZodOptional<z.ZodBoolean>;
912
+ screeningResult: z.ZodOptional<z.ZodString>;
807
913
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
808
914
  kind: z.ZodOptional<z.ZodEnum<{
809
- business: "business";
810
- platform: "platform";
811
915
  unknown: "unknown";
812
916
  validation: "validation";
917
+ business: "business";
918
+ platform: "platform";
813
919
  }>>;
814
920
  message: z.ZodOptional<z.ZodString>;
815
- status: z.ZodEnum<{
816
- error: "error";
817
- partial_success: "partial_success";
818
- success: "success";
819
- }>;
820
921
  }, z.core.$strict>;
821
922
  readonly readOnlyHint: true;
822
923
  readonly schema: z.ZodObject<{
@@ -836,49 +937,296 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
836
937
  }, z.core.$strict>;
837
938
  readonly title: "Get Artist Analytics";
838
939
  }, {
839
- readonly description: "Use this when the user asks about billing state, credit balance, promo limits, subscription status, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. If billing blocks a launch, starting or restoring managed advertising is not available through this MCP surface; tell the user: 'You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard.' Then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.";
940
+ readonly description: "Use this when the user asks for an artist's Spotify monthly listeners, listener growth over time, growth audit or score, playlist reach, or growth recommendations. The response carries its status, coverage dates, and limitations; preserve unavailable or stale status and do not treat a missing metric as zero. This is Spotify and market insight data, not paid campaign performance.";
840
941
  readonly destructiveHint: false;
841
- readonly name: "dynamoi_get_billing";
942
+ readonly name: "dynamoi_get_growth_audit";
842
943
  readonly openWorldHint: false;
843
944
  readonly outputSchema: z.ZodObject<{
945
+ status: z.ZodEnum<{
946
+ success: "success";
947
+ partial_success: "partial_success";
948
+ error: "error";
949
+ }>;
844
950
  code: z.ZodOptional<z.ZodEnum<{
845
951
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
952
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
846
953
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
847
954
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
848
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
849
- OUTPUT_INVALID: "OUTPUT_INVALID";
955
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
956
+ STATE_CONFLICT: "STATE_CONFLICT";
850
957
  QUOTE_CHANGED: "QUOTE_CHANGED";
851
958
  RATE_LIMITED: "RATE_LIMITED";
852
- STATE_CONFLICT: "STATE_CONFLICT";
959
+ OUTPUT_INVALID: "OUTPUT_INVALID";
853
960
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
854
961
  }>>;
962
+ draftId: z.ZodOptional<z.ZodString>;
963
+ failureStage: z.ZodOptional<z.ZodString>;
855
964
  field: z.ZodOptional<z.ZodString>;
856
965
  nextAction: z.ZodOptional<z.ZodObject<{
857
966
  field: z.ZodOptional<z.ZodString>;
858
967
  kind: z.ZodEnum<{
859
- handoff: "handoff";
860
968
  provide_input: "provide_input";
861
969
  read_status: "read_status";
862
970
  reconnect: "reconnect";
971
+ handoff: "handoff";
863
972
  }>;
864
973
  reason: z.ZodOptional<z.ZodString>;
865
974
  }, z.core.$strict>>;
866
975
  prerequisite: z.ZodOptional<z.ZodString>;
867
976
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
868
977
  retryable: z.ZodOptional<z.ZodBoolean>;
978
+ screeningResult: z.ZodOptional<z.ZodString>;
869
979
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
870
980
  kind: z.ZodOptional<z.ZodEnum<{
981
+ unknown: "unknown";
982
+ validation: "validation";
871
983
  business: "business";
872
984
  platform: "platform";
985
+ }>>;
986
+ message: z.ZodOptional<z.ZodString>;
987
+ }, z.core.$strict>;
988
+ readonly readOnlyHint: true;
989
+ readonly schema: z.ZodObject<{
990
+ artistId: z.ZodString;
991
+ }, z.core.$strict>;
992
+ readonly title: "Get Spotify Growth Audit";
993
+ }, {
994
+ readonly description: "Use this when the user asks about an artist's tracked playlist placements, reach, or playlist movement. The response includes freshness and snapshot dates with the playlist and movement rows. These observed placements are not attributed to a paid campaign.";
995
+ readonly destructiveHint: false;
996
+ readonly name: "dynamoi_get_playlist_analytics";
997
+ readonly openWorldHint: false;
998
+ readonly outputSchema: z.ZodObject<{
999
+ status: z.ZodEnum<{
1000
+ success: "success";
1001
+ partial_success: "partial_success";
1002
+ error: "error";
1003
+ }>;
1004
+ code: z.ZodOptional<z.ZodEnum<{
1005
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1006
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1007
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
1008
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
1009
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1010
+ STATE_CONFLICT: "STATE_CONFLICT";
1011
+ QUOTE_CHANGED: "QUOTE_CHANGED";
1012
+ RATE_LIMITED: "RATE_LIMITED";
1013
+ OUTPUT_INVALID: "OUTPUT_INVALID";
1014
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
1015
+ }>>;
1016
+ draftId: z.ZodOptional<z.ZodString>;
1017
+ failureStage: z.ZodOptional<z.ZodString>;
1018
+ field: z.ZodOptional<z.ZodString>;
1019
+ nextAction: z.ZodOptional<z.ZodObject<{
1020
+ field: z.ZodOptional<z.ZodString>;
1021
+ kind: z.ZodEnum<{
1022
+ provide_input: "provide_input";
1023
+ read_status: "read_status";
1024
+ reconnect: "reconnect";
1025
+ handoff: "handoff";
1026
+ }>;
1027
+ reason: z.ZodOptional<z.ZodString>;
1028
+ }, z.core.$strict>>;
1029
+ prerequisite: z.ZodOptional<z.ZodString>;
1030
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
1031
+ retryable: z.ZodOptional<z.ZodBoolean>;
1032
+ screeningResult: z.ZodOptional<z.ZodString>;
1033
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1034
+ kind: z.ZodOptional<z.ZodEnum<{
873
1035
  unknown: "unknown";
874
1036
  validation: "validation";
1037
+ business: "business";
1038
+ platform: "platform";
875
1039
  }>>;
876
1040
  message: z.ZodOptional<z.ZodString>;
1041
+ }, z.core.$strict>;
1042
+ readonly readOnlyHint: true;
1043
+ readonly schema: z.ZodObject<{
1044
+ artistId: z.ZodString;
1045
+ }, z.core.$strict>;
1046
+ readonly title: "Get Playlist Analytics";
1047
+ }, {
1048
+ readonly description: "Use this when the user asks about an artist's streaming audience by country, service, paid/free tier, or daily trend. Choose range=7d, 30d, or 90d; it defaults to 30d. The response comes from audience analytics and preserves the requested date range. If the source is temporarily unavailable, report that instead of treating it as zero audience.";
1049
+ readonly destructiveHint: false;
1050
+ readonly name: "dynamoi_get_audience_analytics";
1051
+ readonly openWorldHint: false;
1052
+ readonly outputSchema: z.ZodObject<{
877
1053
  status: z.ZodEnum<{
1054
+ success: "success";
1055
+ partial_success: "partial_success";
878
1056
  error: "error";
1057
+ }>;
1058
+ code: z.ZodOptional<z.ZodEnum<{
1059
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1060
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1061
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
1062
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
1063
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1064
+ STATE_CONFLICT: "STATE_CONFLICT";
1065
+ QUOTE_CHANGED: "QUOTE_CHANGED";
1066
+ RATE_LIMITED: "RATE_LIMITED";
1067
+ OUTPUT_INVALID: "OUTPUT_INVALID";
1068
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
1069
+ }>>;
1070
+ draftId: z.ZodOptional<z.ZodString>;
1071
+ failureStage: z.ZodOptional<z.ZodString>;
1072
+ field: z.ZodOptional<z.ZodString>;
1073
+ nextAction: z.ZodOptional<z.ZodObject<{
1074
+ field: z.ZodOptional<z.ZodString>;
1075
+ kind: z.ZodEnum<{
1076
+ provide_input: "provide_input";
1077
+ read_status: "read_status";
1078
+ reconnect: "reconnect";
1079
+ handoff: "handoff";
1080
+ }>;
1081
+ reason: z.ZodOptional<z.ZodString>;
1082
+ }, z.core.$strict>>;
1083
+ prerequisite: z.ZodOptional<z.ZodString>;
1084
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
1085
+ retryable: z.ZodOptional<z.ZodBoolean>;
1086
+ screeningResult: z.ZodOptional<z.ZodString>;
1087
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1088
+ kind: z.ZodOptional<z.ZodEnum<{
1089
+ unknown: "unknown";
1090
+ validation: "validation";
1091
+ business: "business";
1092
+ platform: "platform";
1093
+ }>>;
1094
+ message: z.ZodOptional<z.ZodString>;
1095
+ }, z.core.$strict>;
1096
+ readonly readOnlyHint: true;
1097
+ readonly schema: z.ZodObject<{
1098
+ artistId: z.ZodString;
1099
+ range: z.ZodDefault<z.ZodEnum<{
1100
+ "7d": "7d";
1101
+ "30d": "30d";
1102
+ "90d": "90d";
1103
+ }>>;
1104
+ }, z.core.$strict>;
1105
+ readonly title: "Get Audience Analytics";
1106
+ }, {
1107
+ readonly description: "Use this for \"how is my YouTube channel doing?\" or \"what is growing my channel?\" once a channel is linked. Use this to analyze an artist's own connected YouTube channel's estimated ad revenue to inform AdSense strategy and channel growth, alongside subscribers, views, watch time or country, device and subscribed-status breakdowns: paged channel data from the YouTube Analytics warehouse or explicitly qualified synthetic/sample data. Pick one dataset: channel_daily (views, watch time, subscribers gained and lost, likes, shares, playlist starts, estimated revenue, ad revenue, gross revenue, monetized playbacks, CPM and playback-based CPM), video_daily (per-video metrics with titles; filter with videoIds), country_daily, traffic_source_daily, search_term_daily (YouTube search terms for the whole channel), subscribed_status_daily, device_daily, operating_system_daily, playback_location_daily, creator_content_type_daily, or video_catalog (video titles and publish dates). traffic_source_daily rows with source ADVERTISING carry trafficClass=paid and every other source carries trafficClass=organic, but that label only groups sources and is not organic proof: ad clicks that land in a playlist are credited mostly to PLAYLIST and SUBSCRIBER, so trafficClass=organic rows include ad sessions. Organic lift is growth in sources ads do not touch (YT_SEARCH, RELATED_VIDEO, browse features) or lift that persists after spend stops. Warehouse data is observed on the channel, not attributed to any campaign. Preserve the returned source, coverage, freshness, and synthetic/sample qualifications; do not treat synthetic/sample data as observed channel results, campaign attribution, or actual earnings/payouts. Treat returned ad revenue as estimated revenue, not an AdSense payout. The first page of any dataset (including format=summary) also carries one adsense block, the same figures the Dynamoi dashboard and app show: formats (long-form versus Shorts AdSense revenue and RPM), recovery and campaigns (incremental AdSense since each campaign and whether it earned back the billed amount), and countries (AdSense per ad playback against similar channels). It is estimated, not a payout, and covers windowFromDay to windowThroughDay, which is not always the requested range: compare against those fields. recovery.state building or unavailable and null figures mean unknown, never zero; adsense is null outside the YouTube Partner Program, on later pages, or when temporarily unavailable (adsenseNote explains). Compare periods yourself and use the campaigns block (dates, strategy, promoted videos) as context. YouTube data arrives about 2-3 days late and revenue can lag further: check coverage before comparing, and treat placeholderDays and missingDays as unknown, never zero. Not available yet: audience demographics, per-video traffic sources and per-video search terms. Needs a connected channel; a channel that must be reconnected is refused. Returns no ad spend. Before judging a campaign's strategy, read the strategyGuide from dynamoi_get_campaign. Page with nextCursor; format=summary returns only the summary, coverage and adsense.";
1108
+ readonly destructiveHint: false;
1109
+ readonly name: "dynamoi_get_youtube_channel_data";
1110
+ readonly openWorldHint: false;
1111
+ readonly outputSchema: z.ZodObject<{
1112
+ status: z.ZodEnum<{
1113
+ success: "success";
879
1114
  partial_success: "partial_success";
1115
+ error: "error";
1116
+ }>;
1117
+ code: z.ZodOptional<z.ZodEnum<{
1118
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1119
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1120
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
1121
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
1122
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1123
+ STATE_CONFLICT: "STATE_CONFLICT";
1124
+ QUOTE_CHANGED: "QUOTE_CHANGED";
1125
+ RATE_LIMITED: "RATE_LIMITED";
1126
+ OUTPUT_INVALID: "OUTPUT_INVALID";
1127
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
1128
+ }>>;
1129
+ draftId: z.ZodOptional<z.ZodString>;
1130
+ failureStage: z.ZodOptional<z.ZodString>;
1131
+ field: z.ZodOptional<z.ZodString>;
1132
+ nextAction: z.ZodOptional<z.ZodObject<{
1133
+ field: z.ZodOptional<z.ZodString>;
1134
+ kind: z.ZodEnum<{
1135
+ provide_input: "provide_input";
1136
+ read_status: "read_status";
1137
+ reconnect: "reconnect";
1138
+ handoff: "handoff";
1139
+ }>;
1140
+ reason: z.ZodOptional<z.ZodString>;
1141
+ }, z.core.$strict>>;
1142
+ prerequisite: z.ZodOptional<z.ZodString>;
1143
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
1144
+ retryable: z.ZodOptional<z.ZodBoolean>;
1145
+ screeningResult: z.ZodOptional<z.ZodString>;
1146
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1147
+ kind: z.ZodOptional<z.ZodEnum<{
1148
+ unknown: "unknown";
1149
+ validation: "validation";
1150
+ business: "business";
1151
+ platform: "platform";
1152
+ }>>;
1153
+ message: z.ZodOptional<z.ZodString>;
1154
+ }, z.core.$strict>;
1155
+ readonly readOnlyHint: true;
1156
+ readonly schema: z.ZodObject<{
1157
+ artistId: z.ZodString;
1158
+ cursor: z.ZodOptional<z.ZodString>;
1159
+ dataset: z.ZodEnum<{
1160
+ channel_daily: "channel_daily";
1161
+ video_daily: "video_daily";
1162
+ country_daily: "country_daily";
1163
+ traffic_source_daily: "traffic_source_daily";
1164
+ search_term_daily: "search_term_daily";
1165
+ subscribed_status_daily: "subscribed_status_daily";
1166
+ device_daily: "device_daily";
1167
+ operating_system_daily: "operating_system_daily";
1168
+ playback_location_daily: "playback_location_daily";
1169
+ creator_content_type_daily: "creator_content_type_daily";
1170
+ video_catalog: "video_catalog";
1171
+ }>;
1172
+ endDate: z.ZodString;
1173
+ format: z.ZodOptional<z.ZodEnum<{
1174
+ json: "json";
1175
+ summary: "summary";
1176
+ }>>;
1177
+ limit: z.ZodOptional<z.ZodNumber>;
1178
+ startDate: z.ZodString;
1179
+ videoIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1180
+ }, z.core.$strict>;
1181
+ readonly title: "Get YouTube Channel Data";
1182
+ }, {
1183
+ readonly description: "Use this when the user asks about billing state, credit balance, promo limits, subscription status, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. If billing blocks a launch, starting or restoring managed advertising is not available through this MCP surface; tell the user: 'You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard.' Then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.";
1184
+ readonly destructiveHint: false;
1185
+ readonly name: "dynamoi_get_billing";
1186
+ readonly openWorldHint: false;
1187
+ readonly outputSchema: z.ZodObject<{
1188
+ status: z.ZodEnum<{
880
1189
  success: "success";
1190
+ partial_success: "partial_success";
1191
+ error: "error";
881
1192
  }>;
1193
+ code: z.ZodOptional<z.ZodEnum<{
1194
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1195
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1196
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
1197
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
1198
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1199
+ STATE_CONFLICT: "STATE_CONFLICT";
1200
+ QUOTE_CHANGED: "QUOTE_CHANGED";
1201
+ RATE_LIMITED: "RATE_LIMITED";
1202
+ OUTPUT_INVALID: "OUTPUT_INVALID";
1203
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
1204
+ }>>;
1205
+ draftId: z.ZodOptional<z.ZodString>;
1206
+ failureStage: z.ZodOptional<z.ZodString>;
1207
+ field: z.ZodOptional<z.ZodString>;
1208
+ nextAction: z.ZodOptional<z.ZodObject<{
1209
+ field: z.ZodOptional<z.ZodString>;
1210
+ kind: z.ZodEnum<{
1211
+ provide_input: "provide_input";
1212
+ read_status: "read_status";
1213
+ reconnect: "reconnect";
1214
+ handoff: "handoff";
1215
+ }>;
1216
+ reason: z.ZodOptional<z.ZodString>;
1217
+ }, z.core.$strict>>;
1218
+ prerequisite: z.ZodOptional<z.ZodString>;
1219
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
1220
+ retryable: z.ZodOptional<z.ZodBoolean>;
1221
+ screeningResult: z.ZodOptional<z.ZodString>;
1222
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1223
+ kind: z.ZodOptional<z.ZodEnum<{
1224
+ unknown: "unknown";
1225
+ validation: "validation";
1226
+ business: "business";
1227
+ platform: "platform";
1228
+ }>>;
1229
+ message: z.ZodOptional<z.ZodString>;
882
1230
  }, z.core.$strict>;
883
1231
  readonly readOnlyHint: true;
884
1232
  readonly schema: z.ZodObject<{
@@ -891,49 +1239,111 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
891
1239
  }, z.core.$strict>;
892
1240
  readonly title: "Get Billing";
893
1241
  }, {
894
- readonly description: "Use this when the user wants to know whether Spotify, Meta, or YouTube are connected and what setup steps still block launches. When polling after a connection-start flow, pass the returned onboardingAttemptId and onboardingFlow so Dynamoi ops can correlate the browser step. Do not use this for detailed billing questions. Never use this to personalize generic Instagram or marketing-advice questions.";
1242
+ readonly description: "Read the existing campaign's resume funding breakdown before requesting funding consent: campaign budget, funded-window coverage, usable credits, immediate charge, payment method, refusal and current consent. Amounts carry their commercial currency and minor-unit exponent. This read never reserves funds, authorizes collection or resumes delivery. A refusal is not a zero-charge approval. Use dynamoi_update_campaign to resume only after explicit user consent when required.";
895
1243
  readonly destructiveHint: false;
896
- readonly name: "dynamoi_get_platform_status";
1244
+ readonly name: "dynamoi_get_resume_funding";
897
1245
  readonly openWorldHint: false;
898
1246
  readonly outputSchema: z.ZodObject<{
1247
+ status: z.ZodEnum<{
1248
+ success: "success";
1249
+ partial_success: "partial_success";
1250
+ error: "error";
1251
+ }>;
899
1252
  code: z.ZodOptional<z.ZodEnum<{
900
1253
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1254
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
901
1255
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
902
1256
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
903
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
904
- OUTPUT_INVALID: "OUTPUT_INVALID";
1257
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1258
+ STATE_CONFLICT: "STATE_CONFLICT";
905
1259
  QUOTE_CHANGED: "QUOTE_CHANGED";
906
1260
  RATE_LIMITED: "RATE_LIMITED";
907
- STATE_CONFLICT: "STATE_CONFLICT";
1261
+ OUTPUT_INVALID: "OUTPUT_INVALID";
908
1262
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
909
1263
  }>>;
1264
+ draftId: z.ZodOptional<z.ZodString>;
1265
+ failureStage: z.ZodOptional<z.ZodString>;
910
1266
  field: z.ZodOptional<z.ZodString>;
911
1267
  nextAction: z.ZodOptional<z.ZodObject<{
912
1268
  field: z.ZodOptional<z.ZodString>;
913
1269
  kind: z.ZodEnum<{
914
- handoff: "handoff";
915
1270
  provide_input: "provide_input";
916
1271
  read_status: "read_status";
917
1272
  reconnect: "reconnect";
1273
+ handoff: "handoff";
918
1274
  }>;
919
1275
  reason: z.ZodOptional<z.ZodString>;
920
1276
  }, z.core.$strict>>;
921
1277
  prerequisite: z.ZodOptional<z.ZodString>;
922
1278
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
923
1279
  retryable: z.ZodOptional<z.ZodBoolean>;
1280
+ screeningResult: z.ZodOptional<z.ZodString>;
924
1281
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
925
1282
  kind: z.ZodOptional<z.ZodEnum<{
926
- business: "business";
927
- platform: "platform";
928
1283
  unknown: "unknown";
929
1284
  validation: "validation";
1285
+ business: "business";
1286
+ platform: "platform";
930
1287
  }>>;
931
1288
  message: z.ZodOptional<z.ZodString>;
1289
+ }, z.core.$strict>;
1290
+ readonly readOnlyHint: true;
1291
+ readonly schema: z.ZodObject<{
1292
+ campaignId: z.ZodString;
1293
+ format: z.ZodOptional<z.ZodEnum<{
1294
+ json: "json";
1295
+ summary: "summary";
1296
+ }>>;
1297
+ }, z.core.$strict>;
1298
+ readonly title: "Get Resume Funding";
1299
+ }, {
1300
+ readonly description: "Use this when the user wants to know whether Spotify, Meta, or YouTube are connected and what setup steps still block launches. When polling after a connection-start flow, pass the returned onboardingAttemptId and onboardingFlow so Dynamoi ops can correlate the browser step. Do not use this for detailed billing questions. Never use this to personalize generic Instagram or marketing-advice questions.";
1301
+ readonly destructiveHint: false;
1302
+ readonly name: "dynamoi_get_platform_status";
1303
+ readonly openWorldHint: false;
1304
+ readonly outputSchema: z.ZodObject<{
932
1305
  status: z.ZodEnum<{
933
- error: "error";
934
- partial_success: "partial_success";
935
1306
  success: "success";
1307
+ partial_success: "partial_success";
1308
+ error: "error";
936
1309
  }>;
1310
+ code: z.ZodOptional<z.ZodEnum<{
1311
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1312
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1313
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
1314
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
1315
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1316
+ STATE_CONFLICT: "STATE_CONFLICT";
1317
+ QUOTE_CHANGED: "QUOTE_CHANGED";
1318
+ RATE_LIMITED: "RATE_LIMITED";
1319
+ OUTPUT_INVALID: "OUTPUT_INVALID";
1320
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
1321
+ }>>;
1322
+ draftId: z.ZodOptional<z.ZodString>;
1323
+ failureStage: z.ZodOptional<z.ZodString>;
1324
+ field: z.ZodOptional<z.ZodString>;
1325
+ nextAction: z.ZodOptional<z.ZodObject<{
1326
+ field: z.ZodOptional<z.ZodString>;
1327
+ kind: z.ZodEnum<{
1328
+ provide_input: "provide_input";
1329
+ read_status: "read_status";
1330
+ reconnect: "reconnect";
1331
+ handoff: "handoff";
1332
+ }>;
1333
+ reason: z.ZodOptional<z.ZodString>;
1334
+ }, z.core.$strict>>;
1335
+ prerequisite: z.ZodOptional<z.ZodString>;
1336
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
1337
+ retryable: z.ZodOptional<z.ZodBoolean>;
1338
+ screeningResult: z.ZodOptional<z.ZodString>;
1339
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1340
+ kind: z.ZodOptional<z.ZodEnum<{
1341
+ unknown: "unknown";
1342
+ validation: "validation";
1343
+ business: "business";
1344
+ platform: "platform";
1345
+ }>>;
1346
+ message: z.ZodOptional<z.ZodString>;
937
1347
  }, z.core.$strict>;
938
1348
  readonly readOnlyHint: true;
939
1349
  readonly schema: z.ZodObject<{
@@ -944,8 +1354,8 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
944
1354
  }>>;
945
1355
  onboardingAttemptId: z.ZodOptional<z.ZodString>;
946
1356
  onboardingFlow: z.ZodOptional<z.ZodEnum<{
947
- meta: "meta";
948
1357
  youtube: "youtube";
1358
+ meta: "meta";
949
1359
  }>>;
950
1360
  }, z.core.$strict>;
951
1361
  readonly title: "Get Platform Status";
@@ -955,44 +1365,48 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
955
1365
  readonly name: "dynamoi_list_available_countries";
956
1366
  readonly openWorldHint: false;
957
1367
  readonly outputSchema: z.ZodObject<{
1368
+ status: z.ZodEnum<{
1369
+ success: "success";
1370
+ partial_success: "partial_success";
1371
+ error: "error";
1372
+ }>;
958
1373
  code: z.ZodOptional<z.ZodEnum<{
959
1374
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1375
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
960
1376
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
961
1377
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
962
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
963
- OUTPUT_INVALID: "OUTPUT_INVALID";
1378
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1379
+ STATE_CONFLICT: "STATE_CONFLICT";
964
1380
  QUOTE_CHANGED: "QUOTE_CHANGED";
965
1381
  RATE_LIMITED: "RATE_LIMITED";
966
- STATE_CONFLICT: "STATE_CONFLICT";
1382
+ OUTPUT_INVALID: "OUTPUT_INVALID";
967
1383
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
968
1384
  }>>;
1385
+ draftId: z.ZodOptional<z.ZodString>;
1386
+ failureStage: z.ZodOptional<z.ZodString>;
969
1387
  field: z.ZodOptional<z.ZodString>;
970
1388
  nextAction: z.ZodOptional<z.ZodObject<{
971
1389
  field: z.ZodOptional<z.ZodString>;
972
1390
  kind: z.ZodEnum<{
973
- handoff: "handoff";
974
1391
  provide_input: "provide_input";
975
1392
  read_status: "read_status";
976
1393
  reconnect: "reconnect";
1394
+ handoff: "handoff";
977
1395
  }>;
978
1396
  reason: z.ZodOptional<z.ZodString>;
979
1397
  }, z.core.$strict>>;
980
1398
  prerequisite: z.ZodOptional<z.ZodString>;
981
1399
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
982
1400
  retryable: z.ZodOptional<z.ZodBoolean>;
1401
+ screeningResult: z.ZodOptional<z.ZodString>;
983
1402
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
984
1403
  kind: z.ZodOptional<z.ZodEnum<{
985
- business: "business";
986
- platform: "platform";
987
1404
  unknown: "unknown";
988
1405
  validation: "validation";
1406
+ business: "business";
1407
+ platform: "platform";
989
1408
  }>>;
990
1409
  message: z.ZodOptional<z.ZodString>;
991
- status: z.ZodEnum<{
992
- error: "error";
993
- partial_success: "partial_success";
994
- success: "success";
995
- }>;
996
1410
  }, z.core.$strict>;
997
1411
  readonly readOnlyHint: true;
998
1412
  readonly schema: z.ZodObject<{
@@ -1010,52 +1424,57 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1010
1424
  }, z.core.$strict>;
1011
1425
  readonly title: "List Available Countries";
1012
1426
  }, {
1013
- readonly description: "Use this when the user is planning a campaign and wants to know if the proposed inputs are ready before dynamoi_launch_campaign. This validates readiness and targeting without creating a campaign. Do not use this to create or mutate campaigns.";
1427
+ readonly description: "Use this when a musician wants to promote a new single or release with ads (\"promote my new single\", \"run ads for my song\"): it checks whether a Smart Campaign or YouTube campaign is ready before dynamoi_launch_campaign. This validates readiness and targeting without creating a campaign. Complete budget inputs also return the shared, nonbinding campaign funding preview with known or unavailable credit coverage, card upper bounds and expiry timing. For TOTAL budgets the preview describes total-daily funding for web and native creation; MCP TOTAL launch uses existing credits only, cannot authorize card funding, and does not accept the preview's total-daily consent. Do not use this to create or mutate campaigns.";
1014
1428
  readonly destructiveHint: false;
1015
1429
  readonly name: "dynamoi_get_campaign_readiness";
1016
1430
  readonly openWorldHint: false;
1017
1431
  readonly outputSchema: z.ZodObject<{
1432
+ status: z.ZodEnum<{
1433
+ success: "success";
1434
+ partial_success: "partial_success";
1435
+ error: "error";
1436
+ }>;
1018
1437
  code: z.ZodOptional<z.ZodEnum<{
1019
1438
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1439
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1020
1440
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
1021
1441
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
1022
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1023
- OUTPUT_INVALID: "OUTPUT_INVALID";
1442
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1443
+ STATE_CONFLICT: "STATE_CONFLICT";
1024
1444
  QUOTE_CHANGED: "QUOTE_CHANGED";
1025
1445
  RATE_LIMITED: "RATE_LIMITED";
1026
- STATE_CONFLICT: "STATE_CONFLICT";
1446
+ OUTPUT_INVALID: "OUTPUT_INVALID";
1027
1447
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
1028
1448
  }>>;
1449
+ draftId: z.ZodOptional<z.ZodString>;
1450
+ failureStage: z.ZodOptional<z.ZodString>;
1029
1451
  field: z.ZodOptional<z.ZodString>;
1030
1452
  nextAction: z.ZodOptional<z.ZodObject<{
1031
1453
  field: z.ZodOptional<z.ZodString>;
1032
1454
  kind: z.ZodEnum<{
1033
- handoff: "handoff";
1034
1455
  provide_input: "provide_input";
1035
1456
  read_status: "read_status";
1036
1457
  reconnect: "reconnect";
1458
+ handoff: "handoff";
1037
1459
  }>;
1038
1460
  reason: z.ZodOptional<z.ZodString>;
1039
1461
  }, z.core.$strict>>;
1040
1462
  prerequisite: z.ZodOptional<z.ZodString>;
1041
1463
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
1042
1464
  retryable: z.ZodOptional<z.ZodBoolean>;
1465
+ screeningResult: z.ZodOptional<z.ZodString>;
1043
1466
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1044
1467
  kind: z.ZodOptional<z.ZodEnum<{
1045
- business: "business";
1046
- platform: "platform";
1047
1468
  unknown: "unknown";
1048
1469
  validation: "validation";
1470
+ business: "business";
1471
+ platform: "platform";
1049
1472
  }>>;
1050
1473
  message: z.ZodOptional<z.ZodString>;
1051
- status: z.ZodEnum<{
1052
- error: "error";
1053
- partial_success: "partial_success";
1054
- success: "success";
1055
- }>;
1056
1474
  }, z.core.$strict>;
1057
1475
  readonly readOnlyHint: true;
1058
1476
  readonly schema: z.ZodObject<{
1477
+ adCopy: z.ZodOptional<z.ZodString>;
1059
1478
  artistId: z.ZodString;
1060
1479
  budgetAmount: z.ZodOptional<z.ZodNumber>;
1061
1480
  budgetType: z.ZodOptional<z.ZodEnum<{
@@ -1067,9 +1486,9 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1067
1486
  YOUTUBE: "YOUTUBE";
1068
1487
  }>;
1069
1488
  contentType: z.ZodOptional<z.ZodEnum<{
1489
+ TRACK: "TRACK";
1070
1490
  ALBUM: "ALBUM";
1071
1491
  PLAYLIST: "PLAYLIST";
1072
- TRACK: "TRACK";
1073
1492
  VIDEO: "VIDEO";
1074
1493
  }>>;
1075
1494
  endDate: z.ZodOptional<z.ZodString>;
@@ -1083,58 +1502,77 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1083
1502
  }, z.core.$strict>>>;
1084
1503
  mediaAssetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1085
1504
  spotifyUrl: z.ZodOptional<z.ZodString>;
1505
+ useAiGeneratedCopy: z.ZodOptional<z.ZodBoolean>;
1506
+ youtubeEntries: z.ZodOptional<z.ZodArray<z.ZodObject<{
1507
+ playlistId: z.ZodOptional<z.ZodString>;
1508
+ videoId: z.ZodString;
1509
+ }, z.core.$strict>>>;
1510
+ youtubePlaylistId: z.ZodOptional<z.ZodString>;
1511
+ youtubeStrategy: z.ZodOptional<z.ZodEnum<{
1512
+ CHEAPEST_VIEWS: "CHEAPEST_VIEWS";
1513
+ ORGANIC_VIEWS: "ORGANIC_VIEWS";
1514
+ SUBSCRIBERS: "SUBSCRIBERS";
1515
+ ORGANIC_VIEWS_AND_SUBSCRIBERS: "ORGANIC_VIEWS_AND_SUBSCRIBERS";
1516
+ ADSENSE_ROI: "ADSENSE_ROI";
1517
+ }>>;
1086
1518
  youtubeVideoId: z.ZodOptional<z.ZodString>;
1087
1519
  }, z.core.$strict>;
1088
1520
  readonly title: "Get Campaign Readiness";
1089
1521
  }];
1090
1522
  export declare const PHASE_ONBOARDING_TOOL_DEFINITIONS: readonly [{
1091
- readonly description: "Use this when the user is ready to link a YouTube channel to one Dynamoi artist from chat. Set purpose=distribution_identity for the least-privilege identity connection required by a distribution application; that flow does not require advertising billing or Google Ads linking, and its result is checked with dynamoi_get_distribution_application. Use purpose=advertising (the default) for managed YouTube promotion, then poll dynamoi_get_platform_status until platforms.youtube.connected is true. The tool returns a Google OAuth URL bound to the signed-in user and artist.";
1523
+ readonly description: "Use this when the user wants to grow a YouTube channel with Dynamoi campaigns or is ready to link a channel to one Dynamoi artist from chat. Set purpose=distribution_identity for the least-privilege identity connection required by a distribution application; that flow does not require advertising billing or Google Ads linking, and its result is checked with dynamoi_get_distribution_application. Use purpose=advertising (the default) for managed YouTube promotion, then poll dynamoi_get_platform_status until platforms.youtube.connected is true. The tool returns a Google OAuth URL bound to the signed-in user and artist.";
1092
1524
  readonly destructiveHint: false;
1093
1525
  readonly idempotentHint: true;
1094
1526
  readonly name: "dynamoi_start_youtube_channel_link";
1095
1527
  readonly openWorldHint: true;
1096
1528
  readonly outputSchema: z.ZodObject<{
1529
+ status: z.ZodEnum<{
1530
+ success: "success";
1531
+ partial_success: "partial_success";
1532
+ error: "error";
1533
+ }>;
1097
1534
  code: z.ZodOptional<z.ZodEnum<{
1098
1535
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1536
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1099
1537
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
1100
1538
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
1101
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1102
- OUTPUT_INVALID: "OUTPUT_INVALID";
1539
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1540
+ STATE_CONFLICT: "STATE_CONFLICT";
1103
1541
  QUOTE_CHANGED: "QUOTE_CHANGED";
1104
1542
  RATE_LIMITED: "RATE_LIMITED";
1105
- STATE_CONFLICT: "STATE_CONFLICT";
1543
+ OUTPUT_INVALID: "OUTPUT_INVALID";
1106
1544
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
1107
1545
  }>>;
1546
+ draftId: z.ZodOptional<z.ZodString>;
1547
+ failureStage: z.ZodOptional<z.ZodString>;
1108
1548
  field: z.ZodOptional<z.ZodString>;
1109
1549
  nextAction: z.ZodOptional<z.ZodObject<{
1110
1550
  field: z.ZodOptional<z.ZodString>;
1111
1551
  kind: z.ZodEnum<{
1112
- handoff: "handoff";
1113
1552
  provide_input: "provide_input";
1114
1553
  read_status: "read_status";
1115
1554
  reconnect: "reconnect";
1555
+ handoff: "handoff";
1116
1556
  }>;
1117
1557
  reason: z.ZodOptional<z.ZodString>;
1118
1558
  }, z.core.$strict>>;
1119
1559
  prerequisite: z.ZodOptional<z.ZodString>;
1120
1560
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
1121
1561
  retryable: z.ZodOptional<z.ZodBoolean>;
1562
+ screeningResult: z.ZodOptional<z.ZodString>;
1122
1563
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1123
1564
  kind: z.ZodOptional<z.ZodEnum<{
1124
- business: "business";
1125
- platform: "platform";
1126
1565
  unknown: "unknown";
1127
1566
  validation: "validation";
1567
+ business: "business";
1568
+ platform: "platform";
1128
1569
  }>>;
1129
1570
  message: z.ZodOptional<z.ZodString>;
1130
- status: z.ZodEnum<{
1131
- error: "error";
1132
- partial_success: "partial_success";
1133
- success: "success";
1134
- }>;
1135
1571
  }, z.core.$strict>;
1136
1572
  readonly readOnlyHint: false;
1137
- readonly schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1573
+ readonly schema: z.ZodObject<Readonly<{
1574
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1575
+ }>, z.core.$strip>;
1138
1576
  readonly title: "Start YouTube Channel Link";
1139
1577
  }, {
1140
1578
  readonly description: "Use this when the user is ready to connect a Facebook Page and Instagram professional account to one Dynamoi artist. Set purpose=distribution_identity for the least-privilege identity connection required by a distribution application; that flow does not require advertising billing, and its result is checked with dynamoi_get_distribution_application. Use purpose=advertising (the default) for Spotify Smart Campaigns; advertising requires active billing and is checked with dynamoi_get_platform_status until platforms.meta.status is oauth_complete, partnership_pending, or partnership_active. Advertising returns billing_required when inactive and billing_check_unavailable for a transient verification failure. This returns a signed Meta OAuth URL and may include a Page/Instagram selection step.";
@@ -1143,103 +1581,177 @@ export declare const PHASE_ONBOARDING_TOOL_DEFINITIONS: readonly [{
1143
1581
  readonly name: "dynamoi_start_meta_connection";
1144
1582
  readonly openWorldHint: true;
1145
1583
  readonly outputSchema: z.ZodObject<{
1584
+ status: z.ZodEnum<{
1585
+ success: "success";
1586
+ partial_success: "partial_success";
1587
+ error: "error";
1588
+ }>;
1146
1589
  code: z.ZodOptional<z.ZodEnum<{
1147
1590
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1591
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1148
1592
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
1149
1593
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
1150
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1151
- OUTPUT_INVALID: "OUTPUT_INVALID";
1594
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1595
+ STATE_CONFLICT: "STATE_CONFLICT";
1152
1596
  QUOTE_CHANGED: "QUOTE_CHANGED";
1153
1597
  RATE_LIMITED: "RATE_LIMITED";
1154
- STATE_CONFLICT: "STATE_CONFLICT";
1598
+ OUTPUT_INVALID: "OUTPUT_INVALID";
1155
1599
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
1156
1600
  }>>;
1601
+ draftId: z.ZodOptional<z.ZodString>;
1602
+ failureStage: z.ZodOptional<z.ZodString>;
1157
1603
  field: z.ZodOptional<z.ZodString>;
1158
1604
  nextAction: z.ZodOptional<z.ZodObject<{
1159
1605
  field: z.ZodOptional<z.ZodString>;
1160
1606
  kind: z.ZodEnum<{
1161
- handoff: "handoff";
1162
1607
  provide_input: "provide_input";
1163
1608
  read_status: "read_status";
1164
1609
  reconnect: "reconnect";
1610
+ handoff: "handoff";
1165
1611
  }>;
1166
1612
  reason: z.ZodOptional<z.ZodString>;
1167
1613
  }, z.core.$strict>>;
1168
1614
  prerequisite: z.ZodOptional<z.ZodString>;
1169
1615
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
1170
1616
  retryable: z.ZodOptional<z.ZodBoolean>;
1617
+ screeningResult: z.ZodOptional<z.ZodString>;
1171
1618
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1172
1619
  kind: z.ZodOptional<z.ZodEnum<{
1173
- business: "business";
1174
- platform: "platform";
1175
1620
  unknown: "unknown";
1176
1621
  validation: "validation";
1622
+ business: "business";
1623
+ platform: "platform";
1177
1624
  }>>;
1178
1625
  message: z.ZodOptional<z.ZodString>;
1179
- status: z.ZodEnum<{
1180
- error: "error";
1181
- partial_success: "partial_success";
1182
- success: "success";
1183
- }>;
1184
1626
  }, z.core.$strict>;
1185
1627
  readonly readOnlyHint: false;
1186
- readonly schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1628
+ readonly schema: z.ZodObject<Readonly<{
1629
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1630
+ }>, z.core.$strip>;
1187
1631
  readonly title: "Start Meta Connection";
1188
1632
  }];
1189
1633
  export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
1190
- readonly description: "Use this when the user explicitly wants to pause, resume, or update the budget/end date for an existing campaign. Set action to pause, resume, or update_budget. Pause takes effect immediately. For resume or update_budget on a campaign that needs automatic daily card funding, first show the user this exact consent copy: \"Authorize automatic card funding for this campaign's daily budget, after available credits and campaign funds. Fund the first approximately 24 hours now and each following 24-hour window up to one hour before it starts, until I pause or end the campaign. Unused funds become available after delivery is reconciled.\" — then pass authorizeAutomaticDailyFunding=true with the exact acceptedConsentVersion (\"managed-ads-prospective-daily-v2\") and acceptedConsentCopyHash (\"06bbd517d58f345a767be9aaeb59f4959d11c6db16e7d07cb889f3ce7950f805\") plus the request's clientRequestId. Without them, a resume that needs card funding is refused with: \"Review and accept the daily funding authorization to resume this campaign.\" When retrying the same resume, reuse the same clientRequestId. Do not use this for inspection-only questions; this changes live campaign workflow state or external campaign settings.";
1634
+ readonly description: "Inspect an artist's open YouTube draft with action=inspect after an interrupted launch. Returns completed steps, screening, failure stage, and updatedAt. Use action=discard only when the user explicitly asks to discard that draft, supplying its campaignId, expectedUpdatedAt from inspect, and userIntentSummary. Discard cannot be undone.";
1191
1635
  readonly destructiveHint: true;
1192
- readonly idempotentHint: true;
1193
- readonly name: "dynamoi_update_campaign";
1194
- readonly openWorldHint: true;
1636
+ readonly name: "dynamoi_manage_youtube_draft";
1637
+ readonly openWorldHint: false;
1195
1638
  readonly outputSchema: z.ZodObject<{
1639
+ status: z.ZodEnum<{
1640
+ success: "success";
1641
+ partial_success: "partial_success";
1642
+ error: "error";
1643
+ }>;
1196
1644
  code: z.ZodOptional<z.ZodEnum<{
1197
1645
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1646
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1198
1647
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
1199
1648
  INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
1200
- INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1201
- OUTPUT_INVALID: "OUTPUT_INVALID";
1649
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1650
+ STATE_CONFLICT: "STATE_CONFLICT";
1202
1651
  QUOTE_CHANGED: "QUOTE_CHANGED";
1203
1652
  RATE_LIMITED: "RATE_LIMITED";
1204
- STATE_CONFLICT: "STATE_CONFLICT";
1653
+ OUTPUT_INVALID: "OUTPUT_INVALID";
1205
1654
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
1206
1655
  }>>;
1656
+ draftId: z.ZodOptional<z.ZodString>;
1657
+ failureStage: z.ZodOptional<z.ZodString>;
1207
1658
  field: z.ZodOptional<z.ZodString>;
1208
1659
  nextAction: z.ZodOptional<z.ZodObject<{
1209
1660
  field: z.ZodOptional<z.ZodString>;
1210
1661
  kind: z.ZodEnum<{
1211
- handoff: "handoff";
1212
1662
  provide_input: "provide_input";
1213
1663
  read_status: "read_status";
1214
1664
  reconnect: "reconnect";
1665
+ handoff: "handoff";
1215
1666
  }>;
1216
1667
  reason: z.ZodOptional<z.ZodString>;
1217
1668
  }, z.core.$strict>>;
1218
1669
  prerequisite: z.ZodOptional<z.ZodString>;
1219
1670
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
1220
1671
  retryable: z.ZodOptional<z.ZodBoolean>;
1672
+ screeningResult: z.ZodOptional<z.ZodString>;
1221
1673
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1222
1674
  kind: z.ZodOptional<z.ZodEnum<{
1223
- business: "business";
1224
- platform: "platform";
1225
1675
  unknown: "unknown";
1226
1676
  validation: "validation";
1677
+ business: "business";
1678
+ platform: "platform";
1227
1679
  }>>;
1228
1680
  message: z.ZodOptional<z.ZodString>;
1681
+ }, z.core.$strict>;
1682
+ readonly readOnlyHint: false;
1683
+ readonly schema: z.ZodObject<{
1684
+ action: z.ZodEnum<{
1685
+ inspect: "inspect";
1686
+ discard: "discard";
1687
+ }>;
1688
+ artistId: z.ZodString;
1689
+ campaignId: z.ZodOptional<z.ZodString>;
1690
+ expectedUpdatedAt: z.ZodOptional<z.ZodString>;
1691
+ userIntentSummary: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1692
+ }, z.core.$strict>;
1693
+ readonly title: "Manage YouTube Draft";
1694
+ }, {
1695
+ readonly description: "Use only when the user explicitly requests a campaign change. Resume isn't available for fixed-flight YouTube campaigns. Duplicate the campaign to relaunch it. Actions: pause, resume, update_budget, update_end_date (DAILY or TOTAL budget; TOTAL end-date extensions may require the same funding consent fields as update_budget or resume), update_location (GLOBAL or catalog-valid countries), change_strategy (managed YouTube Demand Gen), update_goals (YouTube optimization toggles), archive (never deletes). Inspect the campaign first and supply expectedCurrentStatus where possible. For resume, update_budget, or a TOTAL update_end_date that needs automatic daily card funding, first show the user the exact consent copy for the campaign's budget type, then pass the request's clientRequestId and, for DAILY, authorizeAutomaticDailyFunding=true with acceptedConsentVersion and acceptedConsentCopyHash: \"Charge my default payment method daily for this campaign's budget, after my available credits, until I pause or end it.\" (version \"managed-ads-prospective-daily-v7\", hash \"f49b33a4f7e8aa3cc814d5057d03e97eaa0c35a9f3f2bc0315dbd031efa0f356\"); for TOTAL, acceptedTotalConsentVersion and acceptedTotalConsentCopyHash: \"Charge my default payment method daily for this campaign, after my available credits, up to my total budget.\" (version \"managed-ads-total-daily-v3\", hash \"8bece5f58e0c94b04b35ac1a98f0e8a142ed968bbe34dcc0d51fe52e2c0d75bd\"). A budget type refuses the other's consent. Without them, a resume that needs card funding is refused with: \"Review and accept the daily funding authorization to resume this campaign.\" When retrying the same action, reuse the same clientRequestId.";
1696
+ readonly destructiveHint: true;
1697
+ readonly idempotentHint: true;
1698
+ readonly name: "dynamoi_update_campaign";
1699
+ readonly openWorldHint: true;
1700
+ readonly outputSchema: z.ZodObject<{
1229
1701
  status: z.ZodEnum<{
1230
- error: "error";
1231
- partial_success: "partial_success";
1232
1702
  success: "success";
1703
+ partial_success: "partial_success";
1704
+ error: "error";
1233
1705
  }>;
1706
+ code: z.ZodOptional<z.ZodEnum<{
1707
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1708
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1709
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
1710
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
1711
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1712
+ STATE_CONFLICT: "STATE_CONFLICT";
1713
+ QUOTE_CHANGED: "QUOTE_CHANGED";
1714
+ RATE_LIMITED: "RATE_LIMITED";
1715
+ OUTPUT_INVALID: "OUTPUT_INVALID";
1716
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
1717
+ }>>;
1718
+ draftId: z.ZodOptional<z.ZodString>;
1719
+ failureStage: z.ZodOptional<z.ZodString>;
1720
+ field: z.ZodOptional<z.ZodString>;
1721
+ nextAction: z.ZodOptional<z.ZodObject<{
1722
+ field: z.ZodOptional<z.ZodString>;
1723
+ kind: z.ZodEnum<{
1724
+ provide_input: "provide_input";
1725
+ read_status: "read_status";
1726
+ reconnect: "reconnect";
1727
+ handoff: "handoff";
1728
+ }>;
1729
+ reason: z.ZodOptional<z.ZodString>;
1730
+ }, z.core.$strict>>;
1731
+ prerequisite: z.ZodOptional<z.ZodString>;
1732
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
1733
+ retryable: z.ZodOptional<z.ZodBoolean>;
1734
+ screeningResult: z.ZodOptional<z.ZodString>;
1735
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1736
+ kind: z.ZodOptional<z.ZodEnum<{
1737
+ unknown: "unknown";
1738
+ validation: "validation";
1739
+ business: "business";
1740
+ platform: "platform";
1741
+ }>>;
1742
+ message: z.ZodOptional<z.ZodString>;
1234
1743
  }, z.core.$strict>;
1235
1744
  readonly readOnlyHint: false;
1236
1745
  readonly schema: z.ZodObject<{
1237
- acceptedConsentCopyHash: z.ZodOptional<z.ZodLiteral<"06bbd517d58f345a767be9aaeb59f4959d11c6db16e7d07cb889f3ce7950f805">>;
1238
- acceptedConsentVersion: z.ZodOptional<z.ZodLiteral<"managed-ads-prospective-daily-v2">>;
1239
1746
  action: z.ZodEnum<{
1240
1747
  pause: "pause";
1241
1748
  resume: "resume";
1242
1749
  update_budget: "update_budget";
1750
+ change_strategy: "change_strategy";
1751
+ update_location: "update_location";
1752
+ update_end_date: "update_end_date";
1753
+ archive: "archive";
1754
+ update_goals: "update_goals";
1243
1755
  }>;
1244
1756
  authorizeAutomaticDailyFunding: z.ZodOptional<z.ZodLiteral<true>>;
1245
1757
  budgetAmount: z.ZodOptional<z.ZodNumber>;
@@ -1250,18 +1762,36 @@ export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
1250
1762
  expectedCurrentEndDate: z.ZodOptional<z.ZodString>;
1251
1763
  expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
1252
1764
  ACTIVE: "ACTIVE";
1765
+ PAUSED: "PAUSED";
1253
1766
  ARCHIVED: "ARCHIVED";
1254
1767
  AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
1255
1768
  CONTENT_VALIDATION: "CONTENT_VALIDATION";
1256
1769
  DEPLOYING: "DEPLOYING";
1257
- ENDED: "ENDED";
1258
- FAILED: "FAILED";
1259
- PAUSED: "PAUSED";
1260
1770
  READY_FOR_REVIEW: "READY_FOR_REVIEW";
1261
1771
  SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
1772
+ FAILED: "FAILED";
1773
+ ENDED: "ENDED";
1774
+ }>>;
1775
+ locationTargets: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1776
+ mode: z.ZodLiteral<"GLOBAL">;
1777
+ }, z.core.$strict>, z.ZodObject<{
1778
+ countries: z.ZodArray<z.ZodString>;
1779
+ mode: z.ZodLiteral<"COUNTRIES">;
1780
+ }, z.core.$strict>]>>;
1781
+ optimizeForOrganicViews: z.ZodOptional<z.ZodBoolean>;
1782
+ optimizeForSubscribers: z.ZodOptional<z.ZodBoolean>;
1783
+ strategy: z.ZodOptional<z.ZodEnum<{
1784
+ CHEAPEST_VIEWS: "CHEAPEST_VIEWS";
1785
+ ORGANIC_VIEWS: "ORGANIC_VIEWS";
1786
+ SUBSCRIBERS: "SUBSCRIBERS";
1787
+ ORGANIC_VIEWS_AND_SUBSCRIBERS: "ORGANIC_VIEWS_AND_SUBSCRIBERS";
1788
+ ADSENSE_ROI: "ADSENSE_ROI";
1262
1789
  }>>;
1263
1790
  userIntentSummary: z.ZodOptional<z.ZodString>;
1791
+ acceptedTotalConsentCopyHash: z.ZodOptional<z.ZodLiteral<"8bece5f58e0c94b04b35ac1a98f0e8a142ed968bbe34dcc0d51fe52e2c0d75bd">>;
1792
+ acceptedTotalConsentVersion: z.ZodOptional<z.ZodLiteral<"managed-ads-total-daily-v3">>;
1793
+ acceptedConsentCopyHash: z.ZodOptional<z.ZodLiteral<"f49b33a4f7e8aa3cc814d5057d03e97eaa0c35a9f3f2bc0315dbd031efa0f356">>;
1794
+ acceptedConsentVersion: z.ZodOptional<z.ZodLiteral<"managed-ads-prospective-daily-v7">>;
1264
1795
  }, z.core.$strict>;
1265
1796
  readonly title: "Update Campaign";
1266
1797
  }];
1267
- //# sourceMappingURL=tools.d.ts.map