File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/sentry/src/mcp_server_sentry Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ async def handle_get_prompt(
223
223
async def handle_list_tools () -> list [types .Tool ]:
224
224
return [
225
225
types .Tool (
226
- name = "get-sentry-issue " ,
226
+ name = "get_sentry_issue " ,
227
227
description = """Retrieve and analyze a Sentry issue by ID or URL. Use this tool when you need to:
228
228
- Investigate production errors and crashes
229
229
- Access detailed stacktraces from Sentry
@@ -247,7 +247,7 @@ async def handle_list_tools() -> list[types.Tool]:
247
247
async def handle_call_tool (
248
248
name : str , arguments : dict | None
249
249
) -> list [types .TextContent | types .ImageContent | types .EmbeddedResource ]:
250
- if name != "get-sentry-issue " :
250
+ if name != "get_sentry_issue " :
251
251
raise ValueError (f"Unknown tool: { name } " )
252
252
253
253
if not arguments or "issue_id_or_url" not in arguments :
You can’t perform that action at this time.
0 commit comments