@sentry/mcp-server 0.5.0 → 0.7.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 (149) hide show
  1. package/dist/api-client/client.cjs +1 -1
  2. package/dist/api-client/client.d.cts +3 -3
  3. package/dist/api-client/client.d.ts +3 -3
  4. package/dist/api-client/client.js +1 -1
  5. package/dist/api-client/client.test.cjs +3 -3
  6. package/dist/api-client/client.test.js +3 -3
  7. package/dist/api-client/index.cjs +1 -1
  8. package/dist/api-client/index.d.cts +4 -4
  9. package/dist/api-client/index.d.ts +4 -4
  10. package/dist/api-client/index.js +1 -1
  11. package/dist/api-client/schema.d.cts +1 -1
  12. package/dist/api-client/schema.d.ts +1 -1
  13. package/dist/api-client/types.d.cts +2 -2
  14. package/dist/api-client/types.d.ts +2 -2
  15. package/dist/{client.d-eUhyVsN_.d.ts → client-7aaWrjcF.d.ts} +11 -2
  16. package/dist/client-7aaWrjcF.d.ts.map +1 -0
  17. package/dist/{client-GWxnTlSP.cjs → client-CLuQEpjg.cjs} +12 -5
  18. package/dist/client-CLuQEpjg.cjs.map +1 -0
  19. package/dist/{client.d-ar2BvC_o.d.cts → client-D1qv6QT3.d.cts} +12 -3
  20. package/dist/client-D1qv6QT3.d.cts.map +1 -0
  21. package/dist/{client-CpiyA8FR.js → client-D9mOWh6s.js} +12 -5
  22. package/dist/client-D9mOWh6s.js.map +1 -0
  23. package/dist/{dist-Bewd5-7a.js → dist-BKh-M1A1.js} +11 -11
  24. package/dist/{dist-Bewd5-7a.js.map → dist-BKh-M1A1.js.map} +1 -1
  25. package/dist/{dist-3oa5SxPp.cjs → dist-wiyJYfAH.cjs} +11 -11
  26. package/dist/{dist-3oa5SxPp.cjs.map → dist-wiyJYfAH.cjs.map} +1 -1
  27. package/dist/{formatting-BTSvl7n7.cjs → formatting-BmbJ5-Uh.cjs} +25 -1
  28. package/dist/formatting-BmbJ5-Uh.cjs.map +1 -0
  29. package/dist/formatting-C6Py2iOz.js +46 -0
  30. package/dist/formatting-C6Py2iOz.js.map +1 -0
  31. package/dist/index.cjs +16 -10
  32. package/dist/index.cjs.map +1 -1
  33. package/dist/index.js +16 -10
  34. package/dist/index.js.map +1 -1
  35. package/dist/internal/formatting.cjs +3 -2
  36. package/dist/internal/formatting.d.cts +16 -5
  37. package/dist/internal/formatting.d.cts.map +1 -1
  38. package/dist/internal/formatting.d.ts +16 -5
  39. package/dist/internal/formatting.d.ts.map +1 -1
  40. package/dist/internal/formatting.js +2 -2
  41. package/dist/internal/issue-helpers.test.cjs +2 -2
  42. package/dist/internal/issue-helpers.test.js +2 -2
  43. package/dist/{promptDefinitions.d-DyHOzL57.d.ts → promptDefinitions-C85r2wAk.d.ts} +1 -1
  44. package/dist/promptDefinitions-C85r2wAk.d.ts.map +1 -0
  45. package/dist/{promptDefinitions.d-ByaZdRYv.d.cts → promptDefinitions-CkGJr3c4.d.cts} +1 -1
  46. package/dist/promptDefinitions-CkGJr3c4.d.cts.map +1 -0
  47. package/dist/promptDefinitions.d.cts +1 -1
  48. package/dist/promptDefinitions.d.ts +1 -1
  49. package/dist/{schema.d-DwpHAZsi.d.ts → schema-BnIwkBRb.d.ts} +1 -1
  50. package/dist/schema-BnIwkBRb.d.ts.map +1 -0
  51. package/dist/{schema.d-DJThZSuo.d.cts → schema-aits0AJg.d.cts} +29 -29
  52. package/dist/schema-aits0AJg.d.cts.map +1 -0
  53. package/dist/{server-oefnmsHZ.js → server-0pTMWBNO.js} +11 -9
  54. package/dist/server-0pTMWBNO.js.map +1 -0
  55. package/dist/{server-D-JY6wPp.cjs → server-C9hKLN_c.cjs} +10 -8
  56. package/dist/server-C9hKLN_c.cjs.map +1 -0
  57. package/dist/server.cjs +5 -5
  58. package/dist/server.d.cts +3 -3
  59. package/dist/server.d.cts.map +1 -1
  60. package/dist/server.d.ts +3 -3
  61. package/dist/server.d.ts.map +1 -1
  62. package/dist/server.js +5 -5
  63. package/dist/{stdio-B31CD06F.js → stdio-8gK912aj.js} +2 -2
  64. package/dist/{stdio-B31CD06F.js.map → stdio-8gK912aj.js.map} +1 -1
  65. package/dist/{stdio-BsGPoQfx.cjs → stdio-BsM7bvfc.cjs} +2 -2
  66. package/dist/{stdio-BsGPoQfx.cjs.map → stdio-BsM7bvfc.cjs.map} +1 -1
  67. package/dist/test-setup.cjs +40 -74
  68. package/dist/test-setup.cjs.map +1 -1
  69. package/dist/test-setup.js +40 -74
  70. package/dist/test-setup.js.map +1 -1
  71. package/dist/{toolDefinitions-C0t6Y5Su.cjs → toolDefinitions-CRtHauHJ.cjs} +18 -3
  72. package/dist/toolDefinitions-CRtHauHJ.cjs.map +1 -0
  73. package/dist/{toolDefinitions-DB4pPvgy.js → toolDefinitions-CfNXEIaX.js} +18 -3
  74. package/dist/toolDefinitions-CfNXEIaX.js.map +1 -0
  75. package/dist/{toolDefinitions.d-CsT15_MF.d.cts → toolDefinitions-DPePAe0y.d.cts} +16 -1
  76. package/dist/toolDefinitions-DPePAe0y.d.cts.map +1 -0
  77. package/dist/{toolDefinitions.d-C5JUBInb.d.ts → toolDefinitions-abNbVXb5.d.ts} +16 -1
  78. package/dist/toolDefinitions-abNbVXb5.d.ts.map +1 -0
  79. package/dist/toolDefinitions.cjs +1 -1
  80. package/dist/toolDefinitions.d.cts +1 -1
  81. package/dist/toolDefinitions.d.ts +1 -1
  82. package/dist/toolDefinitions.js +1 -1
  83. package/dist/toolDefinitions.test.cjs +2 -2
  84. package/dist/toolDefinitions.test.js +2 -2
  85. package/dist/{tools-Ck2CHZeM.cjs → tools-2PgtFQ7q.cjs} +65 -46
  86. package/dist/tools-2PgtFQ7q.cjs.map +1 -0
  87. package/dist/{tools-_Y9eV4LR.js → tools-D5yXarBR.js} +65 -47
  88. package/dist/tools-D5yXarBR.js.map +1 -0
  89. package/dist/tools.cjs +3 -3
  90. package/dist/tools.d.cts +18 -3
  91. package/dist/tools.d.cts.map +1 -1
  92. package/dist/tools.d.ts +18 -3
  93. package/dist/tools.d.ts.map +1 -1
  94. package/dist/tools.js +3 -3
  95. package/dist/tools.test.cjs +99 -27
  96. package/dist/tools.test.cjs.map +1 -1
  97. package/dist/tools.test.js +99 -27
  98. package/dist/tools.test.js.map +1 -1
  99. package/dist/transports/stdio.cjs +6 -6
  100. package/dist/transports/stdio.d.cts +3 -3
  101. package/dist/transports/stdio.d.ts +3 -3
  102. package/dist/transports/stdio.js +6 -6
  103. package/dist/{types.d-BfhMPrt_.d.cts → types-DFKY4nvR.d.cts} +4 -3
  104. package/dist/types-DFKY4nvR.d.cts.map +1 -0
  105. package/dist/{types.d-Z5OEf3rw.d.cts → types-Dg6ARePW.d.cts} +2 -2
  106. package/dist/types-Dg6ARePW.d.cts.map +1 -0
  107. package/dist/{types.d-B-acZthg.d.ts → types-RxedZjnY.d.ts} +2 -2
  108. package/dist/types-RxedZjnY.d.ts.map +1 -0
  109. package/dist/{types.d-BeKsSRmy.d.ts → types-X3ot7x0d.d.ts} +4 -3
  110. package/dist/types-X3ot7x0d.d.ts.map +1 -0
  111. package/dist/types.d.cts +3 -3
  112. package/dist/types.d.ts +3 -3
  113. package/dist/{version-BFCcfCIj.cjs → version-B3dZ0aPQ.cjs} +2 -2
  114. package/dist/{version-BFCcfCIj.cjs.map → version-B3dZ0aPQ.cjs.map} +1 -1
  115. package/dist/version-psBzsZ8-.js +6 -0
  116. package/dist/{version-B5Fav38l.js.map → version-psBzsZ8-.js.map} +1 -1
  117. package/dist/version.cjs +1 -1
  118. package/dist/version.js +1 -1
  119. package/dist/{vi.ClIskdbk-Dd6dTM3O.js → vi.ClIskdbk-BbUmO3mx.js} +9 -9
  120. package/dist/{vi.ClIskdbk-Dd6dTM3O.js.map → vi.ClIskdbk-BbUmO3mx.js.map} +1 -1
  121. package/dist/{vi.ClIskdbk-Bn6W0wTE.cjs → vi.ClIskdbk-TqmAThAO.cjs} +9 -9
  122. package/dist/{vi.ClIskdbk-Bn6W0wTE.cjs.map → vi.ClIskdbk-TqmAThAO.cjs.map} +1 -1
  123. package/package.json +8 -8
  124. package/dist/client-CpiyA8FR.js.map +0 -1
  125. package/dist/client-GWxnTlSP.cjs.map +0 -1
  126. package/dist/client.d-ar2BvC_o.d.cts.map +0 -1
  127. package/dist/client.d-eUhyVsN_.d.ts.map +0 -1
  128. package/dist/formatting-BTSvl7n7.cjs.map +0 -1
  129. package/dist/formatting-Bacfde0I.js +0 -28
  130. package/dist/formatting-Bacfde0I.js.map +0 -1
  131. package/dist/promptDefinitions.d-ByaZdRYv.d.cts.map +0 -1
  132. package/dist/promptDefinitions.d-DyHOzL57.d.ts.map +0 -1
  133. package/dist/schema.d-DJThZSuo.d.cts.map +0 -1
  134. package/dist/schema.d-DwpHAZsi.d.ts.map +0 -1
  135. package/dist/server-D-JY6wPp.cjs.map +0 -1
  136. package/dist/server-oefnmsHZ.js.map +0 -1
  137. package/dist/toolDefinitions-C0t6Y5Su.cjs.map +0 -1
  138. package/dist/toolDefinitions-DB4pPvgy.js.map +0 -1
  139. package/dist/toolDefinitions.d-C5JUBInb.d.ts.map +0 -1
  140. package/dist/toolDefinitions.d-CsT15_MF.d.cts.map +0 -1
  141. package/dist/tools-Ck2CHZeM.cjs.map +0 -1
  142. package/dist/tools-_Y9eV4LR.js.map +0 -1
  143. package/dist/types.d-B-acZthg.d.ts.map +0 -1
  144. package/dist/types.d-BeKsSRmy.d.ts.map +0 -1
  145. package/dist/types.d-BfhMPrt_.d.cts.map +0 -1
  146. package/dist/types.d-Z5OEf3rw.d.cts.map +0 -1
  147. package/dist/version-B5Fav38l.js +0 -6
  148. /package/dist/{index.d-Cb-lHGvn.d.cts → index-BPSCxsMC.d.cts} +0 -0
  149. /package/dist/{index.d-kYckfDWv.d.ts → index-h64gcVNJ.d.ts} +0 -0
