@apex-inc/mcp-server 0.74.0 → 0.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/api-client.d.ts +13 -19
  2. package/dist/api-client.d.ts.map +1 -1
  3. package/dist/api-client.js +173 -59
  4. package/dist/api-client.js.map +1 -1
  5. package/dist/auth.d.ts.map +1 -1
  6. package/dist/auth.js +7 -6
  7. package/dist/auth.js.map +1 -1
  8. package/dist/fetch-timeout.d.ts +23 -0
  9. package/dist/fetch-timeout.d.ts.map +1 -0
  10. package/dist/fetch-timeout.js +78 -0
  11. package/dist/fetch-timeout.js.map +1 -0
  12. package/dist/hosted.d.ts +28 -0
  13. package/dist/hosted.d.ts.map +1 -0
  14. package/dist/hosted.js +56 -0
  15. package/dist/hosted.js.map +1 -0
  16. package/dist/index.js +40 -118
  17. package/dist/index.js.map +1 -1
  18. package/dist/live-test-files.d.ts +35 -0
  19. package/dist/live-test-files.d.ts.map +1 -0
  20. package/dist/live-test-files.js +114 -0
  21. package/dist/live-test-files.js.map +1 -0
  22. package/dist/live-test-guard.d.ts.map +1 -1
  23. package/dist/live-test-guard.js +7 -1
  24. package/dist/live-test-guard.js.map +1 -1
  25. package/dist/request-context.d.ts +38 -0
  26. package/dist/request-context.d.ts.map +1 -0
  27. package/dist/request-context.js +11 -0
  28. package/dist/request-context.js.map +1 -0
  29. package/dist/server-factory.d.ts +18 -0
  30. package/dist/server-factory.d.ts.map +1 -0
  31. package/dist/server-factory.js +221 -0
  32. package/dist/server-factory.js.map +1 -0
  33. package/dist/setup-catchup-tools.d.ts +4 -0
  34. package/dist/setup-catchup-tools.d.ts.map +1 -1
  35. package/dist/setup-catchup-tools.js +16 -5
  36. package/dist/setup-catchup-tools.js.map +1 -1
  37. package/dist/smoke-tools.d.ts.map +1 -1
  38. package/dist/smoke-tools.js +2 -0
  39. package/dist/smoke-tools.js.map +1 -1
  40. package/dist/tool-catalog.d.ts +2 -0
  41. package/dist/tool-catalog.d.ts.map +1 -1
  42. package/dist/tool-catalog.js +6 -1
  43. package/dist/tool-catalog.js.map +1 -1
  44. package/dist/tool-groups.d.ts.map +1 -1
  45. package/dist/tool-groups.js +14 -0
  46. package/dist/tool-groups.js.map +1 -1
  47. package/dist/tool-shared.d.ts +2 -1
  48. package/dist/tool-shared.d.ts.map +1 -1
  49. package/dist/tool-shared.js +17 -2
  50. package/dist/tool-shared.js.map +1 -1
  51. package/dist/tools/adoption.d.ts.map +1 -1
  52. package/dist/tools/adoption.js +2 -1
  53. package/dist/tools/adoption.js.map +1 -1
  54. package/dist/tools/apex-campaigns.d.ts +390 -0
  55. package/dist/tools/apex-campaigns.d.ts.map +1 -1
  56. package/dist/tools/apex-campaigns.js +253 -1
  57. package/dist/tools/apex-campaigns.js.map +1 -1
  58. package/dist/tools/context.d.ts +2 -2
  59. package/dist/tools/experiments.d.ts +69 -1
  60. package/dist/tools/experiments.d.ts.map +1 -1
  61. package/dist/tools/experiments.js +88 -24
  62. package/dist/tools/experiments.js.map +1 -1
  63. package/dist/tools/letters.d.ts +423 -65
  64. package/dist/tools/letters.d.ts.map +1 -1
  65. package/dist/tools/letters.js +383 -42
  66. package/dist/tools/letters.js.map +1 -1
  67. package/dist/tools/measurement.d.ts +80 -38
  68. package/dist/tools/measurement.d.ts.map +1 -1
  69. package/dist/tools/measurement.js +151 -13
  70. package/dist/tools/measurement.js.map +1 -1
  71. package/dist/tools.d.ts +1047 -157
  72. package/dist/tools.d.ts.map +1 -1
  73. package/package.json +11 -1
  74. package/skills/apex-growth-intelligence/SKILL.md +4 -0
  75. package/skills/apex-growth-tracking/SKILL.md +1 -1
  76. package/skills/apex-integration-cookbook/SKILL.md +23 -3
  77. package/skills/apex-setup/SKILL.md +1 -1
  78. package/skills/apex-spec/SKILL.md +6 -1
package/dist/tools.d.ts CHANGED
@@ -348,22 +348,26 @@ export declare const toolDefinitions: {
348
348
  addMyAddress: import("zod").ZodOptional<import("zod").ZodBoolean>;
349
349
  addresses: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
350
350
  browserLink: import("zod").ZodOptional<import("zod").ZodEnum<["create", "remove"]>>;
351
+ excludeIdPatterns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
351
352
  host: import("zod").ZodOptional<import("zod").ZodString>;
352
353
  }, "strip", import("zod").ZodTypeAny, {
353
354
  host?: string | undefined;
354
355
  addMyAddress?: boolean | undefined;
355
356
  addresses?: string[] | undefined;
356
357
  browserLink?: "create" | "remove" | undefined;
358
+ excludeIdPatterns?: string[] | undefined;
357
359
  }, {
358
360
  host?: string | undefined;
359
361
  addMyAddress?: boolean | undefined;
360
362
  addresses?: string[] | undefined;
361
363
  browserLink?: "create" | "remove" | undefined;
364
+ excludeIdPatterns?: string[] | undefined;
362
365
  }>;
