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(
223223 async def handle_list_tools () -> list [types .Tool ]:
224224 return [
225225 types .Tool (
226- name = "get-sentry-issue " ,
226+ name = "get_sentry_issue " ,
227227 description = """Retrieve and analyze a Sentry issue by ID or URL. Use this tool when you need to:
228228 - Investigate production errors and crashes
229229 - Access detailed stacktraces from Sentry
@@ -247,7 +247,7 @@ async def handle_list_tools() -> list[types.Tool]:
247247 async def handle_call_tool (
248248 name : str , arguments : dict | None
249249 ) -> list [types .TextContent | types .ImageContent | types .EmbeddedResource ]:
250- if name != "get-sentry-issue " :
250+ if name != "get_sentry_issue " :
251251 raise ValueError (f"Unknown tool: { name } " )
252252
253253 if not arguments or "issue_id_or_url" not in arguments :
You can’t perform that action at this time.
0 commit comments