@@ -163,15 +163,30 @@ const TOOL_DEFINITIONS = [
163
163
  "- Investigate a specific production error",
164
164
  "- Access detailed error information and stacktraces from Sentry",
165
165
  "",
166
+ "<examples>",
167
+ "### Get details for issue ID 'CLOUDFLARE-MCP-41'",
168
+ "",
169
+ "```",
170
+ "get_issue_details(organizationSlug='my-organization', issueId='CLOUDFLARE-MCP-41')",
171
+ "```",
172
+ "",
173
+ "### Get details for event ID 'c49541c747cb4d8aa3efb70ca5aba243'",
174
+ "",
175
+ "```",
176
+ "get_event_details(organizationSlug='my-organization', eventId='c49541c747cb4d8aa3efb70ca5aba243')",
177
+ "```",
178
+ "</examples>",
166
179
  "<hints>",
167
- "- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.",
168
- "- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.",
180
+ "- If the user provides the `issueUrl`, you can ignore the other parameters.",
181
+ "- If the user provides `issueId` or `eventId` (only one is needed), `organizationSlug` is required.",
182
+ "- If you're uncertain about which organization to query, you should call `list_organizations()` first.",
169
183
  "</hints>"
170
184
  ].join("\n"),
171
185
  paramsSchema: {
172
186
  organizationSlug: require_schema.ParamOrganizationSlug.optional(),
173
187
  regionUrl: require_schema.ParamRegionUrl.optional(),
174
188
  issueId: require_schema.ParamIssueShortId.optional(),
189
+ eventId: zod.z.string().describe("The ID of the event.").optional(),
175
190
  issueUrl: zod.z.string().url().describe("The URL of the issue to retrieve details for.").optional()
176
191
  }