363
366
  handler: (args: {
364
367
  addMyAddress?: boolean;
365
368
  addresses?: string[];
366
369
  browserLink?: "create" | "remove";
370
+ excludeIdPatterns?: string[];
367
371
  host?: string;
368
372
  }) => Promise<{
369
373
  content: {
@@ -1990,11 +1994,11 @@ export declare const toolDefinitions: {
1990
1994
  name: import("zod").ZodOptional<import("zod").ZodString>;
1991
1995
  orgId: import("zod").ZodOptional<import("zod").ZodString>;
1992
1996
  }, "strip", import("zod").ZodTypeAny, {
1993
- name?: string | undefined;
1994
1997
  orgId?: string | undefined;
1995
- }, {
1996
1998
  name?: string | undefined;
1999
+ }, {
1997
2000
  orgId?: string | undefined;
2001
+ name?: string | undefined;
1998
2002
  }>;
1999
2003
  handler: ({ name, orgId }: {
2000
2004
  name?: string;
@@ -2696,6 +2700,43 @@ export declare const toolDefinitions: {
2696
2700
  } & {
2697
2701
  group: ToolGroup;
2698
2702
  };
2703
+ update_apex_campaign: {
2704
+ description: string;
2705
+ schema: import("zod").ZodObject<{
2706
+ campaignId: import("zod").ZodString;
2707
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2708
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2709
+ startDate: import("zod").ZodOptional<import("zod").ZodString>;
2710
+ endDate: import("zod").ZodOptional<import("zod").ZodString>;
2711
+ }, "strip", import("zod").ZodTypeAny, {
2712
+ campaignId: string;
2713
+ name?: string | undefined;
2714
+ description?: string | undefined;
2715
+ startDate?: string | undefined;
2716
+ endDate?: string | undefined;
2717
+ }, {
2718
+ campaignId: string;
2719
+ name?: string | undefined;
2720
+ description?: string | undefined;
2721
+ startDate?: string | undefined;
2722
+ endDate?: string | undefined;
2723
+ }>;
2724
+ handler: (args: {
2725
+ campaignId: string;
2726
+ name?: string;
2727
+ description?: string;
2728
+ startDate?: string;
2729
+ endDate?: string;
2730
+ }) => Promise<{
2731
+ isError?: boolean | undefined;
2732
+ content: {
2733
+ type: "text";
2734
+ text: string;
2735
+ }[];
2736
+ }>;
2737
+ } & {
2738
+ group: ToolGroup;
2739
+ };
2699
2740
  set_campaign_steps: {
2700
2741
  description: string;
2701
2742
  schema: import("zod").ZodObject<{
@@ -2770,6 +2811,371 @@ export declare const toolDefinitions: {
2770
2811
  } & {
2771
2812
  group: ToolGroup;
2772
2813
  };
2814
+ get_campaign_journey: {
2815
+ description: string;
2816
+ schema: import("zod").ZodObject<{
2817
+ campaignId: import("zod").ZodString;
2818
+ }, "strip", import("zod").ZodTypeAny, {
2819
+ campaignId: string;
2820
+ }, {
2821
+ campaignId: string;
2822
+ }>;
2823
+ handler: (args: {
2824
+ campaignId: string;
2825
+ }) => Promise<{
2826
+ isError?: boolean | undefined;
2827
+ content: {
2828
+ type: "text";
2829
+ text: string;
2830
+ }[];
2831
+ }>;
2832
+ } & {
2833
+ group: ToolGroup;
2834
+ };
2835
+ update_campaign_journey: {
2836
+ description: string;
2837
+ schema: import("zod").ZodObject<{
2838
+ campaignId: import("zod").ZodString;
2839
+ edits: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<"op", [import("zod").ZodObject<{
2840
+ op: import("zod").ZodLiteral<"add_stage">;
2841
+ title: import("zod").ZodString;
2842
+ after_stage_id: import("zod").ZodOptional<import("zod").ZodString>;
2843
+ id: import("zod").ZodOptional<import("zod").ZodString>;
2844
+ }, "strip", import("zod").ZodTypeAny, {
2845
+ title: string;
2846
+ op: "add_stage";
2847
+ id?: string | undefined;
2848
+ after_stage_id?: string | undefined;
2849
+ }, {
2850
+ title: string;
2851
+ op: "add_stage";
2852
+ id?: string | undefined;
2853
+ after_stage_id?: string | undefined;
2854
+ }>, import("zod").ZodObject<{
2855
+ op: import("zod").ZodLiteral<"rename_stage">;
2856
+ stage_id: import("zod").ZodString;
2857
+ title: import("zod").ZodString;
2858
+ }, "strip", import("zod").ZodTypeAny, {
2859
+ title: string;
2860
+ op: "rename_stage";
2861
+ stage_id: string;
2862
+ }, {
2863
+ title: string;
2864
+ op: "rename_stage";
2865
+ stage_id: string;
2866
+ }>, import("zod").ZodObject<{
2867
+ op: import("zod").ZodLiteral<"remove_stage">;
2868
+ stage_id: import("zod").ZodString;
2869
+ }, "strip", import("zod").ZodTypeAny, {
2870
+ op: "remove_stage";
2871
+ stage_id: string;
2872
+ }, {
2873
+ op: "remove_stage";
2874
+ stage_id: string;
2875
+ }>, import("zod").ZodObject<{
2876
+ op: import("zod").ZodLiteral<"reorder_stages">;
2877
+ stage_ids: import("zod").ZodArray<import("zod").ZodString, "many">;
2878
+ }, "strip", import("zod").ZodTypeAny, {
2879
+ op: "reorder_stages";
2880
+ stage_ids: string[];
2881
+ }, {
2882
+ op: "reorder_stages";
2883
+ stage_ids: string[];
2884
+ }>, import("zod").ZodObject<{
2885
+ op: import("zod").ZodLiteral<"add_piece">;
2886
+ stage_id: import("zod").ZodString;
2887
+ piece: import("zod").ZodObject<{
2888
+ type: import("zod").ZodEnum<["post", "ad", "link", "page", "experiment", "key_event", "journey", "communication", "ad_send"]>;
2889
+ id: import("zod").ZodString;
2890
+ }, "strip", import("zod").ZodTypeAny, {
2891
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2892
+ id: string;
2893
+ }, {
2894
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2895
+ id: string;
2896
+ }>;
2897
+ }, "strip", import("zod").ZodTypeAny, {
2898
+ op: "add_piece";
2899
+ stage_id: string;
2900
+ piece: {
2901
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2902
+ id: string;
2903
+ };
2904
+ }, {
2905
+ op: "add_piece";
2906
+ stage_id: string;
2907
+ piece: {
2908
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2909
+ id: string;
2910
+ };
2911
+ }>, import("zod").ZodObject<{
2912
+ op: import("zod").ZodLiteral<"hide_piece">;
2913
+ stage_id: import("zod").ZodString;
2914
+ piece: import("zod").ZodObject<{
2915
+ type: import("zod").ZodEnum<["post", "ad", "link", "page", "experiment", "key_event", "journey", "communication", "ad_send"]>;
2916
+ id: import("zod").ZodString;
2917
+ }, "strip", import("zod").ZodTypeAny, {
2918
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2919
+ id: string;
2920
+ }, {
2921
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2922
+ id: string;
2923
+ }>;
2924
+ }, "strip", import("zod").ZodTypeAny, {
2925
+ op: "hide_piece";
2926
+ stage_id: string;
2927
+ piece: {
2928
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2929
+ id: string;
2930
+ };
2931
+ }, {
2932
+ op: "hide_piece";
2933
+ stage_id: string;
2934
+ piece: {
2935
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2936
+ id: string;
2937
+ };
2938
+ }>, import("zod").ZodObject<{
2939
+ op: import("zod").ZodLiteral<"unhide_piece">;
2940
+ stage_id: import("zod").ZodString;
2941
+ piece: import("zod").ZodObject<{
2942
+ type: import("zod").ZodEnum<["post", "ad", "link", "page", "experiment", "key_event", "journey", "communication", "ad_send"]>;
2943
+ id: import("zod").ZodString;
2944
+ }, "strip", import("zod").ZodTypeAny, {
2945
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2946
+ id: string;
2947
+ }, {
2948
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2949
+ id: string;
2950
+ }>;
2951
+ }, "strip", import("zod").ZodTypeAny, {
2952
+ op: "unhide_piece";
2953
+ stage_id: string;
2954
+ piece: {
2955
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2956
+ id: string;
2957
+ };
2958
+ }, {
2959
+ op: "unhide_piece";
2960
+ stage_id: string;
2961
+ piece: {
2962
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2963
+ id: string;
2964
+ };
2965
+ }>, import("zod").ZodObject<{
2966
+ op: import("zod").ZodLiteral<"move_piece">;
2967
+ from_stage_id: import("zod").ZodString;
2968
+ to_stage_id: import("zod").ZodString;
2969
+ piece: import("zod").ZodObject<{
2970
+ type: import("zod").ZodEnum<["post", "ad", "link", "page", "experiment", "key_event", "journey", "communication", "ad_send"]>;
2971
+ id: import("zod").ZodString;
2972
+ }, "strip", import("zod").ZodTypeAny, {
2973
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2974
+ id: string;
2975
+ }, {
2976
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2977
+ id: string;
2978
+ }>;
2979
+ }, "strip", import("zod").ZodTypeAny, {
2980
+ op: "move_piece";
2981
+ piece: {
2982
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2983
+ id: string;
2984
+ };
2985
+ from_stage_id: string;
2986
+ to_stage_id: string;
2987
+ }, {
2988
+ op: "move_piece";
2989
+ piece: {
2990
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
2991
+ id: string;
2992
+ };
2993
+ from_stage_id: string;
2994
+ to_stage_id: string;
2995
+ }>]>, "many">;
2996
+ }, "strip", import("zod").ZodTypeAny, {
2997
+ campaignId: string;
2998
+ edits: ({
2999
+ title: string;
3000
+ op: "add_stage";
3001
+ id?: string | undefined;
3002
+ after_stage_id?: string | undefined;
3003
+ } | {
3004
+ title: string;
3005
+ op: "rename_stage";
3006
+ stage_id: string;
3007
+ } | {
3008
+ op: "remove_stage";
3009
+ stage_id: string;
3010
+ } | {
3011
+ op: "reorder_stages";
3012
+ stage_ids: string[];
3013
+ } | {
3014
+ op: "add_piece";
3015
+ stage_id: string;
3016
+ piece: {
3017
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
3018
+ id: string;
3019
+ };
3020
+ } | {
3021
+ op: "hide_piece";
3022
+ stage_id: string;
3023
+ piece: {
3024
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
3025
+ id: string;
3026
+ };
3027
+ } | {
3028
+ op: "unhide_piece";
3029
+ stage_id: string;
3030
+ piece: {
3031
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
3032
+ id: string;
3033
+ };
3034
+ } | {
3035
+ op: "move_piece";
3036
+ piece: {
3037
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
3038
+ id: string;
3039
+ };
3040
+ from_stage_id: string;
3041
+ to_stage_id: string;
3042
+ })[];
3043
+ }, {
3044
+ campaignId: string;
3045
+ edits: ({
3046
+ title: string;
3047
+ op: "add_stage";
3048
+ id?: string | undefined;
3049
+ after_stage_id?: string | undefined;
3050
+ } | {
3051
+ title: string;
3052
+ op: "rename_stage";
3053
+ stage_id: string;
3054
+ } | {
3055
+ op: "remove_stage";
3056
+ stage_id: string;
3057
+ } | {
3058
+ op: "reorder_stages";
3059
+ stage_ids: string[];
3060
+ } | {
3061
+ op: "add_piece";
3062
+ stage_id: string;
3063
+ piece: {
3064
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
3065
+ id: string;
3066
+ };
3067
+ } | {
3068
+ op: "hide_piece";
3069
+ stage_id: string;
3070
+ piece: {
3071
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
3072
+ id: string;
3073
+ };
3074
+ } | {
3075
+ op: "unhide_piece";
3076
+ stage_id: string;
3077
+ piece: {
3078
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
3079
+ id: string;
3080
+ };
3081
+ } | {
3082
+ op: "move_piece";
3083
+ piece: {
3084
+ type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
3085
+ id: string;
3086
+ };
3087
+ from_stage_id: string;
3088
+ to_stage_id: string;
3089
+ })[];
3090
+ }>;
3091
+ handler: (args: {
3092
+ campaignId: string;
3093
+ edits: Array<Record<string, unknown>>;
3094
+ }) => Promise<{
3095
+ isError?: boolean | undefined;
3096
+ content: {
3097
+ type: "text";
3098
+ text: string;
3099
+ }[];
3100
+ }>;
3101
+ } & {
3102
+ group: ToolGroup;
3103
+ };
3104
+ get_campaign_funnel: {
3105
+ description: string;
3106
+ schema: import("zod").ZodObject<{
3107
+ campaignId: import("zod").ZodString;
3108
+ start: import("zod").ZodOptional<import("zod").ZodString>;
3109
+ end: import("zod").ZodOptional<import("zod").ZodString>;
3110
+ }, "strip", import("zod").ZodTypeAny, {
3111
+ campaignId: string;
3112
+ start?: string | undefined;
3113
+ end?: string | undefined;
3114
+ }, {
3115
+ campaignId: string;
3116
+ start?: string | undefined;
3117
+ end?: string | undefined;
3118
+ }>;
3119
+ handler: (args: {
3120
+ campaignId: string;
3121
+ start?: string;
3122
+ end?: string;
3123
+ }) => Promise<{
3124
+ isError?: boolean | undefined;
3125
+ content: {
3126
+ type: "text";
3127
+ text: string;
3128
+ }[];
3129
+ }>;
3130
+ } & {
3131
+ group: ToolGroup;
3132
+ };
3133
+ sync_campaign_platform_tests: {
3134
+ description: string;
3135
+ schema: import("zod").ZodObject<{
3136
+ campaignId: import("zod").ZodString;
3137
+ }, "strip", import("zod").ZodTypeAny, {
3138
+ campaignId: string;
3139
+ }, {
3140
+ campaignId: string;
3141
+ }>;
3142
+ handler: (args: {
3143
+ campaignId: string;
3144
+ }) => Promise<{
3145
+ isError?: boolean | undefined;
3146
+ content: {
3147
+ type: "text";
3148
+ text: string;
3149
+ }[];
3150
+ }>;
3151
+ } & {
3152
+ group: ToolGroup;
3153
+ };
3154
+ list_site_pages: {
3155
+ description: string;
3156
+ schema: import("zod").ZodObject<{
3157
+ search: import("zod").ZodOptional<import("zod").ZodString>;
3158
+ limit: import("zod").ZodOptional<import("zod").ZodNumber>;
3159
+ }, "strip", import("zod").ZodTypeAny, {
3160
+ search?: string | undefined;
3161
+ limit?: number | undefined;
3162
+ }, {
3163
+ search?: string | undefined;
3164
+ limit?: number | undefined;
3165
+ }>;
3166
+ handler: (args: {
3167
+ search?: string;
3168
+ limit?: number;
3169
+ }) => Promise<{
3170
+ isError?: boolean | undefined;
3171
+ content: {
3172
+ type: "text";
3173
+ text: string;
3174
+ }[];
3175
+ }>;
3176
+ } & {
3177
+ group: ToolGroup;
3178
+ };
2773
3179
  list_audiences: {
2774
3180
  description: string;
2775
3181
  schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
@@ -3102,13 +3508,17 @@ export declare const toolDefinitions: {
3102
3508
  description: string;
3103
3509
  schema: import("zod").ZodObject<{
3104
3510
  days: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodLiteral<"all">]>>;
3511
+ keyEventId: import("zod").ZodOptional<import("zod").ZodString>;
3105
3512
  }, "strip", import("zod").ZodTypeAny, {
3106
3513
  days?: number | "all" | undefined;
3514
+ keyEventId?: string | undefined;
3107
3515
  }, {
3108
3516
  days?: number | "all" | undefined;
3517
+ keyEventId?: string | undefined;
3109
3518
  }>;
3110
- handler: ({ days }: {
3519
+ handler: ({ days, keyEventId, }: {
3111
3520
  days?: number | "all";
3521
+ keyEventId?: string;
3112
3522
  }) => Promise<{
3113
3523
  content: {
3114
3524
  type: "text";
@@ -3226,6 +3636,46 @@ export declare const toolDefinitions: {
3226
3636
  } & {
3227
3637
  group: ToolGroup;
3228
3638
  };
3639
+ get_funnel: {
3640
+ description: string;
3641
+ schema: import("zod").ZodObject<{
3642
+ start: import("zod").ZodOptional<import("zod").ZodString>;
3643
+ end: import("zod").ZodOptional<import("zod").ZodString>;
3644
+ days: import("zod").ZodOptional<import("zod").ZodNumber>;
3645
+ breakdownBy: import("zod").ZodOptional<import("zod").ZodString>;
3646
+ steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3647
+ breakdownLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
3648
+ }, "strip", import("zod").ZodTypeAny, {
3649
+ steps?: string[] | undefined;
3650
+ days?: number | undefined;
3651
+ start?: string | undefined;
3652
+ end?: string | undefined;
3653
+ breakdownBy?: string | undefined;
3654
+ breakdownLimit?: number | undefined;
3655
+ }, {
3656
+ steps?: string[] | undefined;
3657
+ days?: number | undefined;
3658
+ start?: string | undefined;
3659
+ end?: string | undefined;
3660
+ breakdownBy?: string | undefined;
3661
+ breakdownLimit?: number | undefined;
3662
+ }>;
3663
+ handler: (args?: {
3664
+ start?: string;
3665
+ end?: string;
3666
+ days?: number;
3667
+ breakdownBy?: string;
3668
+ steps?: string[];
3669
+ breakdownLimit?: number;
3670
+ }) => Promise<{
3671
+ content: {
3672
+ type: "text";
3673
+ text: string;
3674
+ }[];
3675
+ }>;
3676
+ } & {
3677
+ group: ToolGroup;
3678
+ };
3229
3679
  list_key_events: {
3230
3680
  description: string;
3231
3681
  schema: import("zod").ZodObject<{
@@ -3278,14 +3728,14 @@ export declare const toolDefinitions: {
3278
3728
  target_url: import("zod").ZodOptional<import("zod").ZodString>;
3279
3729
  where: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3280
3730
  field_path: import("zod").ZodString;
3281
- operator: import("zod").ZodEnum<["equals", "not_equals", "in", "exists", "not_exists"]>;
3731
+ operator: import("zod").ZodEnum<["equals", "not_equals", "in", "contains", "gt", "gte", "lt", "lte", "exists", "not_exists"]>;
3282
3732
  value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, "many">]>>;
3283
3733
  }, "strip", import("zod").ZodTypeAny, {
3284
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3734
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3285
3735
  field_path: string;
3286
3736
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3287
3737
  }, {
3288
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3738
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3289
3739
  field_path: string;
3290
3740
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3291
3741
  }>, "many">>;
@@ -3294,26 +3744,26 @@ export declare const toolDefinitions: {
3294
3744
  type: "form_submit" | "custom_event";
3295
3745
  event_name?: string | undefined;
3296
3746
  selector?: string | undefined;
3297
- target_url?: string | undefined;
3298
3747
  where?: {
3299
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3748
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3300
3749
  field_path: string;
3301
3750
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3302
3751
  }[] | undefined;
3752
+ target_url?: string | undefined;
3303
3753
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3304
3754
  }, {
3305
3755
  type: "form_submit" | "custom_event";
3306
3756
  event_name?: string | undefined;
3307
3757
  selector?: string | undefined;
3308
- target_url?: string | undefined;
3309
3758
  where?: {
3310
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3759
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3311
3760
  field_path: string;
3312
3761
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3313
3762
  }[] | undefined;
3763
+ target_url?: string | undefined;
3314
3764
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3315
3765
  }>, "many">;
3316
- category: import("zod").ZodOptional<import("zod").ZodEnum<["purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "engagement", "expansion", "referral", "completion", "retention", "advocacy", "churn", "reactivation", "other"]>>;
3766
+ category: import("zod").ZodOptional<import("zod").ZodEnum<["install", "purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "checkout", "engagement", "expansion", "referral", "completion", "retention", "advocacy", "churn", "reactivation", "other"]>>;
3317
3767
  entityScope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
3318
3768
  description: import("zod").ZodOptional<import("zod").ZodString>;
3319
3769
  template: import("zod").ZodOptional<import("zod").ZodString>;
@@ -3326,18 +3776,18 @@ export declare const toolDefinitions: {
3326
3776
  type: "form_submit" | "custom_event";
3327
3777
  event_name?: string | undefined;
3328
3778
  selector?: string | undefined;
3329
- target_url?: string | undefined;
3330
3779
  where?: {
3331
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3780
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3332
3781
  field_path: string;
3333
3782
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3334
3783
  }[] | undefined;
3784
+ target_url?: string | undefined;
3335
3785
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3336
3786
  }[];
3337
3787
  description?: string | undefined;
3338
3788
  position?: number | undefined;
3339
3789
  template?: string | undefined;
3340
- category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
3790
+ category?: "other" | "engagement" | "referral" | "purchase" | "install" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "checkout" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
3341
3791
  entityScope?: "account" | "person" | undefined;
3342
3792
  funnelRole?: "milestone" | "stage" | "off_ramp" | "return" | undefined;
3343
3793
  reactivatesChurned?: boolean | undefined;
@@ -3347,18 +3797,18 @@ export declare const toolDefinitions: {
3347
3797
  type: "form_submit" | "custom_event";
3348
3798
  event_name?: string | undefined;
3349
3799
  selector?: string | undefined;
3350
- target_url?: string | undefined;
3351
3800
  where?: {
3352
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3801
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3353
3802
  field_path: string;
3354
3803
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3355
3804
  }[] | undefined;
3805
+ target_url?: string | undefined;
3356
3806
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3357
3807
  }[];
3358
3808
  description?: string | undefined;
3359
3809
  position?: number | undefined;
3360
3810
  template?: string | undefined;
3361
- category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
3811
+ category?: "other" | "engagement" | "referral" | "purchase" | "install" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "checkout" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
3362
3812
  entityScope?: "account" | "person" | undefined;
3363
3813
  funnelRole?: "milestone" | "stage" | "off_ramp" | "return" | undefined;
3364
3814
  reactivatesChurned?: boolean | undefined;
@@ -3369,12 +3819,12 @@ export declare const toolDefinitions: {
3369
3819
  type: "form_submit" | "custom_event";
3370
3820
  event_name?: string | undefined;
3371
3821
  selector?: string | undefined;
3372
- target_url?: string | undefined;
3373
3822
  where?: {
3374
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3823
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3375
3824
  field_path: string;
3376
3825
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3377
3826
  }[] | undefined;
3827
+ target_url?: string | undefined;
3378
3828
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3379
3829
  }[];
3380
3830
  category?: string;
@@ -3406,14 +3856,14 @@ export declare const toolDefinitions: {
3406
3856
  target_url: import("zod").ZodOptional<import("zod").ZodString>;
3407
3857
  where: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3408
3858
  field_path: import("zod").ZodString;
3409
- operator: import("zod").ZodEnum<["equals", "not_equals", "in", "exists", "not_exists"]>;
3859
+ operator: import("zod").ZodEnum<["equals", "not_equals", "in", "contains", "gt", "gte", "lt", "lte", "exists", "not_exists"]>;
3410
3860
  value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, "many">]>>;
3411
3861
  }, "strip", import("zod").ZodTypeAny, {
3412
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3862
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3413
3863
  field_path: string;
3414
3864
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3415
3865
  }, {
3416
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3866
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3417
3867
  field_path: string;
3418
3868
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3419
3869
  }>, "many">>;
@@ -3422,26 +3872,26 @@ export declare const toolDefinitions: {
3422
3872
  type: "form_submit" | "custom_event";
3423
3873
  event_name?: string | undefined;
3424
3874
  selector?: string | undefined;
3425
- target_url?: string | undefined;
3426
3875
  where?: {
3427
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3876
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3428
3877
  field_path: string;
3429
3878
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3430
3879
  }[] | undefined;
3880
+ target_url?: string | undefined;
3431
3881
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3432
3882
  }, {
3433
3883
  type: "form_submit" | "custom_event";
3434
3884
  event_name?: string | undefined;
3435
3885
  selector?: string | undefined;
3436
- target_url?: string | undefined;
3437
3886
  where?: {
3438
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3887
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3439
3888
  field_path: string;
3440
3889
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3441
3890
  }[] | undefined;
3891
+ target_url?: string | undefined;
3442
3892
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3443
3893
  }>, "many">>;
3444
- category: import("zod").ZodOptional<import("zod").ZodEnum<["purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "engagement", "expansion", "referral", "completion", "retention", "advocacy", "churn", "reactivation", "other"]>>;
3894
+ category: import("zod").ZodOptional<import("zod").ZodEnum<["install", "purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "checkout", "engagement", "expansion", "referral", "completion", "retention", "advocacy", "churn", "reactivation", "other"]>>;
3445
3895
  entityScope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
3446
3896
  description: import("zod").ZodOptional<import("zod").ZodString>;
3447
3897
  position: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
@@ -3457,15 +3907,15 @@ export declare const toolDefinitions: {
3457
3907
  type: "form_submit" | "custom_event";
3458
3908
  event_name?: string | undefined;
3459
3909
  selector?: string | undefined;
3460
- target_url?: string | undefined;
3461
3910
  where?: {
3462
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3911
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3463
3912
  field_path: string;
3464
3913
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3465
3914
  }[] | undefined;
3915
+ target_url?: string | undefined;
3466
3916
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3467
3917
  }[] | undefined;
3468
- category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
3918
+ category?: "other" | "engagement" | "referral" | "purchase" | "install" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "checkout" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
3469
3919
  entityScope?: "account" | "person" | undefined;
3470
3920
  funnelRole?: "milestone" | "stage" | "off_ramp" | "return" | null | undefined;
3471
3921
  reactivatesChurned?: boolean | null | undefined;
@@ -3479,15 +3929,15 @@ export declare const toolDefinitions: {
3479
3929
  type: "form_submit" | "custom_event";
3480
3930
  event_name?: string | undefined;
3481
3931
  selector?: string | undefined;
3482
- target_url?: string | undefined;
3483
3932
  where?: {
3484
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3933
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3485
3934
  field_path: string;
3486
3935
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3487
3936
  }[] | undefined;
3937
+ target_url?: string | undefined;
3488
3938
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3489
3939
  }[] | undefined;
3490
- category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
3940
+ category?: "other" | "engagement" | "referral" | "purchase" | "install" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "checkout" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
3491
3941
  entityScope?: "account" | "person" | undefined;
3492
3942
  funnelRole?: "milestone" | "stage" | "off_ramp" | "return" | null | undefined;
3493
3943
  reactivatesChurned?: boolean | null | undefined;
@@ -3500,12 +3950,12 @@ export declare const toolDefinitions: {
3500
3950
  type: "form_submit" | "custom_event";
3501
3951
  event_name?: string | undefined;
3502
3952
  selector?: string | undefined;
3503
- target_url?: string | undefined;
3504
3953
  where?: {
3505
- operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3954
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
3506
3955
  field_path: string;
3507
3956
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3508
3957
  }[] | undefined;
3958
+ target_url?: string | undefined;
3509
3959
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3510
3960
  }[];
3511
3961
  category?: string;
@@ -3544,10 +3994,10 @@ export declare const toolDefinitions: {
3544
3994
  sourceOfTruth: import("zod").ZodEnum<["stripe", "shopify", "quickbooks", "hubspot", "server", "sdk", "manual"]>;
3545
3995
  confirm: import("zod").ZodOptional<import("zod").ZodBoolean>;
3546
3996
  }, "strip", import("zod").ZodTypeAny, {
3547
- sourceOfTruth: "manual" | "sdk" | "stripe" | "shopify" | "quickbooks" | "hubspot" | "server";
3997
+ sourceOfTruth: "manual" | "sdk" | "server" | "stripe" | "shopify" | "quickbooks" | "hubspot";
3548
3998
  confirm?: boolean | undefined;
3549
3999
  }, {
3550
- sourceOfTruth: "manual" | "sdk" | "stripe" | "shopify" | "quickbooks" | "hubspot" | "server";
4000
+ sourceOfTruth: "manual" | "sdk" | "server" | "stripe" | "shopify" | "quickbooks" | "hubspot";
3551
4001
  confirm?: boolean | undefined;
3552
4002
  }>;
3553
4003
  handler: (args: {
@@ -5882,14 +6332,14 @@ export declare const toolDefinitions: {
5882
6332
  includeArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
5883
6333
  }, "strip", import("zod").ZodTypeAny, {
5884
6334
  search?: string | undefined;
6335
+ includeArchived?: boolean | undefined;
5885
6336
  pipeline?: "transactional" | "marketing" | undefined;
5886
6337
  channel?: "email" | "mobile_push" | "inbox" | "web_push" | undefined;
5887
- includeArchived?: boolean | undefined;
5888
6338
  }, {
5889
6339
  search?: string | undefined;
6340
+ includeArchived?: boolean | undefined;
5890
6341
  pipeline?: "transactional" | "marketing" | undefined;
5891
6342
  channel?: "email" | "mobile_push" | "inbox" | "web_push" | undefined;
5892
- includeArchived?: boolean | undefined;
5893
6343
  }>;
5894
6344
  handler: (args: {
5895
6345
  pipeline?: "transactional" | "marketing";
@@ -6186,6 +6636,7 @@ export declare const toolDefinitions: {
6186
6636
  description: string;
6187
6637
  schema: import("zod").ZodObject<{
6188
6638
  communicationId: import("zod").ZodString;
6639
+ title: import("zod").ZodOptional<import("zod").ZodString>;
6189
6640
  subject: import("zod").ZodOptional<import("zod").ZodString>;
6190
6641
  slots: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
6191
6642
  blocks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
@@ -6269,6 +6720,7 @@ export declare const toolDefinitions: {
6269
6720
  status?: "active" | "draft" | "paused" | undefined;
6270
6721
  subject?: string | undefined;
6271
6722
  intent?: "replace" | "compete" | undefined;
6723
+ title?: string | undefined;
6272
6724
  categoryId?: string | undefined;
6273
6725
  slots?: Record<string, string> | undefined;
6274
6726
  blocks?: {
@@ -6304,6 +6756,7 @@ export declare const toolDefinitions: {
6304
6756
  status?: "active" | "draft" | "paused" | undefined;
6305
6757
  subject?: string | undefined;
6306
6758
  intent?: "replace" | "compete" | undefined;
6759
+ title?: string | undefined;
6307
6760
  categoryId?: string | undefined;
6308
6761
  slots?: Record<string, string> | undefined;
6309
6762
  blocks?: {
@@ -6336,6 +6789,7 @@ export declare const toolDefinitions: {
6336
6789
  }>;
6337
6790
  handler: (args: {
6338
6791
  communicationId: string;
6792
+ title?: string;
6339
6793
  subject?: string;
6340
6794
  slots?: Record<string, string>;
6341
6795
  blocks?: import("./letter-blocks.js").LetterBlockInput[];
@@ -6668,101 +7122,275 @@ export declare const toolDefinitions: {
6668
7122
  } & {
6669
7123
  group: ToolGroup;
6670
7124
  };
6671
- wire_audience_seed: {
7125
+ wire_audience_seed: {
7126
+ description: string;
7127
+ schema: import("zod").ZodObject<{
7128
+ seedId: import("zod").ZodString;
7129
+ framework: import("zod").ZodOptional<import("zod").ZodEnum<["typescript", "snippet", "python", "ruby"]>>;
7130
+ fireTestEvent: import("zod").ZodOptional<import("zod").ZodBoolean>;
7131
+ }, "strip", import("zod").ZodTypeAny, {
7132
+ seedId: string;
7133
+ framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
7134
+ fireTestEvent?: boolean | undefined;
7135
+ }, {
7136
+ seedId: string;
7137
+ framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
7138
+ fireTestEvent?: boolean | undefined;
7139
+ }>;
7140
+ handler: ({ seedId, framework, fireTestEvent, }: {
7141
+ seedId: string;
7142
+ framework?: "typescript" | "snippet" | "python" | "ruby";
7143
+ fireTestEvent?: boolean;
7144
+ }) => Promise<{
7145
+ content: {
7146
+ type: "text";
7147
+ text: string;
7148
+ }[];
7149
+ }>;
7150
+ } & {
7151
+ group: ToolGroup;
7152
+ };
7153
+ wire_audience: {
7154
+ description: string;
7155
+ schema: import("zod").ZodObject<{
7156
+ audienceId: import("zod").ZodString;
7157
+ framework: import("zod").ZodOptional<import("zod").ZodEnum<["typescript", "snippet", "python", "ruby"]>>;
7158
+ fireTestEvent: import("zod").ZodOptional<import("zod").ZodBoolean>;
7159
+ }, "strip", import("zod").ZodTypeAny, {
7160
+ audienceId: string;
7161
+ framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
7162
+ fireTestEvent?: boolean | undefined;
7163
+ }, {
7164
+ audienceId: string;
7165
+ framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
7166
+ fireTestEvent?: boolean | undefined;
7167
+ }>;
7168
+ handler: ({ audienceId, framework, fireTestEvent, }: {
7169
+ audienceId: string;
7170
+ framework?: "typescript" | "snippet" | "python" | "ruby";
7171
+ fireTestEvent?: boolean;
7172
+ }) => Promise<{
7173
+ content: {
7174
+ type: "text";
7175
+ text: string;
7176
+ }[];
7177
+ }>;
7178
+ } & {
7179
+ group: ToolGroup;
7180
+ };
7181
+ audit_audience_readiness: {
7182
+ description: string;
7183
+ schema: import("zod").ZodObject<{
7184
+ audienceId: import("zod").ZodString;
7185
+ }, "strip", import("zod").ZodTypeAny, {
7186
+ audienceId: string;
7187
+ }, {
7188
+ audienceId: string;
7189
+ }>;
7190
+ handler: ({ audienceId }: {
7191
+ audienceId: string;
7192
+ }) => Promise<{
7193
+ content: {
7194
+ type: "text";
7195
+ text: string;
7196
+ }[];
7197
+ }>;
7198
+ } & {
7199
+ group: ToolGroup;
7200
+ };
7201
+ create_journey: {
7202
+ description: string;
7203
+ schema: import("zod").ZodObject<{
7204
+ name: import("zod").ZodOptional<import("zod").ZodString>;
7205
+ audience_bucket: import("zod").ZodOptional<import("zod").ZodEnum<["production", "beta", "dev"]>>;
7206
+ attributionWindowDays: import("zod").ZodOptional<import("zod").ZodNumber>;
7207
+ }, "strip", import("zod").ZodTypeAny, {
7208
+ name?: string | undefined;
7209
+ attributionWindowDays?: number | undefined;
7210
+ audience_bucket?: "production" | "beta" | "dev" | undefined;
7211
+ }, {
7212
+ name?: string | undefined;
7213
+ attributionWindowDays?: number | undefined;
7214
+ audience_bucket?: "production" | "beta" | "dev" | undefined;
7215
+ }>;
7216
+ handler: ({ name, audience_bucket, attributionWindowDays, }: {
7217
+ name?: string;
7218
+ audience_bucket?: "production" | "beta" | "dev";
7219
+ attributionWindowDays?: number;
7220
+ }) => Promise<{
7221
+ content: {
7222
+ type: "text";
7223
+ text: string;
7224
+ }[];
7225
+ isError: boolean;
7226
+ } | {
7227
+ content: {
7228
+ type: "text";
7229
+ text: string;
7230
+ }[];
7231
+ }>;
7232
+ } & {
7233
+ group: ToolGroup;
7234
+ };
7235
+ update_journey: {
7236
+ description: string;
7237
+ schema: import("zod").ZodObject<{
7238
+ journeyId: import("zod").ZodString;
7239
+ name: import("zod").ZodOptional<import("zod").ZodString>;
7240
+ description: import("zod").ZodOptional<import("zod").ZodString>;
7241
+ audience_bucket: import("zod").ZodOptional<import("zod").ZodEnum<["production", "beta", "dev"]>>;
7242
+ attributionWindowDays: import("zod").ZodOptional<import("zod").ZodNumber>;
7243
+ }, "strip", import("zod").ZodTypeAny, {
7244
+ journeyId: string;
7245
+ name?: string | undefined;
7246
+ attributionWindowDays?: number | undefined;
7247
+ description?: string | undefined;
7248
+ audience_bucket?: "production" | "beta" | "dev" | undefined;
7249
+ }, {
7250
+ journeyId: string;
7251
+ name?: string | undefined;
7252
+ attributionWindowDays?: number | undefined;
7253
+ description?: string | undefined;
7254
+ audience_bucket?: "production" | "beta" | "dev" | undefined;
7255
+ }>;
7256
+ handler: ({ journeyId, name, description, audience_bucket, attributionWindowDays, }: {
7257
+ journeyId: string;
7258
+ name?: string;
7259
+ description?: string;
7260
+ audience_bucket?: "production" | "beta" | "dev";
7261
+ attributionWindowDays?: number;
7262
+ }) => Promise<{
7263
+ content: {
7264
+ type: "text";
7265
+ text: string;
7266
+ }[];
7267
+ isError: boolean;
7268
+ } | {
7269
+ content: {
7270
+ type: "text";
7271
+ text: string;
7272
+ }[];
7273
+ }>;
7274
+ } & {
7275
+ group: ToolGroup;
7276
+ };
7277
+ create_journey_from_template: {
6672
7278
  description: string;
6673
7279
  schema: import("zod").ZodObject<{
6674
- seedId: import("zod").ZodString;
6675
- framework: import("zod").ZodOptional<import("zod").ZodEnum<["typescript", "snippet", "python", "ruby"]>>;
6676
- fireTestEvent: import("zod").ZodOptional<import("zod").ZodBoolean>;
7280
+ templateId: import("zod").ZodString;
6677
7281
  }, "strip", import("zod").ZodTypeAny, {
6678
- seedId: string;
6679
- framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
6680
- fireTestEvent?: boolean | undefined;
7282
+ templateId: string;
6681
7283
  }, {
6682
- seedId: string;
6683
- framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
6684
- fireTestEvent?: boolean | undefined;
7284
+ templateId: string;
6685
7285
  }>;
6686
- handler: ({ seedId, framework, fireTestEvent, }: {
6687
- seedId: string;
6688
- framework?: "typescript" | "snippet" | "python" | "ruby";
6689
- fireTestEvent?: boolean;
7286
+ handler: ({ templateId }: {
7287
+ templateId: string;
6690
7288
  }) => Promise<{
6691
7289
  content: {
6692
7290
  type: "text";
6693
7291
  text: string;
6694
7292
  }[];
7293
+ isError: boolean;
7294
+ } | {
7295
+ content: {
7296
+ type: "text";
7297
+ text: string;
7298
+ }[];
6695
7299
  }>;
6696
7300
  } & {
6697
7301
  group: ToolGroup;
6698
7302
  };
6699
- wire_audience: {
7303
+ get_journey_funnel_coverage: {
6700
7304
  description: string;
6701
7305
  schema: import("zod").ZodObject<{
6702
- audienceId: import("zod").ZodString;
6703
- framework: import("zod").ZodOptional<import("zod").ZodEnum<["typescript", "snippet", "python", "ruby"]>>;
6704
- fireTestEvent: import("zod").ZodOptional<import("zod").ZodBoolean>;
7306
+ days: import("zod").ZodOptional<import("zod").ZodNumber>;
6705
7307
  }, "strip", import("zod").ZodTypeAny, {
6706
- audienceId: string;
6707
- framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
6708
- fireTestEvent?: boolean | undefined;
7308
+ days?: number | undefined;
6709
7309
  }, {
6710
- audienceId: string;
6711
- framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
6712
- fireTestEvent?: boolean | undefined;
7310
+ days?: number | undefined;
6713
7311
  }>;
6714
- handler: ({ audienceId, framework, fireTestEvent, }: {
6715
- audienceId: string;
6716
- framework?: "typescript" | "snippet" | "python" | "ruby";
6717
- fireTestEvent?: boolean;
7312
+ handler: ({ days }: {
7313
+ days?: number;
6718
7314
  }) => Promise<{
6719
7315
  content: {
6720
7316
  type: "text";
6721
7317
  text: string;
6722
7318
  }[];
7319
+ isError: boolean;
7320
+ } | {
7321
+ content: {
7322
+ type: "text";
7323
+ text: string;
7324
+ }[];
6723
7325
  }>;
6724
7326
  } & {
6725
7327
  group: ToolGroup;
6726
7328
  };
6727
- audit_audience_readiness: {
7329
+ create_journey_from_funnel_gap: {
6728
7330
  description: string;
6729
7331
  schema: import("zod").ZodObject<{
6730
- audienceId: import("zod").ZodString;
7332
+ fromKeyEventId: import("zod").ZodString;
7333
+ toKeyEventId: import("zod").ZodString;
7334
+ mode: import("zod").ZodOptional<import("zod").ZodEnum<["starter_sequence", "template", "blank"]>>;
7335
+ templateId: import("zod").ZodOptional<import("zod").ZodString>;
7336
+ name: import("zod").ZodOptional<import("zod").ZodString>;
7337
+ description: import("zod").ZodOptional<import("zod").ZodString>;
7338
+ attributionWindowDays: import("zod").ZodOptional<import("zod").ZodNumber>;
7339
+ audienceBucket: import("zod").ZodOptional<import("zod").ZodEnum<["production", "beta", "dev"]>>;
6731
7340
  }, "strip", import("zod").ZodTypeAny, {
6732
- audienceId: string;
7341
+ fromKeyEventId: string;
7342
+ toKeyEventId: string;
7343
+ mode?: "starter_sequence" | "template" | "blank" | undefined;
7344
+ name?: string | undefined;
7345
+ attributionWindowDays?: number | undefined;
7346
+ description?: string | undefined;
7347
+ templateId?: string | undefined;
7348
+ audienceBucket?: "production" | "beta" | "dev" | undefined;
6733
7349
  }, {
6734
- audienceId: string;
7350
+ fromKeyEventId: string;
7351
+ toKeyEventId: string;
7352
+ mode?: "starter_sequence" | "template" | "blank" | undefined;
7353
+ name?: string | undefined;
7354
+ attributionWindowDays?: number | undefined;
7355
+ description?: string | undefined;
7356
+ templateId?: string | undefined;
7357
+ audienceBucket?: "production" | "beta" | "dev" | undefined;
6735
7358
  }>;
6736
- handler: ({ audienceId }: {
6737
- audienceId: string;
7359
+ handler: ({ fromKeyEventId, toKeyEventId, mode, templateId, name, description, attributionWindowDays, audienceBucket, }: {
7360
+ fromKeyEventId: string;
7361
+ toKeyEventId: string;
7362
+ mode?: "starter_sequence" | "template" | "blank";
7363
+ templateId?: string;
7364
+ name?: string;
7365
+ description?: string;
7366
+ attributionWindowDays?: number;
7367
+ audienceBucket?: "production" | "beta" | "dev";
6738
7368
  }) => Promise<{
6739
7369
  content: {
6740
7370
  type: "text";
6741
7371
  text: string;
6742
7372
  }[];
7373
+ isError: boolean;
7374
+ } | {
7375
+ content: {
7376
+ type: "text";
7377
+ text: string;
7378
+ }[];
6743
7379
  }>;
6744
7380
  } & {
6745
7381
  group: ToolGroup;
6746
7382
  };
6747
- create_journey: {
7383
+ sync_journey_funnel_exits: {
6748
7384
  description: string;
6749
7385
  schema: import("zod").ZodObject<{
6750
- name: import("zod").ZodOptional<import("zod").ZodString>;
6751
- audience_bucket: import("zod").ZodOptional<import("zod").ZodEnum<["production", "beta", "dev"]>>;
6752
- attributionWindowDays: import("zod").ZodOptional<import("zod").ZodNumber>;
7386
+ journeyId: import("zod").ZodString;
6753
7387
  }, "strip", import("zod").ZodTypeAny, {
6754
- name?: string | undefined;
6755
- attributionWindowDays?: number | undefined;
6756
- audience_bucket?: "production" | "beta" | "dev" | undefined;
7388
+ journeyId: string;
6757
7389
  }, {
6758
- name?: string | undefined;
6759
- attributionWindowDays?: number | undefined;
6760
- audience_bucket?: "production" | "beta" | "dev" | undefined;
7390
+ journeyId: string;
6761
7391
  }>;
6762
- handler: ({ name, audience_bucket, attributionWindowDays, }: {
6763
- name?: string;
6764
- audience_bucket?: "production" | "beta" | "dev";
6765
- attributionWindowDays?: number;
7392
+ handler: ({ journeyId }: {
7393
+ journeyId: string;
6766
7394
  }) => Promise<{
6767
7395
  content: {
6768
7396
  type: "text";
@@ -6778,17 +7406,21 @@ export declare const toolDefinitions: {
6778
7406
  } & {
6779
7407
  group: ToolGroup;
6780
7408
  };
6781
- create_journey_from_template: {
7409
+ fill_funnel_gaps: {
6782
7410
  description: string;
6783
7411
  schema: import("zod").ZodObject<{
6784
- templateId: import("zod").ZodString;
7412
+ gapIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
7413
+ audienceBucket: import("zod").ZodOptional<import("zod").ZodEnum<["production", "beta", "dev"]>>;
6785
7414
  }, "strip", import("zod").ZodTypeAny, {
6786
- templateId: string;
7415
+ audienceBucket?: "production" | "beta" | "dev" | undefined;
7416
+ gapIds?: string[] | undefined;
6787
7417
  }, {
6788
- templateId: string;
7418
+ audienceBucket?: "production" | "beta" | "dev" | undefined;
7419
+ gapIds?: string[] | undefined;
6789
7420
  }>;
6790
- handler: ({ templateId }: {
6791
- templateId: string;
7421
+ handler: ({ gapIds, audienceBucket, }: {
7422
+ gapIds?: string[];
7423
+ audienceBucket?: "production" | "beta" | "dev";
6792
7424
  }) => Promise<{
6793
7425
  content: {
6794
7426
  type: "text";
@@ -6968,7 +7600,7 @@ export declare const toolDefinitions: {
6968
7600
  key_event_id: import("zod").ZodOptional<import("zod").ZodString>;
6969
7601
  scope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
6970
7602
  field_path: import("zod").ZodOptional<import("zod").ZodString>;
6971
- operator: import("zod").ZodOptional<import("zod").ZodEnum<["equals", "not_equals", "greater_than", "less_than", "in", "exists", "not_exists"]>>;
7603
+ operator: import("zod").ZodOptional<import("zod").ZodEnum<["equals", "not_equals", "contains", "greater_than", "less_than", "in", "exists", "not_exists"]>>;
6972
7604
  value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, "many">]>>;
6973
7605
  event_name: import("zod").ZodOptional<import("zod").ZodString>;
6974
7606
  window_days: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -6976,21 +7608,21 @@ export declare const toolDefinitions: {
6976
7608
  }, "strip", import("zod").ZodTypeAny, {
6977
7609
  kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
6978
7610
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
6979
- operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
7611
+ operator?: "equals" | "not_equals" | "exists" | "contains" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
6980
7612
  event_name?: string | undefined;
6981
7613
  key_event_id?: string | undefined;
6982
- scope?: "account" | "person" | undefined;
6983
7614
  field_path?: string | undefined;
7615
+ scope?: "account" | "person" | undefined;
6984
7616
  window_days?: number | undefined;
6985
7617
  wait_days?: number | undefined;
6986
7618
  }, {
6987
7619
  kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
6988
7620
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
6989
- operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
7621
+ operator?: "equals" | "not_equals" | "exists" | "contains" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
6990
7622
  event_name?: string | undefined;
6991
7623
  key_event_id?: string | undefined;
6992
- scope?: "account" | "person" | undefined;
6993
7624
  field_path?: string | undefined;
7625
+ scope?: "account" | "person" | undefined;
6994
7626
  window_days?: number | undefined;
6995
7627
  wait_days?: number | undefined;
6996
7628
  }>;
@@ -7001,11 +7633,11 @@ export declare const toolDefinitions: {
7001
7633
  condition: {
7002
7634
  kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
7003
7635
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
7004
- operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
7636
+ operator?: "equals" | "not_equals" | "exists" | "contains" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
7005
7637
  event_name?: string | undefined;
7006
7638
  key_event_id?: string | undefined;
7007
- scope?: "account" | "person" | undefined;
7008
7639
  field_path?: string | undefined;
7640
+ scope?: "account" | "person" | undefined;
7009
7641
  window_days?: number | undefined;
7010
7642
  wait_days?: number | undefined;
7011
7643
  };
@@ -7018,11 +7650,11 @@ export declare const toolDefinitions: {
7018
7650
  condition: {
7019
7651
  kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
7020
7652
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
7021
- operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
7653
+ operator?: "equals" | "not_equals" | "exists" | "contains" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
7022
7654
  event_name?: string | undefined;
7023
7655
  key_event_id?: string | undefined;
7024
- scope?: "account" | "person" | undefined;
7025
7656
  field_path?: string | undefined;
7657
+ scope?: "account" | "person" | undefined;
7026
7658
  window_days?: number | undefined;
7027
7659
  wait_days?: number | undefined;
7028
7660
  };
@@ -7500,30 +8132,69 @@ export declare const toolDefinitions: {
7500
8132
  conditions: import("zod").ZodArray<import("zod").ZodObject<{
7501
8133
  verb: import("zod").ZodOptional<import("zod").ZodEnum<["has", "hasnt"]>>;
7502
8134
  event: import("zod").ZodOptional<import("zod").ZodString>;
8135
+ where: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
8136
+ field_path: import("zod").ZodString;
8137
+ operator: import("zod").ZodEnum<["equals", "not_equals", "in", "contains", "gt", "gte", "lt", "lte", "exists", "not_exists"]>;
8138
+ value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, "many">]>>;
8139
+ }, "strip", import("zod").ZodTypeAny, {
8140
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8141
+ field_path: string;
8142
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8143
+ }, {
8144
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8145
+ field_path: string;
8146
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8147
+ }>, "many">>;
8148
+ at_least: import("zod").ZodOptional<import("zod").ZodNumber>;
7503
8149
  key_event_id: import("zod").ZodOptional<import("zod").ZodString>;
7504
8150
  scope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
7505
8151
  window_days: import("zod").ZodOptional<import("zod").ZodNumber>;
7506
8152
  attribute: import("zod").ZodOptional<import("zod").ZodString>;
7507
- op: import("zod").ZodOptional<import("zod").ZodEnum<["is", "is_not", "exists"]>>;
8153
+ op: import("zod").ZodOptional<import("zod").ZodEnum<["is", "is_not", "contains", "exists"]>>;
7508
8154
  value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
8155
+ brought_by_campaign: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
8156
+ campaign_id: import("zod").ZodString;
8157
+ }, "strip", import("zod").ZodTypeAny, {
8158
+ campaign_id: string;
8159
+ }, {
8160
+ campaign_id: string;
8161
+ }>]>>;
7509
8162
  }, "strip", import("zod").ZodTypeAny, {
7510
8163
  event?: string | undefined;
7511
8164
  value?: string | number | boolean | undefined;
7512
8165
  key_event_id?: string | undefined;
8166
+ verb?: "has" | "hasnt" | undefined;
8167
+ where?: {
8168
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8169
+ field_path: string;
8170
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8171
+ }[] | undefined;
8172
+ at_least?: number | undefined;
7513
8173
  scope?: "account" | "person" | undefined;
7514
- attribute?: string | undefined;
7515
8174
  window_days?: number | undefined;
7516
- verb?: "has" | "hasnt" | undefined;
7517
- op?: "exists" | "is" | "is_not" | undefined;
8175
+ attribute?: string | undefined;
8176
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8177
+ brought_by_campaign?: string | {
8178
+ campaign_id: string;
8179
+ } | undefined;
7518
8180
  }, {
7519
8181
  event?: string | undefined;
7520
8182
  value?: string | number | boolean | undefined;
7521
8183
  key_event_id?: string | undefined;
8184
+ verb?: "has" | "hasnt" | undefined;
8185
+ where?: {
8186
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8187
+ field_path: string;
8188
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8189
+ }[] | undefined;
8190
+ at_least?: number | undefined;
7522
8191
  scope?: "account" | "person" | undefined;
7523
- attribute?: string | undefined;
7524
8192
  window_days?: number | undefined;
7525
- verb?: "has" | "hasnt" | undefined;
7526
- op?: "exists" | "is" | "is_not" | undefined;
8193
+ attribute?: string | undefined;
8194
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8195
+ brought_by_campaign?: string | {
8196
+ campaign_id: string;
8197
+ } | undefined;
7527
8198
  }>, "many">;
7528
8199
  }, "strip", import("zod").ZodTypeAny, {
7529
8200
  match: "all" | "any";
@@ -7531,11 +8202,20 @@ export declare const toolDefinitions: {
7531
8202
  event?: string | undefined;
7532
8203
  value?: string | number | boolean | undefined;
7533
8204
  key_event_id?: string | undefined;
8205
+ verb?: "has" | "hasnt" | undefined;
8206
+ where?: {
8207
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8208
+ field_path: string;
8209
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8210
+ }[] | undefined;
8211
+ at_least?: number | undefined;
7534
8212
  scope?: "account" | "person" | undefined;
7535
- attribute?: string | undefined;
7536
8213
  window_days?: number | undefined;
7537
- verb?: "has" | "hasnt" | undefined;
7538
- op?: "exists" | "is" | "is_not" | undefined;
8214
+ attribute?: string | undefined;
8215
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8216
+ brought_by_campaign?: string | {
8217
+ campaign_id: string;
8218
+ } | undefined;
7539
8219
  }[];
7540
8220
  }, {
7541
8221
  match: "all" | "any";
@@ -7543,11 +8223,20 @@ export declare const toolDefinitions: {
7543
8223
  event?: string | undefined;
7544
8224
  value?: string | number | boolean | undefined;
7545
8225
  key_event_id?: string | undefined;
8226
+ verb?: "has" | "hasnt" | undefined;
8227
+ where?: {
8228
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8229
+ field_path: string;
8230
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8231
+ }[] | undefined;
8232
+ at_least?: number | undefined;
7546
8233
  scope?: "account" | "person" | undefined;
7547
- attribute?: string | undefined;
7548
8234
  window_days?: number | undefined;
7549
- verb?: "has" | "hasnt" | undefined;
7550
- op?: "exists" | "is" | "is_not" | undefined;
8235
+ attribute?: string | undefined;
8236
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8237
+ brought_by_campaign?: string | {
8238
+ campaign_id: string;
8239
+ } | undefined;
7551
8240
  }[];
7552
8241
  }>, "many">;
7553
8242
  }, "strip", import("zod").ZodTypeAny, {
@@ -7558,11 +8247,20 @@ export declare const toolDefinitions: {
7558
8247
  event?: string | undefined;
7559
8248
  value?: string | number | boolean | undefined;
7560
8249
  key_event_id?: string | undefined;
8250
+ verb?: "has" | "hasnt" | undefined;
8251
+ where?: {
8252
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8253
+ field_path: string;
8254
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8255
+ }[] | undefined;
8256
+ at_least?: number | undefined;
7561
8257
  scope?: "account" | "person" | undefined;
7562
- attribute?: string | undefined;
7563
8258
  window_days?: number | undefined;
7564
- verb?: "has" | "hasnt" | undefined;
7565
- op?: "exists" | "is" | "is_not" | undefined;
8259
+ attribute?: string | undefined;
8260
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8261
+ brought_by_campaign?: string | {
8262
+ campaign_id: string;
8263
+ } | undefined;
7566
8264
  }[];
7567
8265
  }[];
7568
8266
  }, {
@@ -7573,11 +8271,20 @@ export declare const toolDefinitions: {
7573
8271
  event?: string | undefined;
7574
8272
  value?: string | number | boolean | undefined;
7575
8273
  key_event_id?: string | undefined;
8274
+ verb?: "has" | "hasnt" | undefined;
8275
+ where?: {
8276
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8277
+ field_path: string;
8278
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8279
+ }[] | undefined;
8280
+ at_least?: number | undefined;
7576
8281
  scope?: "account" | "person" | undefined;
7577
- attribute?: string | undefined;
7578
8282
  window_days?: number | undefined;
7579
- verb?: "has" | "hasnt" | undefined;
7580
- op?: "exists" | "is" | "is_not" | undefined;
8283
+ attribute?: string | undefined;
8284
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8285
+ brought_by_campaign?: string | {
8286
+ campaign_id: string;
8287
+ } | undefined;
7581
8288
  }[];
7582
8289
  }[];
7583
8290
  }>>;
@@ -7585,7 +8292,6 @@ export declare const toolDefinitions: {
7585
8292
  }, "strip", import("zod").ZodTypeAny, {
7586
8293
  name: string;
7587
8294
  description?: string | undefined;
7588
- scope?: "workspace" | "org" | undefined;
7589
8295
  conditions?: {
7590
8296
  match: "all" | "any";
7591
8297
  groups: {
@@ -7594,19 +8300,28 @@ export declare const toolDefinitions: {
7594
8300
  event?: string | undefined;
7595
8301
  value?: string | number | boolean | undefined;
7596
8302
  key_event_id?: string | undefined;
8303
+ verb?: "has" | "hasnt" | undefined;
8304
+ where?: {
8305
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8306
+ field_path: string;
8307
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8308
+ }[] | undefined;
8309
+ at_least?: number | undefined;
7597
8310
  scope?: "account" | "person" | undefined;
7598
- attribute?: string | undefined;
7599
8311
  window_days?: number | undefined;
7600
- verb?: "has" | "hasnt" | undefined;
7601
- op?: "exists" | "is" | "is_not" | undefined;
8312
+ attribute?: string | undefined;
8313
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8314
+ brought_by_campaign?: string | {
8315
+ campaign_id: string;
8316
+ } | undefined;
7602
8317
  }[];
7603
8318
  }[];
7604
8319
  } | undefined;
8320
+ scope?: "workspace" | "org" | undefined;
7605
8321
  predicate?: Record<string, unknown> | undefined;
7606
8322
  }, {
7607
8323
  name: string;
7608
8324
  description?: string | undefined;
7609
- scope?: "workspace" | "org" | undefined;
7610
8325
  conditions?: {
7611
8326
  match: "all" | "any";
7612
8327
  groups: {
@@ -7615,14 +8330,24 @@ export declare const toolDefinitions: {
7615
8330
  event?: string | undefined;
7616
8331
  value?: string | number | boolean | undefined;
7617
8332
  key_event_id?: string | undefined;
8333
+ verb?: "has" | "hasnt" | undefined;
8334
+ where?: {
8335
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8336
+ field_path: string;
8337
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8338
+ }[] | undefined;
8339
+ at_least?: number | undefined;
7618
8340
  scope?: "account" | "person" | undefined;
7619
- attribute?: string | undefined;
7620
8341
  window_days?: number | undefined;
7621
- verb?: "has" | "hasnt" | undefined;
7622
- op?: "exists" | "is" | "is_not" | undefined;
8342
+ attribute?: string | undefined;
8343
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8344
+ brought_by_campaign?: string | {
8345
+ campaign_id: string;
8346
+ } | undefined;
7623
8347
  }[];
7624
8348
  }[];
7625
8349
  } | undefined;
8350
+ scope?: "workspace" | "org" | undefined;
7626
8351
  predicate?: Record<string, unknown> | undefined;
7627
8352
  }>;
7628
8353
  handler: (args: {
@@ -7654,30 +8379,69 @@ export declare const toolDefinitions: {
7654
8379
  conditions: import("zod").ZodArray<import("zod").ZodObject<{
7655
8380
  verb: import("zod").ZodOptional<import("zod").ZodEnum<["has", "hasnt"]>>;
7656
8381
  event: import("zod").ZodOptional<import("zod").ZodString>;
8382
+ where: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
8383
+ field_path: import("zod").ZodString;
8384
+ operator: import("zod").ZodEnum<["equals", "not_equals", "in", "contains", "gt", "gte", "lt", "lte", "exists", "not_exists"]>;
8385
+ value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, "many">]>>;
8386
+ }, "strip", import("zod").ZodTypeAny, {
8387
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8388
+ field_path: string;
8389
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8390
+ }, {
8391
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8392
+ field_path: string;
8393
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8394
+ }>, "many">>;
8395
+ at_least: import("zod").ZodOptional<import("zod").ZodNumber>;
7657
8396
  key_event_id: import("zod").ZodOptional<import("zod").ZodString>;
7658
8397
  scope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
7659
8398
  window_days: import("zod").ZodOptional<import("zod").ZodNumber>;
7660
8399
  attribute: import("zod").ZodOptional<import("zod").ZodString>;
7661
- op: import("zod").ZodOptional<import("zod").ZodEnum<["is", "is_not", "exists"]>>;
8400
+ op: import("zod").ZodOptional<import("zod").ZodEnum<["is", "is_not", "contains", "exists"]>>;
7662
8401
  value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
8402
+ brought_by_campaign: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
8403
+ campaign_id: import("zod").ZodString;
8404
+ }, "strip", import("zod").ZodTypeAny, {
8405
+ campaign_id: string;
8406
+ }, {
8407
+ campaign_id: string;
8408
+ }>]>>;
7663
8409
  }, "strip", import("zod").ZodTypeAny, {
7664
8410
  event?: string | undefined;
7665
8411
  value?: string | number | boolean | undefined;
7666
8412
  key_event_id?: string | undefined;
8413
+ verb?: "has" | "hasnt" | undefined;
8414
+ where?: {
8415
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8416
+ field_path: string;
8417
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8418
+ }[] | undefined;
8419
+ at_least?: number | undefined;
7667
8420
  scope?: "account" | "person" | undefined;
7668
- attribute?: string | undefined;
7669
8421
  window_days?: number | undefined;
7670
- verb?: "has" | "hasnt" | undefined;
7671
- op?: "exists" | "is" | "is_not" | undefined;
8422
+ attribute?: string | undefined;
8423
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8424
+ brought_by_campaign?: string | {
8425
+ campaign_id: string;
8426
+ } | undefined;
7672
8427
  }, {
7673
8428
  event?: string | undefined;
7674
8429
  value?: string | number | boolean | undefined;
7675
8430
  key_event_id?: string | undefined;
8431
+ verb?: "has" | "hasnt" | undefined;
8432
+ where?: {
8433
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8434
+ field_path: string;
8435
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8436
+ }[] | undefined;
8437
+ at_least?: number | undefined;
7676
8438
  scope?: "account" | "person" | undefined;
7677
- attribute?: string | undefined;
7678
8439
  window_days?: number | undefined;
7679
- verb?: "has" | "hasnt" | undefined;
7680
- op?: "exists" | "is" | "is_not" | undefined;
8440
+ attribute?: string | undefined;
8441
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8442
+ brought_by_campaign?: string | {
8443
+ campaign_id: string;
8444
+ } | undefined;
7681
8445
  }>, "many">;
7682
8446
  }, "strip", import("zod").ZodTypeAny, {
7683
8447
  match: "all" | "any";
@@ -7685,11 +8449,20 @@ export declare const toolDefinitions: {
7685
8449
  event?: string | undefined;
7686
8450
  value?: string | number | boolean | undefined;
7687
8451
  key_event_id?: string | undefined;
8452
+ verb?: "has" | "hasnt" | undefined;
8453
+ where?: {
8454
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8455
+ field_path: string;
8456
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8457
+ }[] | undefined;
8458
+ at_least?: number | undefined;
7688
8459
  scope?: "account" | "person" | undefined;
7689
- attribute?: string | undefined;
7690
8460
  window_days?: number | undefined;
7691
- verb?: "has" | "hasnt" | undefined;
7692
- op?: "exists" | "is" | "is_not" | undefined;
8461
+ attribute?: string | undefined;
8462
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8463
+ brought_by_campaign?: string | {
8464
+ campaign_id: string;
8465
+ } | undefined;
7693
8466
  }[];
7694
8467
  }, {
7695
8468
  match: "all" | "any";
@@ -7697,11 +8470,20 @@ export declare const toolDefinitions: {
7697
8470
  event?: string | undefined;
7698
8471
  value?: string | number | boolean | undefined;
7699
8472
  key_event_id?: string | undefined;
8473
+ verb?: "has" | "hasnt" | undefined;
8474
+ where?: {
8475
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8476
+ field_path: string;
8477
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8478
+ }[] | undefined;
8479
+ at_least?: number | undefined;
7700
8480
  scope?: "account" | "person" | undefined;
7701
- attribute?: string | undefined;
7702
8481
  window_days?: number | undefined;
7703
- verb?: "has" | "hasnt" | undefined;
7704
- op?: "exists" | "is" | "is_not" | undefined;
8482
+ attribute?: string | undefined;
8483
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8484
+ brought_by_campaign?: string | {
8485
+ campaign_id: string;
8486
+ } | undefined;
7705
8487
  }[];
7706
8488
  }>, "many">;
7707
8489
  }, "strip", import("zod").ZodTypeAny, {
@@ -7712,11 +8494,20 @@ export declare const toolDefinitions: {
7712
8494
  event?: string | undefined;
7713
8495
  value?: string | number | boolean | undefined;
7714
8496
  key_event_id?: string | undefined;
8497
+ verb?: "has" | "hasnt" | undefined;
8498
+ where?: {
8499
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8500
+ field_path: string;
8501
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8502
+ }[] | undefined;
8503
+ at_least?: number | undefined;
7715
8504
  scope?: "account" | "person" | undefined;
7716
- attribute?: string | undefined;
7717
8505
  window_days?: number | undefined;
7718
- verb?: "has" | "hasnt" | undefined;
7719
- op?: "exists" | "is" | "is_not" | undefined;
8506
+ attribute?: string | undefined;
8507
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8508
+ brought_by_campaign?: string | {
8509
+ campaign_id: string;
8510
+ } | undefined;
7720
8511
  }[];
7721
8512
  }[];
7722
8513
  }, {
@@ -7727,11 +8518,20 @@ export declare const toolDefinitions: {
7727
8518
  event?: string | undefined;
7728
8519
  value?: string | number | boolean | undefined;
7729
8520
  key_event_id?: string | undefined;
8521
+ verb?: "has" | "hasnt" | undefined;
8522
+ where?: {
8523
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8524
+ field_path: string;
8525
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8526
+ }[] | undefined;
8527
+ at_least?: number | undefined;
7730
8528
  scope?: "account" | "person" | undefined;
7731
- attribute?: string | undefined;
7732
8529
  window_days?: number | undefined;
7733
- verb?: "has" | "hasnt" | undefined;
7734
- op?: "exists" | "is" | "is_not" | undefined;
8530
+ attribute?: string | undefined;
8531
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8532
+ brought_by_campaign?: string | {
8533
+ campaign_id: string;
8534
+ } | undefined;
7735
8535
  }[];
7736
8536
  }[];
7737
8537
  }>>;
@@ -7740,7 +8540,6 @@ export declare const toolDefinitions: {
7740
8540
  segmentId: string;
7741
8541
  name?: string | undefined;
7742
8542
  description?: string | undefined;
7743
- scope?: "workspace" | "org" | undefined;
7744
8543
  conditions?: {
7745
8544
  match: "all" | "any";
7746
8545
  groups: {
@@ -7749,20 +8548,29 @@ export declare const toolDefinitions: {
7749
8548
  event?: string | undefined;
7750
8549
  value?: string | number | boolean | undefined;
7751
8550
  key_event_id?: string | undefined;
8551
+ verb?: "has" | "hasnt" | undefined;
8552
+ where?: {
8553
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8554
+ field_path: string;
8555
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8556
+ }[] | undefined;
8557
+ at_least?: number | undefined;
7752
8558
  scope?: "account" | "person" | undefined;
7753
- attribute?: string | undefined;
7754
8559
  window_days?: number | undefined;
7755
- verb?: "has" | "hasnt" | undefined;
7756
- op?: "exists" | "is" | "is_not" | undefined;
8560
+ attribute?: string | undefined;
8561
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8562
+ brought_by_campaign?: string | {
8563
+ campaign_id: string;
8564
+ } | undefined;
7757
8565
  }[];
7758
8566
  }[];
7759
8567
  } | undefined;
8568
+ scope?: "workspace" | "org" | undefined;
7760
8569
  predicate?: Record<string, unknown> | undefined;
7761
8570
  }, {
7762
8571
  segmentId: string;
7763
8572
  name?: string | undefined;
7764
8573
  description?: string | undefined;
7765
- scope?: "workspace" | "org" | undefined;
7766
8574
  conditions?: {
7767
8575
  match: "all" | "any";
7768
8576
  groups: {
@@ -7771,14 +8579,24 @@ export declare const toolDefinitions: {
7771
8579
  event?: string | undefined;
7772
8580
  value?: string | number | boolean | undefined;
7773
8581
  key_event_id?: string | undefined;
8582
+ verb?: "has" | "hasnt" | undefined;
8583
+ where?: {
8584
+ operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
8585
+ field_path: string;
8586
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
8587
+ }[] | undefined;
8588
+ at_least?: number | undefined;
7774
8589
  scope?: "account" | "person" | undefined;
7775
- attribute?: string | undefined;
7776
8590
  window_days?: number | undefined;
7777
- verb?: "has" | "hasnt" | undefined;
7778
- op?: "exists" | "is" | "is_not" | undefined;
8591
+ attribute?: string | undefined;
8592
+ op?: "exists" | "contains" | "is" | "is_not" | undefined;
8593
+ brought_by_campaign?: string | {
8594
+ campaign_id: string;
8595
+ } | undefined;
7779
8596
  }[];
7780
8597
  }[];
7781
8598
  } | undefined;
8599
+ scope?: "workspace" | "org" | undefined;
7782
8600
  predicate?: Record<string, unknown> | undefined;
7783
8601
  }>;
7784
8602
  handler: (args: {
@@ -8446,18 +9264,82 @@ export declare const toolDefinitions: {
8446
9264
  description: string;
8447
9265
  schema: import("zod").ZodObject<{
8448
9266
  query: import("zod").ZodOptional<import("zod").ZodString>;
9267
+ includeArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
8449
9268
  }, "strip", import("zod").ZodTypeAny, {
8450
9269
  query?: string | undefined;
9270
+ includeArchived?: boolean | undefined;
8451
9271
  }, {
8452
9272
  query?: string | undefined;
9273
+ includeArchived?: boolean | undefined;
8453
9274
  }>;
8454
- handler: ({ query }: {
9275
+ handler: ({ query, includeArchived }: {
8455
9276
  query?: string;
9277
+ includeArchived?: boolean;
9278
+ }) => Promise<{
9279
+ content: {
9280
+ type: "text";
9281
+ text: string;
9282
+ }[];
9283
+ }>;
9284
+ } & {
9285
+ group: ToolGroup;
9286
+ };
9287
+ update_belief: {
9288
+ description: string;
9289
+ schema: import("zod").ZodObject<{
9290
+ beliefId: import("zod").ZodString;
9291
+ statement: import("zod").ZodString;
9292
+ }, "strip", import("zod").ZodTypeAny, {
9293
+ beliefId: string;
9294
+ statement: string;
9295
+ }, {
9296
+ beliefId: string;
9297
+ statement: string;
9298
+ }>;
9299
+ handler: ({ beliefId, statement }: {
9300
+ beliefId: string;
9301
+ statement: string;
9302
+ }) => Promise<{
9303
+ content: {
9304
+ type: "text";
9305
+ text: string;
9306
+ }[];
9307
+ isError: boolean;
9308
+ } | {
9309
+ content: {
9310
+ type: "text";
9311
+ text: string;
9312
+ }[];
9313
+ }>;
9314
+ } & {
9315
+ group: ToolGroup;
9316
+ };
9317
+ archive_belief: {
9318
+ description: string;
9319
+ schema: import("zod").ZodObject<{
9320
+ beliefId: import("zod").ZodString;
9321
+ archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
9322
+ }, "strip", import("zod").ZodTypeAny, {
9323
+ beliefId: string;
9324
+ archived?: boolean | undefined;
9325
+ }, {
9326
+ beliefId: string;
9327
+ archived?: boolean | undefined;
9328
+ }>;
9329
+ handler: ({ beliefId, archived }: {
9330
+ beliefId: string;
9331
+ archived?: boolean;
8456
9332
  }) => Promise<{
8457
9333
  content: {
8458
9334
  type: "text";
8459
9335
  text: string;
8460
9336
  }[];
9337
+ isError: boolean;
9338
+ } | {
9339
+ content: {
9340
+ type: "text";
9341
+ text: string;
9342
+ }[];
8461
9343
  }>;
8462
9344
  } & {
8463
9345
  group: ToolGroup;
@@ -8653,6 +9535,7 @@ export declare const toolDefinitions: {
8653
9535
  name: import("zod").ZodOptional<import("zod").ZodString>;
8654
9536
  surface: import("zod").ZodOptional<import("zod").ZodEnum<["web", "mobile", "paid_channel"]>>;
8655
9537
  hypothesis: import("zod").ZodOptional<import("zod").ZodString>;
9538
+ beliefId: import("zod").ZodOptional<import("zod").ZodString>;
8656
9539
  targetUrl: import("zod").ZodOptional<import("zod").ZodString>;
8657
9540
  predictionId: import("zod").ZodOptional<import("zod").ZodString>;
8658
9541
  primaryMetricEvent: import("zod").ZodOptional<import("zod").ZodString>;
@@ -8663,6 +9546,7 @@ export declare const toolDefinitions: {
8663
9546
  hypothesis?: string | undefined;
8664
9547
  surface?: "web" | "mobile" | "paid_channel" | undefined;
8665
9548
  allocation?: "even" | "adaptive" | undefined;
9549
+ beliefId?: string | undefined;
8666
9550
  predictionId?: string | undefined;
8667
9551
  targetUrl?: string | undefined;
8668
9552
  primaryMetricEvent?: string | undefined;
@@ -8679,6 +9563,7 @@ export declare const toolDefinitions: {
8679
9563
  hypothesis?: string | undefined;
8680
9564
  surface?: "web" | "mobile" | "paid_channel" | undefined;
8681
9565
  allocation?: "even" | "adaptive" | undefined;
9566
+ beliefId?: string | undefined;
8682
9567
  predictionId?: string | undefined;
8683
9568
  targetUrl?: string | undefined;
8684
9569
  primaryMetricEvent?: string | undefined;
@@ -8695,6 +9580,7 @@ export declare const toolDefinitions: {
8695
9580
  name?: string;
8696
9581
  surface?: "web" | "mobile" | "paid_channel";
8697
9582
  hypothesis?: string;
9583
+ beliefId?: string;
8698
9584
  targetUrl?: string;
8699
9585
  predictionId?: string;
8700
9586
  primaryMetricEvent?: string;
@@ -8813,6 +9699,7 @@ export declare const toolDefinitions: {
8813
9699
  path: string;
8814
9700
  content: string;
8815
9701
  }>, "many">>;
9702
+ repo_root: import("zod").ZodOptional<import("zod").ZodString>;
8816
9703
  urls: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
8817
9704
  communication_ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
8818
9705
  journey_ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -8823,6 +9710,7 @@ export declare const toolDefinitions: {
8823
9710
  path: string;
8824
9711
  content: string;
8825
9712
  }[] | undefined;
9713
+ repo_root?: string | undefined;
8826
9714
  urls?: string[] | undefined;
8827
9715
  communication_ids?: string[] | undefined;
8828
9716
  journey_ids?: string[] | undefined;
@@ -8833,6 +9721,7 @@ export declare const toolDefinitions: {
8833
9721
  path: string;
8834
9722
  content: string;
8835
9723
  }[] | undefined;
9724
+ repo_root?: string | undefined;
8836
9725
  urls?: string[] | undefined;
8837
9726
  communication_ids?: string[] | undefined;
8838
9727
  journey_ids?: string[] | undefined;
@@ -8844,6 +9733,7 @@ export declare const toolDefinitions: {
8844
9733
  path: string;
8845
9734
  content: string;
8846
9735
  }>;
9736
+ repo_root?: string;
8847
9737
  urls?: string[];
8848
9738
  communication_ids?: string[];
8849
9739
  journey_ids?: string[];