177
192
  },
@@ -425,4 +440,4 @@ Object.defineProperty(exports, 'TOOL_DEFINITIONS', {
425
440
  return TOOL_DEFINITIONS;
426
441
  }
427
442
  });
428
- //# sourceMappingURL=toolDefinitions-C0t6Y5Su.cjs.map
443
+ //# sourceMappingURL=toolDefinitions-CRtHauHJ.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolDefinitions-CRtHauHJ.cjs","names":[],"sources":["../src/toolDefinitions.ts"],"sourcesContent":["// TODO: this gets imported by the client code and thus is separated from server code\n// to avoid bundling issues. We'd like to find a better solution that isnt so brittle and keeps this code co-located w/ its tool calls.\nimport {\n ParamOrganizationSlug,\n ParamIssueShortId,\n ParamTeamSlug,\n ParamPlatform,\n ParamProjectSlug,\n ParamQuery,\n ParamTransaction,\n ParamRegionUrl,\n} from \"./schema\";\nimport { z } from \"zod\";\n\nexport const TOOL_DEFINITIONS = [\n {\n name: \"list_organizations\" as const,\n description: [\n \"List all organizations that the user has access to in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all organizations in Sentry\",\n \"- Find an organization's slug to aid other tool requests\",\n ].join(\"\\n\"),\n },\n {\n name: \"list_teams\" as const,\n description: [\n \"List all teams in an organization in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all teams in a Sentry organization\",\n \"- Find an team's slug to aid other tool requests\",\n \"\",\n \"<hints>\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"list_projects\" as const,\n description: [\n \"Retrieve a list of projects in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all projects in a Sentry organization\",\n \"- Find an project's slug to aid other tool requests\",\n \"\",\n \"<hints>\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"list_issues\" as const,\n description: [\n \"List all issues in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all issues in a Sentry organization\",\n \"\",\n \"If you're looking for more granular data beyond a summary of identified problems, you should use the `search_errors()` or `search_transactions()` tools instead.\",\n \"\",\n \"<examples>\",\n \"### Find the newest unresolved issues across 'my-organization'\",\n \"\",\n \"```\",\n \"list_issues(organizationSlug='my-organization', query='is:unresolved', sortBy='last_seen')\",\n \"```\",\n \"\",\n \"### Find the most frequently occurring crashes in the 'my-project' project\",\n \"\",\n \"```\",\n \"list_issues(organizationSlug='my-organization', projectSlug='my-project', query='is:unresolved error.handled:false', sortBy='count')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `list_organizations()` first.\",\n \"- You can use the `list_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"last_seen\", \"first_seen\", \"count\", \"userCount\"])\n .describe(\n \"Sort the results either by the last time they occurred, the first time they occurred, the count of occurrences, or the number of users affected.\",\n )\n .optional(),\n },\n },\n {\n name: \"list_releases\" as const,\n description: [\n \"List all releases in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Find recent releases in a Sentry organization\",\n \"- Find the most recent version released of a specific project\",\n \"- Determine when a release was deployed to an environment\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n },\n },\n {\n name: \"list_tags\" as const,\n description: [\n \"List all tags in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Find tags available to use in searches\",\n \"\",\n \"<hints>\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"get_issue_summary\" as const,\n description: [\n \"Retrieve a summary of an issue in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View a summary of an issue in Sentry\",\n \"\",\n \"If the issue is an error, or you want additional information like the stacktrace, you should use `get_issue_details()` tool instead.\",\n \"\",\n \"<hints>\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n {\n name: \"get_issue_details\" as const,\n description: [\n \"Retrieve issue details from Sentry for a specific Issue ID, including the stacktrace and error message if available. Either issueId or issueUrl MUST be provided.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Investigate a specific production error\",\n \"- Access detailed error information and stacktraces from Sentry\",\n \"\",\n \"<examples>\",\n \"### Get details for issue ID 'CLOUDFLARE-MCP-41'\",\n \"\",\n \"```\",\n \"get_issue_details(organizationSlug='my-organization', issueId='CLOUDFLARE-MCP-41')\",\n \"```\",\n \"\",\n \"### Get details for event ID 'c49541c747cb4d8aa3efb70ca5aba243'\",\n \"\",\n \"```\",\n \"get_event_details(organizationSlug='my-organization', eventId='c49541c747cb4d8aa3efb70ca5aba243')\",\n \"```\",\n \"</examples>\",\n\n \"<hints>\",\n \"- If the user provides the `issueUrl`, you can ignore the other parameters.\",\n \"- If the user provides `issueId` or `eventId` (only one is needed), `organizationSlug` is required.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n eventId: z.string().describe(\"The ID of the event.\").optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n {\n name: \"search_errors\" as const,\n description: [\n \"Query Sentry for errors using advanced search syntax.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Search for production errors in a specific file.\",\n \"- Analyze error patterns and frequencies.\",\n \"- Find recent or frequently occurring errors.\",\n \"\",\n \"<examples>\",\n \"### Find common errors within a file\",\n \"\",\n \"To find common errors within a file, you can use the `filename` parameter. This is a suffix based search, so only using the filename or the direct parent folder of the file. The parent folder is preferred when the filename is in a subfolder or a common filename. If you provide generic filenames like `index.js` you're going to end up finding errors that are might be from completely different projects.\",\n \"\",\n \"```\",\n \"search_errors(organizationSlug='my-organization', filename='index.js', sortBy='count')\",\n \"```\",\n \"\",\n \"### Find recent crashes from the 'peated' project\",\n \"\",\n \"```\",\n \"search_errors(organizationSlug='my-organization', query='is:unresolved error.handled:false', projectSlug='peated', sortBy='last_seen')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `list_organizations()` first.\",\n \"- If you are looking for issues, in a way that you might be looking for something like 'unresolved errors', you should use the `list_issues()` tool\",\n \"- You can use the `list_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n filename: z\n .string()\n .describe(\"The filename to search for errors in.\")\n .optional(),\n transaction: ParamTransaction.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"last_seen\", \"count\"])\n .optional()\n .default(\"last_seen\")\n .describe(\n \"Sort the results either by the last time they occurred or the count of occurrences.\",\n ),\n },\n },\n {\n name: \"search_transactions\" as const,\n description: [\n \"Query Sentry for transactions using advanced search syntax.\",\n \"\",\n \"Transactions are segments of traces that are associated with a specific route or endpoint.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Search for production transaction data to understand performance.\",\n \"- Analyze traces and latency patterns.\",\n \"- Find examples of recent requests to endpoints.\",\n \"\",\n \"<examples>\",\n \"### Find slow requests to a route\",\n \"\",\n \"...\",\n \"\",\n \"```\",\n \"search_transactions(organizationSlug='my-organization', transaction='/checkout', sortBy='latency')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `list_organizations()` first.\",\n \"- You can use the `list_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n transaction: ParamTransaction.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"timestamp\", \"duration\"])\n .optional()\n .default(\"timestamp\")\n .describe(\n \"Sort the results either by the timestamp of the request (most recent first) or the duration of the request (longest first).\",\n ),\n },\n },\n {\n name: \"create_team\" as const,\n description: [\n \"Create a new team in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new team in a Sentry organization\",\n \"\",\n \"<hints>\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n name: z.string().describe(\"The name of the team to create.\"),\n },\n },\n {\n name: \"create_project\" as const,\n description: [\n \"Create a new project in Sentry, giving you access to a new SENTRY_DSN.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new project in a Sentry organization\",\n \"\",\n \"<examples>\",\n \"### Create a new javascript project in the 'my-organization' organization\",\n \"\",\n \"```\",\n \"create_project(organizationSlug='my-organization', teamSlug='my-team', name='my-project', platform='javascript')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<teamSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n teamSlug: z.string().describe(\"The team's slug.\"),\n name: z\n .string()\n .describe(\n \"The name of the project to create. Typically this is commonly the name of the repository or service. It is only used as a visual label in Sentry.\",\n ),\n platform: ParamPlatform.optional(),\n },\n },\n {\n name: \"create_dsn\" as const,\n description: [\n \"Create a new Sentry DSN for a specific project.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new DSN for a specific project\",\n \"\",\n \"<examples>\",\n \"### Create a new DSN for the 'my-project' project\",\n \"\",\n \"```\",\n \"create_dsn(organizationSlug='my-organization', projectSlug='my-project', name='Default')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: z.string().describe(\"The project's slug.\"),\n name: z.string().describe(\"The name of the DSN to create.\"),\n },\n },\n {\n name: \"list_dsns\" as const,\n description: [\n \"List all Sentry DSNs for a specific project.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Retrieve a SENTRY_DSN for a specific project\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: z.string().describe(\"The project's slug.\"),\n },\n },\n {\n name: \"begin_autofix\" as const,\n description: [\n \"Analyze an issue in Sentry, identify a root cause, and suggest a fix for it.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Determine the root cause of an issue.\",\n \"- Generate a plan for fixing an issue.\",\n \"- Implement a fix for an issue.\",\n \"\",\n \"This operation may take some time, so you should call `get_autofix_status()` to check the status of the analysis after you begin it.\",\n \"\",\n \"<examples>\",\n \"### Analyze and propose a fix for 'ISSUE-123' in Sentry\",\n \"\",\n \"```\",\n \"begin_autofix(organizationSlug='my-organization', issueId='ISSUE-123')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- Always check to see if an autofix is in progress for before calling this tool by using `get_autofix_status()`.\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n {\n name: \"get_autofix_status\" as const,\n description: [\n \"Get the status of a root cause analysis for an issue in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Get the root cause analysis for an issue.\",\n \"- Get the status of a fix for an issue.\",\n \"\",\n \"<examples>\",\n \"### Get the status of a fix for the 'ISSUE-123' issue\",\n \"\",\n \"```\",\n \"get_autofix_status(organizationSlug='my-organization', issueId='ISSUE-123')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n];\n"],"mappings":";;;;;;AAcA,MAAa,mBAAmB;CAC9B;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;CACb;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,aAAa,gCAAiB,UAAU;GACxC,OAAO,0BAAW,UAAU;GAC5B,QAAQ,MACL,KAAK;IAAC;IAAa;IAAc;IAAS;GAAY,EAAC,CACvD,SACC,mJACD,CACA,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,aAAa,gCAAiB,UAAU;EACzC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,SAAS,iCAAkB,UAAU;GACrC,UAAU,MACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAEA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,SAAS,iCAAkB,UAAU;GACrC,SAAS,MAAE,QAAQ,CAAC,SAAS,uBAAuB,CAAC,UAAU;GAC/D,UAAU,MACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,aAAa,gCAAiB,UAAU;GACxC,UAAU,MACP,QAAQ,CACR,SAAS,wCAAwC,CACjD,UAAU;GACb,aAAa,gCAAiB,UAAU;GACxC,OAAO,0BAAW,UAAU;GAC5B,QAAQ,MACL,KAAK,CAAC,aAAa,OAAQ,EAAC,CAC5B,UAAU,CACV,QAAQ,YAAY,CACpB,SACC,sFACD;EACJ;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,aAAa,gCAAiB,UAAU;GACxC,aAAa,gCAAiB,UAAU;GACxC,OAAO,0BAAW,UAAU;GAC5B,QAAQ,MACL,KAAK,CAAC,aAAa,UAAW,EAAC,CAC/B,UAAU,CACV,QAAQ,YAAY,CACpB,SACC,8HACD;EACJ;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,MAAM,MAAE,QAAQ,CAAC,SAAS,kCAAkC;EAC7D;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,UAAU,MAAE,QAAQ,CAAC,SAAS,mBAAmB;GACjD,MAAM,MACH,QAAQ,CACR,SACC,oJACD;GACH,UAAU,6BAAc,UAAU;EACnC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,aAAa,MAAE,QAAQ,CAAC,SAAS,sBAAsB;GACvD,MAAM,MAAE,QAAQ,CAAC,SAAS,iCAAiC;EAC5D;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,aAAa,MAAE,QAAQ,CAAC,SAAS,sBAAsB;EACxD;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,SAAS,iCAAkB,UAAU;GACrC,UAAU,MACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,SAAS,iCAAkB,UAAU;GACrC,UAAU,MACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;AACF"}
@@ -161,15 +161,30 @@ const TOOL_DEFINITIONS = [
161
161
  "- Investigate a specific production error",
162
162
  "- Access detailed error information and stacktraces from Sentry",
163
163
  "",
164
+ "<examples>",
165
+ "### Get details for issue ID 'CLOUDFLARE-MCP-41'",
166
+ "",
167
+ "```",
168
+ "get_issue_details(organizationSlug='my-organization', issueId='CLOUDFLARE-MCP-41')",
169
+ "```",
170
+ "",
171
+ "### Get details for event ID 'c49541c747cb4d8aa3efb70ca5aba243'",
172
+ "",
173
+ "```",
174
+ "get_event_details(organizationSlug='my-organization', eventId='c49541c747cb4d8aa3efb70ca5aba243')",
175
+ "```",
176
+ "</examples>",
164
177
  "<hints>",
165
- "- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.",
166
- "- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.",
178
+ "- If the user provides the `issueUrl`, you can ignore the other parameters.",
179
+ "- If the user provides `issueId` or `eventId` (only one is needed), `organizationSlug` is required.",
180
+ "- If you're uncertain about which organization to query, you should call `list_organizations()` first.",
167
181
  "</hints>"
168
182
  ].join("\n"),
169
183
  paramsSchema: {
170
184
  organizationSlug: ParamOrganizationSlug.optional(),
171
185
  regionUrl: ParamRegionUrl.optional(),
172
186
  issueId: ParamIssueShortId.optional(),
187
+ eventId: z.string().describe("The ID of the event.").optional(),
173
188
  issueUrl: z.string().url().describe("The URL of the issue to retrieve details for.").optional()
174
189
  }
175
190
  },
@@ -418,4 +433,4 @@ const TOOL_DEFINITIONS = [
418
433
 
419
434
  //#endregion
420
435
  export { TOOL_DEFINITIONS };
421
- //# sourceMappingURL=toolDefinitions-DB4pPvgy.js.map
436
+ //# sourceMappingURL=toolDefinitions-CfNXEIaX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolDefinitions-CfNXEIaX.js","names":[],"sources":["../src/toolDefinitions.ts"],"sourcesContent":["// TODO: this gets imported by the client code and thus is separated from server code\n// to avoid bundling issues. We'd like to find a better solution that isnt so brittle and keeps this code co-located w/ its tool calls.\nimport {\n ParamOrganizationSlug,\n ParamIssueShortId,\n ParamTeamSlug,\n ParamPlatform,\n ParamProjectSlug,\n ParamQuery,\n ParamTransaction,\n ParamRegionUrl,\n} from \"./schema\";\nimport { z } from \"zod\";\n\nexport const TOOL_DEFINITIONS = [\n {\n name: \"list_organizations\" as const,\n description: [\n \"List all organizations that the user has access to in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all organizations in Sentry\",\n \"- Find an organization's slug to aid other tool requests\",\n ].join(\"\\n\"),\n },\n {\n name: \"list_teams\" as const,\n description: [\n \"List all teams in an organization in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all teams in a Sentry organization\",\n \"- Find an team's slug to aid other tool requests\",\n \"\",\n \"<hints>\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"list_projects\" as const,\n description: [\n \"Retrieve a list of projects in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all projects in a Sentry organization\",\n \"- Find an project's slug to aid other tool requests\",\n \"\",\n \"<hints>\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"list_issues\" as const,\n description: [\n \"List all issues in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all issues in a Sentry organization\",\n \"\",\n \"If you're looking for more granular data beyond a summary of identified problems, you should use the `search_errors()` or `search_transactions()` tools instead.\",\n \"\",\n \"<examples>\",\n \"### Find the newest unresolved issues across 'my-organization'\",\n \"\",\n \"```\",\n \"list_issues(organizationSlug='my-organization', query='is:unresolved', sortBy='last_seen')\",\n \"```\",\n \"\",\n \"### Find the most frequently occurring crashes in the 'my-project' project\",\n \"\",\n \"```\",\n \"list_issues(organizationSlug='my-organization', projectSlug='my-project', query='is:unresolved error.handled:false', sortBy='count')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `list_organizations()` first.\",\n \"- You can use the `list_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"last_seen\", \"first_seen\", \"count\", \"userCount\"])\n .describe(\n \"Sort the results either by the last time they occurred, the first time they occurred, the count of occurrences, or the number of users affected.\",\n )\n .optional(),\n },\n },\n {\n name: \"list_releases\" as const,\n description: [\n \"List all releases in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Find recent releases in a Sentry organization\",\n \"- Find the most recent version released of a specific project\",\n \"- Determine when a release was deployed to an environment\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n },\n },\n {\n name: \"list_tags\" as const,\n description: [\n \"List all tags in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Find tags available to use in searches\",\n \"\",\n \"<hints>\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"get_issue_summary\" as const,\n description: [\n \"Retrieve a summary of an issue in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View a summary of an issue in Sentry\",\n \"\",\n \"If the issue is an error, or you want additional information like the stacktrace, you should use `get_issue_details()` tool instead.\",\n \"\",\n \"<hints>\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n {\n name: \"get_issue_details\" as const,\n description: [\n \"Retrieve issue details from Sentry for a specific Issue ID, including the stacktrace and error message if available. Either issueId or issueUrl MUST be provided.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Investigate a specific production error\",\n \"- Access detailed error information and stacktraces from Sentry\",\n \"\",\n \"<examples>\",\n \"### Get details for issue ID 'CLOUDFLARE-MCP-41'\",\n \"\",\n \"```\",\n \"get_issue_details(organizationSlug='my-organization', issueId='CLOUDFLARE-MCP-41')\",\n \"```\",\n \"\",\n \"### Get details for event ID 'c49541c747cb4d8aa3efb70ca5aba243'\",\n \"\",\n \"```\",\n \"get_event_details(organizationSlug='my-organization', eventId='c49541c747cb4d8aa3efb70ca5aba243')\",\n \"```\",\n \"</examples>\",\n\n \"<hints>\",\n \"- If the user provides the `issueUrl`, you can ignore the other parameters.\",\n \"- If the user provides `issueId` or `eventId` (only one is needed), `organizationSlug` is required.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n eventId: z.string().describe(\"The ID of the event.\").optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n {\n name: \"search_errors\" as const,\n description: [\n \"Query Sentry for errors using advanced search syntax.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Search for production errors in a specific file.\",\n \"- Analyze error patterns and frequencies.\",\n \"- Find recent or frequently occurring errors.\",\n \"\",\n \"<examples>\",\n \"### Find common errors within a file\",\n \"\",\n \"To find common errors within a file, you can use the `filename` parameter. This is a suffix based search, so only using the filename or the direct parent folder of the file. The parent folder is preferred when the filename is in a subfolder or a common filename. If you provide generic filenames like `index.js` you're going to end up finding errors that are might be from completely different projects.\",\n \"\",\n \"```\",\n \"search_errors(organizationSlug='my-organization', filename='index.js', sortBy='count')\",\n \"```\",\n \"\",\n \"### Find recent crashes from the 'peated' project\",\n \"\",\n \"```\",\n \"search_errors(organizationSlug='my-organization', query='is:unresolved error.handled:false', projectSlug='peated', sortBy='last_seen')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `list_organizations()` first.\",\n \"- If you are looking for issues, in a way that you might be looking for something like 'unresolved errors', you should use the `list_issues()` tool\",\n \"- You can use the `list_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n filename: z\n .string()\n .describe(\"The filename to search for errors in.\")\n .optional(),\n transaction: ParamTransaction.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"last_seen\", \"count\"])\n .optional()\n .default(\"last_seen\")\n .describe(\n \"Sort the results either by the last time they occurred or the count of occurrences.\",\n ),\n },\n },\n {\n name: \"search_transactions\" as const,\n description: [\n \"Query Sentry for transactions using advanced search syntax.\",\n \"\",\n \"Transactions are segments of traces that are associated with a specific route or endpoint.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Search for production transaction data to understand performance.\",\n \"- Analyze traces and latency patterns.\",\n \"- Find examples of recent requests to endpoints.\",\n \"\",\n \"<examples>\",\n \"### Find slow requests to a route\",\n \"\",\n \"...\",\n \"\",\n \"```\",\n \"search_transactions(organizationSlug='my-organization', transaction='/checkout', sortBy='latency')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `list_organizations()` first.\",\n \"- You can use the `list_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n transaction: ParamTransaction.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"timestamp\", \"duration\"])\n .optional()\n .default(\"timestamp\")\n .describe(\n \"Sort the results either by the timestamp of the request (most recent first) or the duration of the request (longest first).\",\n ),\n },\n },\n {\n name: \"create_team\" as const,\n description: [\n \"Create a new team in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new team in a Sentry organization\",\n \"\",\n \"<hints>\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n name: z.string().describe(\"The name of the team to create.\"),\n },\n },\n {\n name: \"create_project\" as const,\n description: [\n \"Create a new project in Sentry, giving you access to a new SENTRY_DSN.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new project in a Sentry organization\",\n \"\",\n \"<examples>\",\n \"### Create a new javascript project in the 'my-organization' organization\",\n \"\",\n \"```\",\n \"create_project(organizationSlug='my-organization', teamSlug='my-team', name='my-project', platform='javascript')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<teamSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n teamSlug: z.string().describe(\"The team's slug.\"),\n name: z\n .string()\n .describe(\n \"The name of the project to create. Typically this is commonly the name of the repository or service. It is only used as a visual label in Sentry.\",\n ),\n platform: ParamPlatform.optional(),\n },\n },\n {\n name: \"create_dsn\" as const,\n description: [\n \"Create a new Sentry DSN for a specific project.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new DSN for a specific project\",\n \"\",\n \"<examples>\",\n \"### Create a new DSN for the 'my-project' project\",\n \"\",\n \"```\",\n \"create_dsn(organizationSlug='my-organization', projectSlug='my-project', name='Default')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: z.string().describe(\"The project's slug.\"),\n name: z.string().describe(\"The name of the DSN to create.\"),\n },\n },\n {\n name: \"list_dsns\" as const,\n description: [\n \"List all Sentry DSNs for a specific project.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Retrieve a SENTRY_DSN for a specific project\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: z.string().describe(\"The project's slug.\"),\n },\n },\n {\n name: \"begin_autofix\" as const,\n description: [\n \"Analyze an issue in Sentry, identify a root cause, and suggest a fix for it.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Determine the root cause of an issue.\",\n \"- Generate a plan for fixing an issue.\",\n \"- Implement a fix for an issue.\",\n \"\",\n \"This operation may take some time, so you should call `get_autofix_status()` to check the status of the analysis after you begin it.\",\n \"\",\n \"<examples>\",\n \"### Analyze and propose a fix for 'ISSUE-123' in Sentry\",\n \"\",\n \"```\",\n \"begin_autofix(organizationSlug='my-organization', issueId='ISSUE-123')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- Always check to see if an autofix is in progress for before calling this tool by using `get_autofix_status()`.\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n {\n name: \"get_autofix_status\" as const,\n description: [\n \"Get the status of a root cause analysis for an issue in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Get the root cause analysis for an issue.\",\n \"- Get the status of a fix for an issue.\",\n \"\",\n \"<examples>\",\n \"### Get the status of a fix for the 'ISSUE-123' issue\",\n \"\",\n \"```\",\n \"get_autofix_status(organizationSlug='my-organization', issueId='ISSUE-123')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n];\n"],"mappings":";;;;AAcA,MAAa,mBAAmB;CAC9B;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;CACb;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,aAAa,iBAAiB,UAAU;GACxC,OAAO,WAAW,UAAU;GAC5B,QAAQ,EACL,KAAK;IAAC;IAAa;IAAc;IAAS;GAAY,EAAC,CACvD,SACC,mJACD,CACA,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,aAAa,iBAAiB,UAAU;EACzC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,SAAS,kBAAkB,UAAU;GACrC,UAAU,EACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAEA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,SAAS,kBAAkB,UAAU;GACrC,SAAS,EAAE,QAAQ,CAAC,SAAS,uBAAuB,CAAC,UAAU;GAC/D,UAAU,EACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,aAAa,iBAAiB,UAAU;GACxC,UAAU,EACP,QAAQ,CACR,SAAS,wCAAwC,CACjD,UAAU;GACb,aAAa,iBAAiB,UAAU;GACxC,OAAO,WAAW,UAAU;GAC5B,QAAQ,EACL,KAAK,CAAC,aAAa,OAAQ,EAAC,CAC5B,UAAU,CACV,QAAQ,YAAY,CACpB,SACC,sFACD;EACJ;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,aAAa,iBAAiB,UAAU;GACxC,aAAa,iBAAiB,UAAU;GACxC,OAAO,WAAW,UAAU;GAC5B,QAAQ,EACL,KAAK,CAAC,aAAa,UAAW,EAAC,CAC/B,UAAU,CACV,QAAQ,YAAY,CACpB,SACC,8HACD;EACJ;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,MAAM,EAAE,QAAQ,CAAC,SAAS,kCAAkC;EAC7D;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,UAAU,EAAE,QAAQ,CAAC,SAAS,mBAAmB;GACjD,MAAM,EACH,QAAQ,CACR,SACC,oJACD;GACH,UAAU,cAAc,UAAU;EACnC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,aAAa,EAAE,QAAQ,CAAC,SAAS,sBAAsB;GACvD,MAAM,EAAE,QAAQ,CAAC,SAAS,iCAAiC;EAC5D;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,aAAa,EAAE,QAAQ,CAAC,SAAS,sBAAsB;EACxD;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,SAAS,kBAAkB,UAAU;GACrC,UAAU,EACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,SAAS,kBAAkB,UAAU;GACrC,UAAU,EACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;AACF"}
@@ -16,6 +16,7 @@ declare const TOOL_DEFINITIONS: ({
16
16
  sortBy?: undefined;
17
17
  issueId?: undefined;
18
18
  issueUrl?: undefined;
19
+ eventId?: undefined;
19
20
  filename?: undefined;
20
21
  transaction?: undefined;
21
22
  name?: undefined;
@@ -33,6 +34,7 @@ declare const TOOL_DEFINITIONS: ({
33
34
  sortBy?: undefined;
34
35
  issueId?: undefined;
35
36
  issueUrl?: undefined;
37
+ eventId?: undefined;
36
38
  filename?: undefined;
37
39
  transaction?: undefined;
38
40
  name?: undefined;
@@ -50,6 +52,7 @@ declare const TOOL_DEFINITIONS: ({
50
52
  sortBy: z.ZodOptional<z.ZodEnum<["last_seen", "first_seen", "count", "userCount"]>>;
51
53
  issueId?: undefined;
52
54
  issueUrl?: undefined;
55
+ eventId?: undefined;
53
56
  filename?: undefined;
54
57
  transaction?: undefined;
55
58
  name?: undefined;
@@ -67,6 +70,7 @@ declare const TOOL_DEFINITIONS: ({
67
70
  sortBy?: undefined;
68
71
  issueId?: undefined;
69
72
  issueUrl?: undefined;
73
+ eventId?: undefined;
70
74
  filename?: undefined;
71
75
  transaction?: undefined;
72
76
  name?: undefined;
@@ -84,6 +88,7 @@ declare const TOOL_DEFINITIONS: ({
84
88
  sortBy?: undefined;
85
89
  issueId?: undefined;
86
90
  issueUrl?: undefined;
91
+ eventId?: undefined;
87
92
  filename?: undefined;
88
93
  transaction?: undefined;
89
94
  name?: undefined;
@@ -101,6 +106,7 @@ declare const TOOL_DEFINITIONS: ({
101
106
  projectSlug?: undefined;
102
107
  query?: undefined;
103
108
  sortBy?: undefined;
109
+ eventId?: undefined;
104
110
  filename?: undefined;
105
111
  transaction?: undefined;
106
112
  name?: undefined;
@@ -114,6 +120,7 @@ declare const TOOL_DEFINITIONS: ({
114
120
  organizationSlug: z.ZodOptional<z.ZodString>;
115
121
  regionUrl: z.ZodOptional<z.ZodString>;
116
122
  issueId: z.ZodOptional<z.ZodString>;
123
+ eventId: z.ZodOptional<z.ZodString>;
117
124
  issueUrl: z.ZodOptional<z.ZodString>;
118
125
  projectSlug?: undefined;
119
126
  query?: undefined;
@@ -137,6 +144,7 @@ declare const TOOL_DEFINITIONS: ({
137
144
  sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["last_seen", "count"]>>>;
138
145
  issueId?: undefined;
139
146
  issueUrl?: undefined;
147
+ eventId?: undefined;
140
148
  name?: undefined;
141
149
  teamSlug?: undefined;
142
150
  platform?: undefined;
@@ -153,6 +161,7 @@ declare const TOOL_DEFINITIONS: ({
153
161
  sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["timestamp", "duration"]>>>;
154
162
  issueId?: undefined;
155
163
  issueUrl?: undefined;
164
+ eventId?: undefined;
156
165
  filename?: undefined;
157
166
  name?: undefined;
158
167
  teamSlug?: undefined;
@@ -170,6 +179,7 @@ declare const TOOL_DEFINITIONS: ({
170
179
  sortBy?: undefined;
171
180
  issueId?: undefined;
172
181
  issueUrl?: undefined;
182
+ eventId?: undefined;
173
183
  filename?: undefined;
174
184
  transaction?: undefined;
175
185
  teamSlug?: undefined;
@@ -189,6 +199,7 @@ declare const TOOL_DEFINITIONS: ({
189
199
  sortBy?: undefined;
190
200
  issueId?: undefined;
191
201
  issueUrl?: undefined;
202
+ eventId?: undefined;
192
203
  filename?: undefined;
193
204
  transaction?: undefined;
194
205
  };
@@ -204,6 +215,7 @@ declare const TOOL_DEFINITIONS: ({
204
215
  sortBy?: undefined;
205
216
  issueId?: undefined;
206
217
  issueUrl?: undefined;
218
+ eventId?: undefined;
207
219
  filename?: undefined;
208
220
  transaction?: undefined;
209
221
  teamSlug?: undefined;
@@ -220,6 +232,7 @@ declare const TOOL_DEFINITIONS: ({
220
232
  sortBy?: undefined;
221
233
  issueId?: undefined;
222
234
  issueUrl?: undefined;
235
+ eventId?: undefined;
223
236
  filename?: undefined;
224
237
  transaction?: undefined;
225
238
  name?: undefined;
@@ -237,6 +250,7 @@ declare const TOOL_DEFINITIONS: ({
237
250
  projectSlug?: undefined;
238
251
  query?: undefined;
239
252
  sortBy?: undefined;
253
+ eventId?: undefined;
240
254
  filename?: undefined;
241
255
  transaction?: undefined;
242
256
  name?: undefined;
@@ -254,6 +268,7 @@ declare const TOOL_DEFINITIONS: ({
254
268
  projectSlug?: undefined;
255
269
  query?: undefined;
256
270
  sortBy?: undefined;
271
+ eventId?: undefined;
257
272
  filename?: undefined;
258
273
  transaction?: undefined;
259
274
  name?: undefined;
@@ -264,4 +279,4 @@ declare const TOOL_DEFINITIONS: ({
264
279
 
265
280
  //# sourceMappingURL=toolDefinitions.d.ts.map
266
281
  export { TOOL_DEFINITIONS };
267
- //# sourceMappingURL=toolDefinitions.d-CsT15_MF.d.cts.map
282
+ //# sourceMappingURL=toolDefinitions-DPePAe0y.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolDefinitions-DPePAe0y.d.cts","names":[],"sources":["../src/toolDefinitions.ts"],"sourcesContent":null,"mappings":";;;cAca;;EAAA,WAAA,EAAA,MA+cZ;EAAA,YAAA,CAAA,EAAA,SAAA;CAAA,GAAA;;;;oCAAA,CAAA,CAAA"}
@@ -16,6 +16,7 @@ declare const TOOL_DEFINITIONS: ({
16
16
  sortBy?: undefined;
17
17
  issueId?: undefined;
18
18
  issueUrl?: undefined;
19
+ eventId?: undefined;
19
20
  filename?: undefined;
20
21
  transaction?: undefined;
21
22
  name?: undefined;
@@ -33,6 +34,7 @@ declare const TOOL_DEFINITIONS: ({
33
34
  sortBy?: undefined;
34
35
  issueId?: undefined;
35
36
  issueUrl?: undefined;
37
+ eventId?: undefined;
36
38
  filename?: undefined;
37
39
  transaction?: undefined;
38
40
  name?: undefined;
@@ -50,6 +52,7 @@ declare const TOOL_DEFINITIONS: ({
50
52
  sortBy: z.ZodOptional<z.ZodEnum<["last_seen", "first_seen", "count", "userCount"]>>;
51
53
  issueId?: undefined;
52
54
  issueUrl?: undefined;
55
+ eventId?: undefined;
53
56
  filename?: undefined;
54
57
  transaction?: undefined;
55
58
  name?: undefined;
@@ -67,6 +70,7 @@ declare const TOOL_DEFINITIONS: ({
67
70
  sortBy?: undefined;
68
71
  issueId?: undefined;
69
72
  issueUrl?: undefined;
73
+ eventId?: undefined;
70
74
  filename?: undefined;
71
75
  transaction?: undefined;
72
76
  name?: undefined;
@@ -84,6 +88,7 @@ declare const TOOL_DEFINITIONS: ({
84
88
  sortBy?: undefined;
85
89
  issueId?: undefined;
86
90
  issueUrl?: undefined;
91
+ eventId?: undefined;
87
92
  filename?: undefined;
88
93
  transaction?: undefined;
89
94
  name?: undefined;
@@ -101,6 +106,7 @@ declare const TOOL_DEFINITIONS: ({
101
106
  projectSlug?: undefined;
102
107
  query?: undefined;
103
108
  sortBy?: undefined;
109
+ eventId?: undefined;
104
110
  filename?: undefined;
105
111
  transaction?: undefined;
106
112
  name?: undefined;
@@ -114,6 +120,7 @@ declare const TOOL_DEFINITIONS: ({
114
120
  organizationSlug: z.ZodOptional<z.ZodString>;
115
121
  regionUrl: z.ZodOptional<z.ZodString>;
116
122
  issueId: z.ZodOptional<z.ZodString>;
123
+ eventId: z.ZodOptional<z.ZodString>;
117
124
  issueUrl: z.ZodOptional<z.ZodString>;
118
125
  projectSlug?: undefined;
119
126
  query?: undefined;
@@ -137,6 +144,7 @@ declare const TOOL_DEFINITIONS: ({
137
144
  sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["last_seen", "count"]>>>;
138
145
  issueId?: undefined;
139
146
  issueUrl?: undefined;
147
+ eventId?: undefined;
140
148
  name?: undefined;
141
149
  teamSlug?: undefined;
142
150
  platform?: undefined;
@@ -153,6 +161,7 @@ declare const TOOL_DEFINITIONS: ({
153
161
  sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["timestamp", "duration"]>>>;
154
162
  issueId?: undefined;
155
163
  issueUrl?: undefined;
164
+ eventId?: undefined;
156
165
  filename?: undefined;
157
166
  name?: undefined;
158
167
  teamSlug?: undefined;
@@ -170,6 +179,7 @@ declare const TOOL_DEFINITIONS: ({
170
179
  sortBy?: undefined;
171
180
  issueId?: undefined;
172
181
  issueUrl?: undefined;
182
+ eventId?: undefined;
173
183
  filename?: undefined;
174
184
  transaction?: undefined;
175
185
  teamSlug?: undefined;
@@ -189,6 +199,7 @@ declare const TOOL_DEFINITIONS: ({
189
199
  sortBy?: undefined;
190
200
  issueId?: undefined;
191
201
  issueUrl?: undefined;
202
+ eventId?: undefined;
192
203
  filename?: undefined;
193
204
  transaction?: undefined;
194
205
  };
@@ -204,6 +215,7 @@ declare const TOOL_DEFINITIONS: ({
204
215
  sortBy?: undefined;
205
216
  issueId?: undefined;
206
217
  issueUrl?: undefined;
218
+ eventId?: undefined;
207
219
  filename?: undefined;
208
220
  transaction?: undefined;
209
221
  teamSlug?: undefined;
@@ -220,6 +232,7 @@ declare const TOOL_DEFINITIONS: ({
220
232
  sortBy?: undefined;
221
233
  issueId?: undefined;
222
234
  issueUrl?: undefined;
235
+ eventId?: undefined;
223
236
  filename?: undefined;
224
237
  transaction?: undefined;
225
238
  name?: undefined;
@@ -237,6 +250,7 @@ declare const TOOL_DEFINITIONS: ({
237
250
  projectSlug?: undefined;
238
251
  query?: undefined;
239
252
  sortBy?: undefined;
253
+ eventId?: undefined;
240
254
  filename?: undefined;
241
255
  transaction?: undefined;
242
256
  name?: undefined;
@@ -254,6 +268,7 @@ declare const TOOL_DEFINITIONS: ({
254
268
  projectSlug?: undefined;
255
269
  query?: undefined;
256
270
  sortBy?: undefined;
271
+ eventId?: undefined;
257
272
  filename?: undefined;
258
273
  transaction?: undefined;
259
274
  name?: undefined;
@@ -264,4 +279,4 @@ declare const TOOL_DEFINITIONS: ({
264
279
 
265
280
  //# sourceMappingURL=toolDefinitions.d.ts.map
266
281
  export { TOOL_DEFINITIONS as TOOL_DEFINITIONS$1 };
267
- //# sourceMappingURL=toolDefinitions.d-C5JUBInb.d.ts.map
282
+ //# sourceMappingURL=toolDefinitions-abNbVXb5.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolDefinitions-abNbVXb5.d.ts","names":[],"sources":["../src/toolDefinitions.ts"],"sourcesContent":null,"mappings":";;;cAca;;EAAA,WAAA,EAAA,MA+cZ;EAAA,YAAA,CAAA,EAAA,SAAA;CAAA,GAAA;;;;oCAAA,CAAA,CAAA"}
@@ -1,4 +1,4 @@
1
1
  require('./schema-_xqdSRLo.cjs');
2
- const require_toolDefinitions = require('./toolDefinitions-C0t6Y5Su.cjs');
2
+ const require_toolDefinitions = require('./toolDefinitions-CRtHauHJ.cjs');
3
3
 
4
4
  exports.TOOL_DEFINITIONS = require_toolDefinitions.TOOL_DEFINITIONS
@@ -1,2 +1,2 @@
1
- import { TOOL_DEFINITIONS } from "./toolDefinitions.d-CsT15_MF.cjs";
1
+ import { TOOL_DEFINITIONS } from "./toolDefinitions-DPePAe0y.cjs";
2
2
  export { TOOL_DEFINITIONS };
@@ -1,2 +1,2 @@
1
- import { TOOL_DEFINITIONS$1 as TOOL_DEFINITIONS } from "./toolDefinitions.d-C5JUBInb.js";
1
+ import { TOOL_DEFINITIONS$1 as TOOL_DEFINITIONS } from "./toolDefinitions-abNbVXb5.js";
2
2
  export { TOOL_DEFINITIONS };
@@ -1,4 +1,4 @@
1
1
  import "./schema-pZrPEvtp.js";
2
- import { TOOL_DEFINITIONS } from "./toolDefinitions-DB4pPvgy.js";
2
+ import { TOOL_DEFINITIONS } from "./toolDefinitions-CfNXEIaX.js";
3
3
 
4
4
  export { TOOL_DEFINITIONS };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  require('./schema-_xqdSRLo.cjs');
3
- const require_toolDefinitions = require('./toolDefinitions-C0t6Y5Su.cjs');
4
- const require_dist = require('./dist-3oa5SxPp.cjs');
3
+ const require_toolDefinitions = require('./toolDefinitions-CRtHauHJ.cjs');
4
+ const require_dist = require('./dist-wiyJYfAH.cjs');
5
5
 
6
6
  //#region src/toolDefinitions.test.ts
7
7
  const DESCRIPTION_MAX_LENGTH = 2048;
@@ -1,6 +1,6 @@
1
1
  import "./schema-pZrPEvtp.js";
2
- import { TOOL_DEFINITIONS } from "./toolDefinitions-DB4pPvgy.js";
3
- import { assert, test } from "./dist-Bewd5-7a.js";
2
+ import { TOOL_DEFINITIONS } from "./toolDefinitions-CfNXEIaX.js";
3
+ import { assert, test } from "./dist-BKh-M1A1.js";
4
4
 
5
5
  //#region src/toolDefinitions.test.ts
6
6
  const DESCRIPTION_MAX_LENGTH = 2048;