{
  "server": "sentry",
  "url": "https://mcp.sentry.dev/mcp",
  "date": "2026-11-13",
  "protocolVersion": "2026-07-28",
  "serverInfo": {
    "name": "Sentry MCP",
    "title": "Sentry",
    "description": "Search and debug Sentry issues, errors, traces, logs, replays, and monitors.",
    "version": "0.42.0",
    "websiteUrl": "https://mcp.sentry.dev",
    "icons": [
      {
        "src": "https://mcp.sentry.dev/sentry-icon.png",
        "mimeType": "image/png",
        "sizes": [
          "256x256"
        ]
      }
    ]
  },
  "listChangedDeclared": false,
  "toolCount": 73,
  "outputSchemaCoveragePct": 89.04,
  "tools": [
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Add a comment to a Sentry issue's activity feed.\n\nUse this tool to record findings, context, or decisions on an issue.\n\n\u003cexamples\u003e\nadd_issue_note(organizationSlug='my-organization', issueId='PROJECT-123', text='Investigating with the payments team.')\nadd_issue_note(issueUrl='https://my-organization.sentry.io/issues/PROJECT-123/', text='Resolved by deploy 1.2.3.')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- This mutates visible Sentry issue state by posting a comment.\n- Do not use this for private scratch notes, secrets, credentials, or unapproved content.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "issueId": {
            "description": "The Issue ID. e.g. `PROJECT-1Z43`",
            "type": "string"
          },
          "issueUrl": {
            "description": "The URL of the issue. e.g. https://my-organization.sentry.io/issues/PROJECT-1Z43",
            "format": "uri",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "text": {
            "description": "The exact comment text to add to the issue.",
            "maxLength": 4096,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "name": "add_issue_note",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "issueId": {
            "type": "string"
          },
          "issueUrl": {
            "type": "string"
          },
          "note": {
            "additionalProperties": false,
            "properties": {
              "author": {
                "type": "string"
              },
              "dateCreated": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "id": {
                "type": "string"
              },
              "text": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "type",
              "author",
              "dateCreated",
              "text"
            ],
            "type": "object"
          },
          "organizationSlug": {
            "type": "string"
          }
        },
        "required": [
          "organizationSlug",
          "issueId",
          "issueUrl",
          "note"
        ],
        "type": "object"
      },
      "title": "Add Issue Note"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Grant a team access to an existing Sentry project.\n\nUse this tool when you need to:\n- Add another team to a project\n- Grant a team access without changing project metadata\n- Check whether a team already has project access before adding it\n\n\u003cexamples\u003e\nadd_team_to_project(organizationSlug='my-organization', projectSlug='my-project', teamSlug='my-team')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Team access changes are separate from project metadata updates.\n- If the team is already assigned, this tool returns the current team list without making another change.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "teamSlug": {
            "description": "The team's slug. You can find a list of existing teams in an organization with the Sentry tool `find_teams`.",
            "type": "string"
          }
        },
        "required": [
          "projectSlug",
          "teamSlug"
        ],
        "type": "object"
      },
      "name": "add_team_to_project",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "changed": {
            "type": "boolean"
          },
          "teams": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "slug",
                "name"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "changed",
          "teams"
        ],
        "type": "object"
      },
      "title": "Add Team to Project"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Use Seer to analyze production errors and get detailed root cause analysis with specific code fixes.\n\nUse this tool when:\n- The user explicitly asks for root cause analysis, Seer analysis, or help fixing/debugging an issue\n- You are unable to accurately determine the root cause from the issue details alone\n\nDo NOT call this tool as an automatic follow-up to get_sentry_resource.\n\nWhat this tool provides:\n- Root cause analysis with code-level explanations\n- Specific file locations and line numbers where errors occur\n- Concrete code fixes you can apply\n- Step-by-step implementation guidance\n\nThis tool automatically:\n1. Checks if analysis already exists (instant results)\n2. Starts new AI analysis if needed (~2-5 minutes)\n3. Returns complete fix recommendations\n\n\u003cexamples\u003e\n### User: \"Run Seer on this issue\"\n\n```\nanalyze_issue_with_seer(issueUrl='https://my-org.sentry.io/issues/PROJECT-1Z43')\n```\n\n### User: \"Analyze this issue and suggest a fix\"\n\n```\nanalyze_issue_with_seer(organizationSlug='my-organization', issueId='ERROR-456')\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Only use when the user explicitly requests analysis or you cannot determine the root cause from issue details alone\n- Seer Autofix does not support metric alert issues (issueCategory: metric); use get_issue_details and search_metrics or search_traces instead\n- If the user provides an issueUrl, extract it and use that parameter alone\n- The analysis includes actual code snippets and fixes, not just error descriptions\n- Results are cached - subsequent calls return instantly\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "instruction": {
            "description": "Optional custom instruction for the AI analysis",
            "type": "string"
          },
          "issueId": {
            "description": "The Issue ID. e.g. `PROJECT-1Z43`",
            "type": "string"
          },
          "issueUrl": {
            "description": "The URL of the issue. e.g. https://my-organization.sentry.io/issues/PROJECT-1Z43",
            "format": "uri",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "analyze_issue_with_seer",
      "title": "Analyze Issue with Seer"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Create a Sentry Alert (workflow) that sends notifications, such as Slack, email or PagerDuty, when its issue or monitor sources trigger.\nUse get_alert_options for available actions, integrations, conditions, and sources. All notification providers use their native config and data fields.\nTo copy an Alert, read get_alert_rule(kind='issue') and pass its configuration here; component IDs are discarded while integration and destination IDs are retained. New trigger groups require logicType='any-short'.\nTo reuse an existing Alert across projects, use update_alert_rule instead.\nSupply projectSlugs for project issue streams and/or detectorIds for individual monitors. Pass detectorIds=[] explicitly to create an Alert without sources; it will not send notifications until connected.\nNew Alerts default to active with a 30-minute notification interval. Use status='disabled' to configure one before enabling it.\nProject-constrained sessions require sources exclusively within that project. All-project sources require Sentry's feature and org:write in addition to alerts:write.\nAfter a timeout or error, search for the Alert before retrying: creation may already have succeeded.\n\u003cexamples\u003e\ncreate_alert_rule(organizationSlug='my-org', name='Backend notifications', status='disabled', detectorIds=[], actionFilters=[])\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "actionFilters": {
            "description": "Action groups with conditions and notification actions, from get_alert_options or get_alert_rule. Copied component IDs are discarded; integration and destination IDs are retained. Pass [] explicitly for no notification actions.",
            "items": {
              "properties": {
                "actions": {
                  "items": {
                    "properties": {
                      "config": {
                        "additionalProperties": {},
                        "propertyNames": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      "data": {
                        "additionalProperties": {},
                        "propertyNames": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      "integrationId": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      },
                      "status": {
                        "type": "string"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "config"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "conditions": {
                  "items": {
                    "properties": {
                      "comparison": {},
                      "conditionResult": {},
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "comparison",
                      "conditionResult"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "logicType": {
                  "enum": [
                    "all",
                    "any",
                    "any-short",
                    "none"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "logicType",
                "conditions",
                "actions"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "detectorIds": {
            "description": "Existing source IDs from get_alert_options. Pass [] explicitly for an Alert without sources.",
            "items": {
              "pattern": "^\\d+$",
              "type": "string"
            },
            "type": "array"
          },
          "environment": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "frequencyMinutes": {
            "default": 30,
            "description": "Minimum interval between notifications, in minutes.",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "owner": {
            "anyOf": [
              {
                "pattern": "^(user|team):\\d+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Owner actor user:ID or team:ID. Pass null to clear."
          },
          "projectSlugs": {
            "description": "Projects whose issue streams should be connected.",
            "items": {
              "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
              "type": "string"
            },
            "type": "array"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "status": {
            "default": "active",
            "enum": [
              "active",
              "disabled"
            ],
            "type": "string"
          },
          "triggers": {
            "anyOf": [
              {
                "description": "Trigger conditions. Nonempty groups require logicType='any-short' for new Alerts. Copied component IDs are discarded. Omit, pass null, or use an empty group for no trigger conditions.",
                "properties": {
                  "conditions": {
                    "items": {
                      "properties": {
                        "comparison": {},
                        "conditionResult": {},
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "comparison",
                        "conditionResult"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "logicType": {
                    "enum": [
                      "all",
                      "any",
                      "any-short",
                      "none"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "logicType",
                  "conditions"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "actionFilters"
        ],
        "type": "object"
      },
      "name": "create_alert_rule",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "alertRule": {
            "additionalProperties": false,
            "properties": {
              "actionFilters": {
                "anyOf": [
                  {
                    "description": "The complete list of action groups, conditions, and notification actions. Preserve their IDs and all unchanged groups and actions; omitted entries are removed. Slack and Microsoft Teams resolve config.targetDisplay as a channel name within integrationId. Other providers use their native config.targetIdentifier and data fields.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "actions": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "config": {
                                "additionalProperties": {},
                                "propertyNames": {
                                  "type": "string"
                                },
                                "type": "object"
                              },
                              "data": {
                                "additionalProperties": {},
                                "propertyNames": {
                                  "type": "string"
                                },
                                "type": "object"
                              },
                              "id": {
                                "type": [
                                  "string",
                                  "number"
                                ]
                              },
                              "integrationId": {
                                "type": [
                                  "string",
                                  "number",
                                  "null"
                                ]
                              },
                              "status": {
                                "type": "string"
                              },
                              "type": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "data",
                              "config"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "conditions": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "comparison": {},
                              "conditionResult": {},
                              "id": {
                                "type": [
                                  "string",
                                  "number"
                                ]
                              },
                              "type": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "comparison",
                              "conditionResult"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "id": {
                          "type": [
                            "string",
                            "number"
                          ]
                        },
                        "logicType": {
                          "enum": [
                            "all",
                            "any",
                            "any-short",
                            "none"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "logicType",
                        "conditions",
                        "actions"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "config": {
                "additionalProperties": false,
                "properties": {
                  "frequency": {
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "detectorIds": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "enabled": {
                "type": "boolean"
              },
              "environment": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "owner": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "triggers": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "description": "The complete trigger group. Preserve existing condition IDs when editing; omitted conditions are removed. Use the configuration returned by get_alert_rule.",
                    "properties": {
                      "conditions": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "comparison": {},
                            "conditionResult": {},
                            "id": {
                              "type": [
                                "string",
                                "number"
                              ]
                            },
                            "type": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "comparison",
                            "conditionResult"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "id": {
                        "type": [
                          "string",
                          "number"
                        ]
                      },
                      "logicType": {
                        "enum": [
                          "all",
                          "any",
                          "any-short",
                          "none"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "logicType",
                      "conditions"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "webUrl": {
                "format": "uri",
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "detectorIds",
              "webUrl"
            ],
            "type": "object"
          },
          "guidance": {
            "type": "string"
          }
        },
        "required": [
          "alertRule"
        ],
        "type": "object"
      },
      "title": "Create Alert Rule"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Create an additional DSN for an EXISTING project.\n\nUSE THIS TOOL WHEN:\n- Project already exists and needs additional DSN\n- 'Create another DSN for project X'\n- 'I need a production DSN for existing project'\n\nDO NOT USE for new projects (use create_project instead)\n\nBe careful when using this tool!\n\n\u003cexamples\u003e\n### Create additional DSN for existing project\n```\ncreate_dsn(organizationSlug='my-organization', projectSlug='my-project', name='Production')\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- If the user passes a parameter in the form of name/otherName, its likely in the format of \u003corganizationSlug\u003e/\u003cprojectSlug\u003e.\n- If any parameter is ambiguous, you should clarify with the user what they meant.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "name": {
            "description": "The name of the DSN to create, for example 'Production'.",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "projectSlug",
          "name"
        ],
        "type": "object"
      },
      "name": "create_dsn",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "dsn": {
            "additionalProperties": false,
            "properties": {
              "dsn": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "dsn"
            ],
            "type": "object"
          }
        },
        "required": [
          "dsn"
        ],
        "type": "object"
      },
      "title": "Create DSN"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Create a Sentry Metric Monitor that detects when a metric, such as an error count or latency, crosses a threshold. Supports Static, Percent or Dynamic detection.\nProvide the complete query, detection config and conditions. Time windows and comparison deltas use seconds. Percent comparisons are absolute: 110 means 10% higher.\nTo copy a monitor, use the query, config and conditionGroup from get_metric_monitor_details. Component IDs are discarded; new condition groups use logicType='any'.\nNew monitors start ACTIVE and immediately evaluate data. Initially disabled creation is not supported. Use update_metric_monitor to disable an existing monitor.\nworkflowIds optionally connect existing notification Alerts, including shared Alerts, without modifying their configuration. Create an Alert separately with create_alert_rule if needed.\nDataset access, quota, aggregate, window and historical-data requirements are enforced by Sentry. Dynamic detection requires sufficient history and Seer availability.\nCreation can fail after persisting a monitor, especially during Dynamic setup. After an error or timeout, use find_metric_monitors with the name and project before retrying; do not assume rollback or blindly repeat creation.\ncreate_metric_monitor(organizationSlug='my-org', projectSlug='backend', name='High error count', query={dataset:'events', query:'level:error', aggregate:'count()', eventTypes:['error'], timeWindowSeconds:300}, config={detectionType:'static'}, conditionGroup={conditions:[{type:'gt', comparison:100, conditionResult:75}, {type:'lte', comparison:50, conditionResult:0}]})",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "conditionGroup": {
            "description": "Complete conditions, using logicType any. Copied group and condition IDs are discarded. Static/Percent require thresholds and resolution (results 75 critical, 50 warning, 0 resolved). Percent 110 means 10% higher. Dynamic requires one anomaly_detection condition: sensitivity, seasonality:auto, thresholdType 0 above/1 below/2 both.",
            "properties": {
              "conditions": {
                "items": {
                  "oneOf": [
                    {
                      "properties": {
                        "comparison": {
                          "type": "number"
                        },
                        "conditionResult": {
                          "enum": [
                            75,
                            50,
                            0
                          ],
                          "type": "number"
                        },
                        "type": {
                          "enum": [
                            "gt",
                            "lt",
                            "gte",
                            "lte"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "comparison",
                        "conditionResult"
                      ],
                      "type": "object"
                    },
                    {
                      "properties": {
                        "comparison": {
                          "properties": {
                            "seasonality": {
                              "const": "auto",
                              "type": "string"
                            },
                            "sensitivity": {
                              "enum": [
                                "low",
                                "medium",
                                "high"
                              ],
                              "type": "string"
                            },
                            "thresholdType": {
                              "enum": [
                                0,
                                1,
                                2
                              ],
                              "type": "number"
                            }
                          },
                          "required": [
                            "sensitivity",
                            "seasonality",
                            "thresholdType"
                          ],
                          "type": "object"
                        },
                        "conditionResult": {
                          "enum": [
                            75,
                            50
                          ],
                          "type": "number"
                        },
                        "type": {
                          "const": "anomaly_detection",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "comparison",
                        "conditionResult"
                      ],
                      "type": "object"
                    }
                  ]
                },
                "maxItems": 3,
                "minItems": 1,
                "type": "array"
              },
              "logicType": {
                "const": "any",
                "default": "any",
                "type": "string"
              }
            },
            "required": [
              "conditions"
            ],
            "type": "object"
          },
          "config": {
            "description": "Detection mode. Percent requires comparisonDeltaSeconds. Static and Dynamic do not use a comparison delta.",
            "properties": {
              "comparisonDeltaSeconds": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "detectionType": {
                "enum": [
                  "static",
                  "percent",
                  "dynamic"
                ],
                "type": "string"
              }
            },
            "required": [
              "detectionType"
            ],
            "type": "object"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "owner": {
            "anyOf": [
              {
                "pattern": "^(user|team):\\d+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Owner actor, e.g. team:123 or user:123. Pass null to clear."
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "query": {
            "description": "Complete query: dataset, aggregate, filter, eventTypes and timeWindowSeconds. metrics is crash-free Releases; events_analytics_platform supports spans, logs and application metrics via eventTypes. Omitted environment means all environments.",
            "properties": {
              "aggregate": {
                "minLength": 1,
                "type": "string"
              },
              "dataset": {
                "enum": [
                  "events",
                  "transactions",
                  "generic_metrics",
                  "metrics",
                  "events_analytics_platform"
                ],
                "type": "string"
              },
              "environment": {
                "default": null,
                "type": [
                  "string",
                  "null"
                ]
              },
              "eventTypes": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "extrapolationMode": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "query": {
                "type": "string"
              },
              "timeWindowSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              }
            },
            "required": [
              "dataset",
              "query",
              "aggregate",
              "eventTypes",
              "timeWindowSeconds"
            ],
            "type": "object"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "workflowIds": {
            "default": [],
            "description": "Existing notification Alert IDs to connect. Omit or pass [] to create without connected Alerts. Use find_alert_rules(kind='issue') to find workflow IDs.",
            "items": {
              "pattern": "^\\d+$",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "projectSlug",
          "name",
          "query",
          "config",
          "conditionGroup"
        ],
        "type": "object"
      },
      "name": "create_metric_monitor",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "guidance": {
            "type": "string"
          },
          "monitor": {
            "additionalProperties": false,
            "properties": {
              "conditionGroup": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "conditions": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "comparison": {},
                            "conditionResult": {},
                            "id": {
                              "type": [
                                "string",
                                "number"
                              ]
                            },
                            "type": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "comparison",
                            "conditionResult"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "id": {
                        "type": [
                          "string",
                          "number"
                        ]
                      },
                      "logicType": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "logicType",
                      "conditions"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Native detection conditions, including resolution. Results: 75 critical, 50 warning, 0 resolved. Percent comparisons are absolute percentages (110 means 10% higher). Dynamic comparisons contain sensitivity, seasonality and thresholdType."
              },
              "config": {
                "additionalProperties": false,
                "properties": {
                  "comparisonDeltaSeconds": {
                    "type": "number"
                  },
                  "detectionType": {
                    "type": "string"
                  }
                },
                "required": [
                  "detectionType"
                ],
                "type": "object"
              },
              "dataSources": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "query": {
                      "additionalProperties": false,
                      "properties": {
                        "aggregate": {
                          "type": "string"
                        },
                        "dataset": {
                          "type": "string"
                        },
                        "environment": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventTypes": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "extrapolationMode": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "query": {
                          "type": "string"
                        },
                        "timeWindowSeconds": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "dataset",
                        "query",
                        "aggregate",
                        "environment",
                        "eventTypes",
                        "timeWindowSeconds"
                      ],
                      "type": "object"
                    },
                    "type": {
                      "type": "string"
                    },
                    "unavailableReason": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "dateCreated": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dateUpdated": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "enabled": {
                "type": "boolean"
              },
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "owner": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "projectId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "webUrl": {
                "type": "string"
              },
              "workflowIds": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "id",
              "name",
              "projectId",
              "enabled",
              "owner",
              "workflowIds",
              "webUrl",
              "description",
              "config",
              "conditionGroup",
              "dataSources",
              "dateCreated",
              "dateUpdated"
            ],
            "type": "object"
          }
        },
        "required": [
          "monitor"
        ],
        "type": "object"
      },
      "title": "Create Metric Monitor"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Create a Sentry cron monitor.\n\nUse this tool when you need to:\n- Monitor a scheduled job (cron job, scheduled task) for missed, failed, or slow runs\n- Set up a cron monitor before instrumenting check-ins\n\nSet `schedule` to exactly one crontab or interval schedule. Check-ins must still be sent by the job (SDK `monitor_config`/check-ins or `sentry monitor run`) using the returned slug.\nworkflowIds optionally connect existing notification Alerts without modifying them. Use find_alert_rules(kind='issue') to find workflow IDs.\nIf the returned status is `disabled` but you did not request that, the organization has no cron monitor seat available. Tell the user; the monitor ignores check-ins until a seat frees up and it is enabled.\nAfter an error or timeout, use find_monitors with the name and project before retrying; creation is not idempotent.\n\n\u003cexamples\u003e\ncreate_monitor(organizationSlug='my-organization', projectSlug='backend', name='Nightly Import', schedule={ type: 'crontab', crontab: '0 3 * * *' }, timezone='America/Los_Angeles', checkInMargin=5, maxRuntime=30)\ncreate_monitor(organizationSlug='my-organization', projectSlug='backend', name='Queue Drain', schedule={ type: 'interval', value: 15, unit: 'minute' })\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "checkInMargin": {
            "description": "Minutes after the expected time before a check-in counts as missed. Sentry treats 0 as 1.",
            "maximum": 40320,
            "minimum": 0,
            "type": "integer"
          },
          "failureIssueThreshold": {
            "description": "Consecutive failed or missed check-ins before an issue opens.",
            "maximum": 720,
            "minimum": 1,
            "type": "integer"
          },
          "maxRuntime": {
            "description": "Minutes a check-in may stay in progress before it fails.",
            "maximum": 10080,
            "minimum": 1,
            "type": "integer"
          },
          "name": {
            "description": "Monitor display name.",
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "owner": {
            "description": "Owner actor in `user:ID` or `team:ID` format.",
            "pattern": "^(user|team):\\d+$",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "recoveryThreshold": {
            "description": "Consecutive successful check-ins before the issue resolves.",
            "maximum": 720,
            "minimum": 1,
            "type": "integer"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "schedule": {
            "description": "Monitor schedule: exactly one of `{ type: 'crontab', crontab: '0 3 * * *' }` or `{ type: 'interval', value: 15, unit: 'minute' }`.",
            "oneOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "crontab": {
                    "description": "Five-field crontab schedule or `@` alias, e.g. `0 3 * * *` or `@daily`. Seconds fields are not supported.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": {
                    "const": "crontab",
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "crontab"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "type": {
                    "const": "interval",
                    "type": "string"
                  },
                  "unit": {
                    "enum": [
                      "minute",
                      "hour",
                      "day",
                      "week",
                      "month",
                      "year"
                    ],
                    "type": "string"
                  },
                  "value": {
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991,
                    "type": "integer"
                  }
                },
                "required": [
                  "type",
                  "value",
                  "unit"
                ],
                "type": "object"
              }
            ]
          },
          "slug": {
            "description": "Optional monitor slug used by check-ins. Derived from the name when omitted.",
            "minLength": 1,
            "type": "string"
          },
          "status": {
            "description": "Monitor status. Disabled monitors ignore check-ins.",
            "enum": [
              "active",
              "disabled"
            ],
            "type": "string"
          },
          "timezone": {
            "description": "tz database timezone for the schedule, e.g. `UTC`.",
            "minLength": 1,
            "type": "string"
          },
          "workflowIds": {
            "description": "Existing notification Alert IDs to connect.",
            "items": {
              "pattern": "^\\d+$",
              "type": "string"
            },
            "maxItems": 50,
            "type": "array"
          }
        },
        "required": [
          "projectSlug",
          "name",
          "schedule"
        ],
        "type": "object"
      },
      "name": "create_monitor",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "monitor": {
            "additionalProperties": false,
            "properties": {
              "checkInMargin": {
                "description": "Minutes before a late check-in counts as missed.",
                "type": [
                  "number",
                  "null"
                ]
              },
              "failureIssueThreshold": {
                "description": "Consecutive failures before an issue opens.",
                "type": [
                  "number",
                  "null"
                ]
              },
              "id": {
                "description": "Cron monitor ID.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "maxRuntime": {
                "description": "Minutes a check-in may stay in progress.",
                "type": [
                  "number",
                  "null"
                ]
              },
              "name": {
                "type": "string"
              },
              "projectSlug": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "recoveryThreshold": {
                "description": "Consecutive successes before the issue resolves.",
                "type": [
                  "number",
                  "null"
                ]
              },
              "schedule": {
                "description": "Crontab expression, or interval as `\u003cvalue\u003e \u003cunit\u003e`.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "scheduleType": {
                "description": "`crontab` or `interval`.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "slug": {
                "description": "Monitor slug that check-ins must use.",
                "type": "string"
              },
              "status": {
                "description": "`active` or `disabled`; unrequested `disabled` means no seat was available.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "timezone": {
                "description": "tz database timezone.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "webUrl": {
                "description": "Monitor page in Sentry.",
                "format": "uri",
                "type": "string"
              },
              "workflowIds": {
                "description": "Connected notification Alert IDs.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "id",
              "slug",
              "name",
              "projectSlug",
              "status",
              "scheduleType",
              "schedule",
              "timezone",
              "checkInMargin",
              "maxRuntime",
              "failureIssueThreshold",
              "recoveryThreshold",
              "workflowIds",
              "webUrl"
            ],
            "type": "object"
          }
        },
        "required": [
          "monitor"
        ],
        "type": "object"
      },
      "title": "Create Cron Monitor"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Create a new project in Sentry (provisions DSN automatically).\n\nUSE THIS TOOL WHEN USERS WANT TO:\n- 'Create a new project'\n- 'Set up a project for [app/service] with team [X]'\n- 'I need a new Sentry project'\n- Create project AND need DSN in one step\n- Create project and link an existing repository\n\nReturns the project and its public `dsn` (SENTRY_DSN); tell the user both. Call create_dsn only if `dsn` is null.\nA linked repository gets a root code mapping (`/` -\u003e `/`). If `repository.linked` is false, the project exists but linking failed; ask the user to check permissions or link it in Sentry.\n\nBe careful when using this tool!\n\n\u003cexamples\u003e\n### Create new project with team\n```\ncreate_project(organizationSlug='my-organization', teamSlug='my-team', name='my-project', platform='javascript')\n```\n### Create project with an explicit slug\n```\ncreate_project(organizationSlug='my-organization', teamSlug='my-team', name='My Project', slug='my-project', platform='javascript')\n```\n### Create project and link to a repository\n```\ncreate_project(organizationSlug='my-organization', teamSlug='my-team', name='my-project', platform='javascript', repository='getsentry/sentry')\n```\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "name": {
            "description": "The name of the project to create. Typically this is the name of the application or service. It is only used as a visual label in Sentry.",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "platform": {
            "anyOf": [
              {
                "description": "The Sentry platform ID for the project, e.g. javascript-react, javascript-nextjs, node, python-django, apple-ios, android, dotnet. Omit if unsure.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "repository": {
            "default": null,
            "description": "Optional repository name to link to the project (e.g. 'getsentry/sentry'). The repo must already be connected to the organization via a VCS integration.",
            "type": [
              "string",
              "null"
            ]
          },
          "slug": {
            "anyOf": [
              {
                "description": "Optional project slug to create.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "teamSlug": {
            "description": "The team's slug. You can find a list of existing teams in an organization with the Sentry tool `find_teams`.",
            "type": "string"
          }
        },
        "required": [
          "teamSlug",
          "name"
        ],
        "type": "object"
      },
      "name": "create_project",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "dsn": {
            "description": "Public DSN (SENTRY_DSN) for SDK initialization, or null when key setup failed.",
            "type": [
              "string",
              "null"
            ]
          },
          "project": {
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "slug",
              "name"
            ],
            "type": "object"
          },
          "repository": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "linked": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "linked"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "project",
          "dsn",
          "repository"
        ],
        "type": "object"
      },
      "title": "Create Project"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Create a new team in Sentry.\n\nUSE THIS TOOL WHEN USERS WANT TO:\n- 'Create a new team'\n- 'Set up a team called [X]'\n- 'I need a team for my project'\n\nBe careful when using this tool!\n\n\u003cexamples\u003e\n### Create a new team\n```\ncreate_team(organizationSlug='my-organization', name='the-goats')\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- If any parameter is ambiguous, you should clarify with the user what they meant.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "name": {
            "description": "The name of the team to create.",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "name": "create_team",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "team": {
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "slug",
              "name"
            ],
            "type": "object"
          }
        },
        "required": [
          "team"
        ],
        "type": "object"
      },
      "title": "Create Team"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Create a Sentry HTTP uptime monitor.\n\nUse this tool when you need to:\n- Start monitoring a URL for availability\n- Create a new uptime check with interval and timeout\n\nBe careful when using this tool!\n\nRequired fields match Sentry's uptime API: name, url, intervalSeconds, timeoutMs.\nAdvanced response assertions are not supported in this MVP; configure them in the Sentry UI if needed.\n\n\u003cexamples\u003e\ncreate_uptime_monitor(organizationSlug='my-organization', projectSlug='backend', name='API Health', url='https://api.example.com/health', intervalSeconds=60, timeoutMs=5000)\ncreate_uptime_monitor(organizationSlug='my-organization', projectSlug='backend', name='Checkout', url='https://example.com/checkout', intervalSeconds=300, timeoutMs=10000, method='GET', environment='production')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "body": {
            "description": "Optional request body for methods that support a body.",
            "type": "string"
          },
          "downtimeThreshold": {
            "description": "Consecutive failed checks required to mark down.",
            "maximum": 9007199254740991,
            "minimum": 1,
            "type": "integer"
          },
          "environment": {
            "description": "Optional environment name for created uptime issues.",
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "headers": {
            "description": "Optional HTTP headers as an array of [name, value] pairs, e.g. [[\"Accept\",\"application/json\"]].",
            "items": {
              "items": {
                "type": "string"
              },
              "maxItems": 2,
              "minItems": 2,
              "type": "array"
            },
            "type": "array"
          },
          "intervalSeconds": {
            "description": "Seconds between checks. Allowed values: 60, 300, 600, 1200, 1800, 3600.",
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "method": {
            "description": "HTTP method used for the uptime check request.",
            "enum": [
              "GET",
              "POST",
              "HEAD",
              "PUT",
              "DELETE",
              "PATCH",
              "OPTIONS"
            ],
            "type": "string"
          },
          "name": {
            "description": "Monitor display name.",
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "owner": {
            "description": "Owner actor in `user:ID` or `team:ID` format.",
            "minLength": 1,
            "pattern": "^(user|team):.+$",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "recoveryThreshold": {
            "description": "Consecutive successful checks required to recover.",
            "maximum": 9007199254740991,
            "minimum": 1,
            "type": "integer"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "responseCaptureEnabled": {
            "description": "Capture response body/headers on failures.",
            "type": "boolean"
          },
          "status": {
            "description": "Monitor status. `disabled` stops checks and does not count against quota.",
            "enum": [
              "active",
              "disabled"
            ],
            "type": "string"
          },
          "timeoutMs": {
            "default": 5000,
            "description": "Request timeout in milliseconds (1000-60000).",
            "maximum": 60000,
            "minimum": 1000,
            "type": "integer"
          },
          "traceSampling": {
            "description": "Whether check requests may be considered for tracing.",
            "type": "boolean"
          },
          "url": {
            "description": "URL to check (max 255 characters).",
            "format": "uri",
            "maxLength": 255,
            "type": "string"
          }
        },
        "required": [
          "projectSlug",
          "name",
          "url",
          "intervalSeconds"
        ],
        "type": "object"
      },
      "name": "create_uptime_monitor",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "monitor": {
            "additionalProperties": false,
            "properties": {
              "downtimeThreshold": {
                "type": "number"
              },
              "environment": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "intervalSeconds": {
                "type": "number"
              },
              "method": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              },
              "projectSlug": {
                "type": "string"
              },
              "recoveryThreshold": {
                "type": "number"
              },
              "responseCaptureEnabled": {
                "type": "boolean"
              },
              "status": {
                "type": "string"
              },
              "timeoutMs": {
                "type": "number"
              },
              "traceSampling": {
                "type": "boolean"
              },
              "uptimeStatus": {
                "enum": [
                  "ok",
                  "failed",
                  "unknown"
                ],
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "webUrl": {
                "format": "uri",
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "projectSlug",
              "status",
              "uptimeStatus",
              "url",
              "intervalSeconds",
              "webUrl",
              "timeoutMs"
            ],
            "type": "object"
          }
        },
        "required": [
          "monitor"
        ],
        "type": "object"
      },
      "title": "Create Uptime Monitor"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Permanently delete a Sentry Alert (workflow), preserving its connected monitors.\nUse get_alert_rule(kind='issue') to inspect the Alert and obtain its workflow ID before deletion. Metric Monitor IDs and legacy metric alert IDs are not workflow IDs.\nDeleting a shared Alert removes its notifications for every connected project and monitor. Use update_alert_rule to disconnect individual sources or disable it instead.\nA project-constrained session can only delete Alerts affecting that project exclusively.\nSentry removes the Alert from normal reads immediately and completes internal deletion in the background.\n\u003cexamples\u003e\ndelete_alert_rule(organizationSlug='my-org', ruleId='12345')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "ruleId": {
            "description": "Workflow ID from get_alert_rule(kind='issue').",
            "pattern": "^\\d+$",
            "type": "string"
          }
        },
        "required": [
          "ruleId"
        ],
        "type": "object"
      },
      "name": "delete_alert_rule",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "ruleId": {
            "type": "string"
          },
          "success": {
            "const": true,
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "ruleId"
        ],
        "type": "object"
      },
      "title": "Delete Alert Rule"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Permanently delete a Sentry Metric Monitor, preserving its connected Alerts and their other monitors.\nUse get_metric_monitor_details to inspect the monitor and obtain its native monitorId. Legacy metric alert IDs are not monitor IDs.\nUse update_metric_monitor(status='disabled') to pause detection instead. Deletion also removes an associated legacy metric alert and its incident history when present.\nSentry hides the monitor from normal reads immediately and completes deletion in the background.\ndelete_metric_monitor(organizationSlug='my-org', monitorId='12345')",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "monitorId": {
            "description": "Native Metric Monitor ID from find_metric_monitors.",
            "pattern": "^\\d+$",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "monitorId"
        ],
        "type": "object"
      },
      "name": "delete_metric_monitor",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "monitorId": {
            "type": "string"
          },
          "success": {
            "const": true,
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "monitorId"
        ],
        "type": "object"
      },
      "title": "Delete Metric Monitor"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Delete one environment from a Sentry cron monitor.\n\nUse find_monitors or get_monitor_details to identify the monitor and exact environment name.\n\nDeletion is irreversible and completes in the background. The monitor and its other environments are preserved. An already absent environment is treated as success.\n\n\u003cexamples\u003e\ndelete_monitor_environment(organizationSlug='my-organization', projectSlug='backend', monitorSlug='nightly-import', environment='production')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "environment": {
            "description": "Exact environment name to delete. Preserve whitespace and casing.",
            "minLength": 1,
            "type": "string"
          },
          "monitorSlug": {
            "description": "Monitor slug or GUID.",
            "minLength": 1,
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "projectSlug",
          "monitorSlug",
          "environment"
        ],
        "type": "object"
      },
      "name": "delete_monitor_environment",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "environment": {
            "type": "string"
          },
          "monitorSlug": {
            "type": "string"
          },
          "projectSlug": {
            "type": "string"
          },
          "success": {
            "const": true,
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "monitorSlug",
          "projectSlug",
          "environment"
        ],
        "type": "object"
      },
      "title": "Delete Cron Monitor Environment"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Delete a Sentry HTTP uptime monitor.\n\nUse this tool when you need to permanently remove an uptime monitor.\n\nBe careful when using this tool! Deletion cannot be undone.\n\n\u003cexamples\u003e\ndelete_uptime_monitor(organizationSlug='my-organization', projectSlug='backend', uptimeMonitorId='12345')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "uptimeMonitorId": {
            "description": "Uptime monitor ID (detector id).",
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "projectSlug",
          "uptimeMonitorId"
        ],
        "type": "object"
      },
      "name": "delete_uptime_monitor",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "projectSlug": {
            "type": "string"
          },
          "success": {
            "const": true,
            "type": "boolean"
          },
          "uptimeMonitorId": {
            "type": "string"
          }
        },
        "required": [
          "success",
          "uptimeMonitorId",
          "projectSlug"
        ],
        "type": "object"
      },
      "title": "Delete Uptime Monitor"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Find Sentry alert rules.\n\nUse this tool when you need to:\n- List Alerts (workflows) for an organization or project, including Alerts without connected sources\n- List Metric Monitors using compatibility references; prefer find_metric_monitors for canonical monitor IDs\n- Find an alert rule ID by name before inspecting it\n- Check alert conditions, queries, triggers, actions, owner, or environment\n\n\u003cexamples\u003e\nfind_alert_rules(organizationSlug='my-org')\nfind_alert_rules(organizationSlug='my-org', projectSlug='backend')\nfind_alert_rules(organizationSlug='my-org', kind='issue', projectSlug='backend', query='critical')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Omit `projectSlug` to search organization-wide. A project filter finds connected Alerts, which may also cover other projects.\n- Metric entries expose monitorId and projectId. id retains a legacy alert-rule ID when available, otherwise detector:\u003cmonitorId\u003e. status describes enabled/disabled monitoring, not a legacy alert status.\n- Issue and metric alert rules have independent pagination state. Reuse a nextCursor only with its matching kind.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "cursor": {
            "anyOf": [
              {
                "description": "Optional pagination cursor from a previous Sentry API response.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "kind": {
            "default": "all",
            "description": "Which alert rule family to search. Use `all` to include Alerts (workflows) and Metric Monitors.",
            "enum": [
              "all",
              "issue",
              "metric"
            ],
            "type": "string"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of alert rules to return per alert family.",
            "exclusiveMinimum": 0,
            "maximum": 100,
            "type": "integer"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug, or exact lowercase `all` when a tool supports all-projects scope. Other casing is treated as a project slug.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "query": {
            "anyOf": [
              {
                "description": "Optional search query for alert rule name.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "find_alert_rules",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "issueRules": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "actionMatch": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "dateCreated": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "dateUpdated": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "environment": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "filterMatch": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "frequencyMinutes": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "id": {
                  "type": "string"
                },
                "lastTriggered": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": "string"
                },
                "owner": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "webUrl": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "status",
                "actionMatch",
                "filterMatch",
                "frequencyMinutes",
                "environment",
                "owner",
                "dateCreated",
                "dateUpdated",
                "lastTriggered",
                "webUrl"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "metricMonitorHint": {
            "type": "string"
          },
          "metricRules": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "aggregate": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "dataset": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "dateCreated": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "enabled": {
                  "type": "boolean"
                },
                "environment": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "id": {
                  "description": "Legacy alert-rule ID when available, otherwise detector:\u003cmonitorId\u003e.",
                  "type": "string"
                },
                "monitorId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "owner": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "projectId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "query": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "enum": [
                    "enabled",
                    "disabled"
                  ],
                  "type": "string"
                },
                "timeWindowMinutes": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "webUrl": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "monitorId",
                "projectId",
                "enabled",
                "name",
                "status",
                "dataset",
                "aggregate",
                "query",
                "timeWindowMinutes",
                "environment",
                "owner",
                "dateCreated",
                "webUrl"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "pagination": {
            "additionalProperties": false,
            "properties": {
              "issue": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "nextCursor": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "nextCursor"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metric": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "nextCursor": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "nextCursor"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "issue",
              "metric"
            ],
            "type": "object"
          }
        },
        "required": [
          "issueRules",
          "metricRules",
          "pagination"
        ],
        "type": "object"
      },
      "title": "Find Alert Rules"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Find Sentry dashboards in an organization.\n\nUse this tool when you need to:\n- List dashboards in an organization\n- Find a dashboard ID before calling get_dashboard_details\n- Search dashboards by title\n\n\u003cexamples\u003e\nfind_dashboards(organizationSlug='my-organization')\nfind_dashboards(organizationSlug='my-organization', titleQuery='errors')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Dashboard IDs are organization-scoped.\n- Use `get_dashboard_details` after finding the correct dashboard ID.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "cursor": {
            "anyOf": [
              {
                "description": "Optional pagination cursor from a previous response. Reuse cursors only with the same search scope and project constraint.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of dashboards to return.",
            "exclusiveMinimum": 0,
            "maximum": 100,
            "type": "integer"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "sort": {
            "default": "title",
            "description": "Sort order for dashboard results.",
            "enum": [
              "title",
              "-title",
              "dateCreated",
              "-dateCreated"
            ],
            "type": "string"
          },
          "titleQuery": {
            "anyOf": [
              {
                "description": "Optional title substring to search for.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "find_dashboards",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "dashboards": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "createdBy": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "dateCreated": {
                  "type": "string"
                },
                "environments": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "id": {
                  "type": "string"
                },
                "isFavorited": {
                  "type": "boolean"
                },
                "lastVisited": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "prebuiltId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "projects": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "title": {
                  "type": "string"
                },
                "url": {
                  "format": "uri",
                  "type": "string"
                },
                "widgetCount": {
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                },
                "widgetTypes": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "required": [
                "id",
                "title",
                "widgetCount",
                "widgetTypes",
                "projects",
                "environments",
                "createdBy",
                "dateCreated",
                "lastVisited",
                "isFavorited",
                "prebuiltId",
                "url"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "dashboards",
          "nextCursor"
        ],
        "type": "object"
      },
      "title": "Find Dashboards"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Find events dropped before they were stored in Sentry — ground-truth data-fidelity information about what was and wasn't captured.\n\nEvents can be dropped client-side in the SDK (sample_rate, before_send) or\nserver-side at ingest (rate limited, over quota, filtered, invalid, abuse/spike\nprotection, cardinality limited). Accepted-only views (searches, aggregates,\ncharts) can't show this, so the data may be incomplete in ways they don't reveal\n— for example, a flat or spiky chart caused entirely by drops.\n\nUse this tool when you need to:\n- Explain why a chart is flat, lower than expected, or doesn't match what the user is sending\n- Confirm the data you need is actually in Sentry (not dropped) before trusting a query, aggregate, or dashboard\n- Attribute a volume anomaly to a specific drop reason (quota, spike protection, sampling, filters)\n- Tell the user why their data is missing and what to do about it (raise quota, fix sampling, etc.)\n\nReturns dropped event volume bucketed over time, with the drop `outcome` and `reason`\nfor each bucket, plus the accepted volume per bucket so you can compute the dropped share.\n\n\u003cexamples\u003e\nfind_dropped_events(organizationSlug='my-org', dataset='spans', projectSlug='my-project')\nfind_dropped_events(organizationSlug='my-org', dataset='logs', statsPeriod='30d', interval='1d')\nfind_dropped_events(organizationSlug='my-org', dataset='errors', outcome='rate_limited')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- This is independent of any search query — it reports drops for the whole project/time range.\n- `outcome` is the drop kind (e.g. rate_limited, filtered); `reason` is the sub-cause (e.g. key_quota, sample_rate).\n- Each bucket's `tags` classify the drop: `intentional` (user-configured, e.g. sampling or filters) vs `unintentional` (not intended, e.g. quota or abuse).\n- Pass `outcome` and/or `reason` to scope the dropped side to one classification; the accepted volume is always returned in full.\n- An empty `droppedEvents` list means no drops in the window — the data can be trusted.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "dataset": {
            "default": "spans",
            "description": "Which data type to report drops for.",
            "enum": [
              "spans",
              "logs",
              "metrics",
              "errors"
            ],
            "type": "string"
          },
          "end": {
            "anyOf": [
              {
                "description": "Absolute end (ISO 8601). Must be paired with start.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "interval": {
            "anyOf": [
              {
                "description": "Bucket size, at most '1d' and dividing one day evenly, e.g. '1h', '1d'. Use '1d' and sum the buckets for longer ranges. Omit to let Sentry pick for the range.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "outcome": {
            "anyOf": [
              {
                "description": "Scope the dropped side to one top-level drop classification. Accepted volume is still returned in full.",
                "enum": [
                  "rate_limited",
                  "filtered",
                  "invalid",
                  "abuse",
                  "client_discard",
                  "cardinality_limited"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "reason": {
            "anyOf": [
              {
                "description": "Scope the dropped side to one reason (sub-classification within an outcome, e.g. 'spike_protection'). Combine with `outcome`.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "start": {
            "anyOf": [
              {
                "description": "Absolute start (ISO 8601). Must be paired with end.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "statsPeriod": {
            "anyOf": [
              {
                "description": "Relative time range, e.g. '24h', '7d', '30d'. Mutually exclusive with start/end.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "find_dropped_events",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "acceptedEvents": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "category": {
                  "type": "string"
                },
                "count": {
                  "type": "number"
                },
                "end": {
                  "type": "number"
                },
                "outcome": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "start": {
                  "type": "number"
                },
                "tags": {
                  "default": [],
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "required": [
                "outcome",
                "reason",
                "category",
                "start",
                "end",
                "count",
                "tags"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "dataset": {
            "type": "string"
          },
          "droppedEvents": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "category": {
                  "type": "string"
                },
                "count": {
                  "type": "number"
                },
                "end": {
                  "type": "number"
                },
                "outcome": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "start": {
                  "type": "number"
                },
                "tags": {
                  "default": [],
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "required": [
                "outcome",
                "reason",
                "category",
                "start",
                "end",
                "count",
                "tags"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "interval": {
            "type": "number"
          }
        },
        "required": [
          "dataset",
          "interval",
          "droppedEvents",
          "acceptedEvents"
        ],
        "type": "object"
      },
      "title": "Find Dropped Events"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "List the DSNs (client keys) for a Sentry project: the SENTRY_DSN an SDK uses to send events.\n\nUse this tool when you need to:\n- Retrieve a SENTRY_DSN for a specific project\n- Configure a Sentry SDK for an existing project\n\n\u003chints\u003e\n- If the user passes a parameter in the form of name/otherName, its likely in the format of \u003corganizationSlug\u003e/\u003cprojectSlug\u003e.\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 `find_organizations()` first.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "projectSlug"
        ],
        "type": "object"
      },
      "name": "find_dsns",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "dsns": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "dsn": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "dsn"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "dsns"
        ],
        "type": "object"
      },
      "title": "Find DSNs"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Find Sentry Metric Monitors that evaluate errors, performance, logs, metrics or crash rates.\nUse this tool to find a monitor ID before inspecting its query and detection conditions with get_metric_monitor_details.\nResults contain native monitor IDs, separate from legacy metric alert IDs. Alerts connected through workflowIds control notifications; inspect them with get_alert_rule(kind='issue').\nOmit projectSlug to search all accessible projects. Pass nextCursor as cursor with the same filters to retrieve more results.\nfind_metric_monitors(organizationSlug='my-org', projectSlug='backend', query='latency')",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "cursor": {
            "description": "nextCursor from the previous page.",
            "type": "string"
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug, or exact lowercase `all` when a tool supports all-projects scope. Other casing is treated as a project slug.",
            "type": "string"
          },
          "query": {
            "description": "Optional monitor search, such as a name or name:\"latency\". This searches monitor metadata, not the monitored event query. Results are always restricted to Metric Monitors.",
            "minLength": 1,
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "find_metric_monitors",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "monitors": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "enabled": {
                  "type": "boolean"
                },
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "owner": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "projectId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "webUrl": {
                  "type": "string"
                },
                "workflowIds": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "required": [
                "id",
                "name",
                "projectId",
                "enabled",
                "owner",
                "workflowIds",
                "webUrl"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "monitors",
          "nextCursor"
        ],
        "type": "object"
      },
      "title": "Find Metric Monitors"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "List or search Sentry cron monitors, which track scheduled jobs through check-ins.\nFor HTTP uptime checks use find_uptime_monitors; for metric thresholds use find_metric_monitors.\n\nUse this tool when you need to:\n- List cron monitors in an organization\n- Find a monitor by name or slug before getting details\n- Check monitor status, owner, project, schedule, or recent environment state\n- When `hasMore` is true, narrow the results with project, environment, owner, or query filters\n\n\u003cexamples\u003e\nfind_monitors(organizationSlug='my-organization')\nfind_monitors(organizationSlug='my-organization', projectSlug='backend', query='billing')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "environment": {
            "anyOf": [
              {
                "description": "Optional environment name to limit monitor state.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of monitors to return.",
            "exclusiveMinimum": 0,
            "maximum": 99,
            "type": "integer"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "owner": {
            "anyOf": [
              {
                "description": "Optional owner filter, such as `user:123`, `team:456`, `myteams`, or `unassigned`.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug, or exact lowercase `all` when a tool supports all-projects scope. Other casing is treated as a project slug.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "query": {
            "anyOf": [
              {
                "description": "Optional search query for monitor name or slug.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "find_monitors",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "hasMore": {
            "type": "boolean"
          },
          "monitors": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "environments": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "lastCheckIn": {
                        "anyOf": [
                          {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "name",
                      "status",
                      "lastCheckIn"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "hasMoreEnvironments": {
                  "type": "boolean"
                },
                "id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "lastCheckIn": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "type": "string"
                },
                "nextCheckIn": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "owner": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "projectSlug": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "schedule": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "checkInMargin": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "maxRuntime": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "value": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "value",
                        "checkInMargin",
                        "maxRuntime"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "slug": {
                  "type": "string"
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "webUrl": {
                  "format": "uri",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "slug",
                "name",
                "projectSlug",
                "status",
                "owner",
                "lastCheckIn",
                "nextCheckIn",
                "webUrl",
                "schedule",
                "environments",
                "hasMoreEnvironments"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "monitors",
          "hasMore"
        ],
        "type": "object"
      },
      "title": "Find Cron Monitors"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "List or search the Sentry organizations the user has access to.\n\nUse this tool when you need to:\n- View organizations in Sentry\n- Find an organization's slug to aid other tool requests\n- Search for specific organizations by name or slug\n\nReturns up to 25 results per page. When hasMore is true, pass the returned nextCursor with the same filters and scope to fetch the next page.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "cursor": {
            "anyOf": [
              {
                "description": "Pagination cursor from a previous call's nextCursor. Reuse it with the same filters and scope to fetch the next page.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "query": {
            "anyOf": [
              {
                "description": "Search query to filter results by name or slug. Use this to narrow down results when there are many items.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "find_organizations",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "hasMore": {
            "type": "boolean"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "organizations": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "regionUrl": {
                  "anyOf": [
                    {
                      "format": "uri",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "slug": {
                  "type": "string"
                },
                "webUrl": {
                  "anyOf": [
                    {
                      "format": "uri",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "slug",
                "webUrl",
                "regionUrl"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "organizations",
          "hasMore",
          "nextCursor"
        ],
        "type": "object"
      },
      "title": "Find Organizations"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "List or search projects in a Sentry organization.\n\nUse this tool when you need to:\n- View projects in a Sentry organization\n- Find a project's slug to aid other tool requests\n- Search for specific projects by name or slug\n\nReturns up to 25 results per page. When hasMore is true, pass the returned nextCursor with the same filters and scope to fetch the next page.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "cursor": {
            "anyOf": [
              {
                "description": "Pagination cursor from a previous call's nextCursor. Reuse it with the same filters and scope to fetch the next page.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "query": {
            "anyOf": [
              {
                "description": "Search query to filter results by name or slug. Use this to narrow down results when there are many items.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "find_projects",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "hasMore": {
            "type": "boolean"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "projects": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "slug": {
                  "type": "string"
                }
              },
              "required": [
                "slug"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "projects",
          "hasMore",
          "nextCursor"
        ],
        "type": "object"
      },
      "title": "Find Projects"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "List or search releases (deployed versions) in a Sentry organization or project.\n\nUse 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\nReturns up to 25 results. When hasMore is true, use the projectSlug or query parameter to narrow down results.\n\n\u003cexamples\u003e\n### Find the most recent releases in the 'my-organization' organization\n\n```\nfind_releases(organizationSlug='my-organization')\n```\n\n### Find releases matching '2ce6a27' in the 'my-organization' organization\n\n```\nfind_releases(organizationSlug='my-organization', query='2ce6a27')\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- If the user passes a parameter in the form of name/otherName, its likely in the format of \u003corganizationSlug\u003e/\u003cprojectSlug\u003e.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug, or exact lowercase `all` when a tool supports all-projects scope. Other casing is treated as a project slug.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "query": {
            "anyOf": [
              {
                "description": "Search for versions which contain the provided string.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "find_releases",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "hasMore": {
            "type": "boolean"
          },
          "releases": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "dateCreated": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                  "type": "string"
                },
                "dateReleased": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "firstEvent": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "lastCommit": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "author": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "dateCreated": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "type": "string"
                        },
                        "id": {
                          "type": "string"
                        },
                        "message": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "message",
                        "author",
                        "dateCreated"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "lastDeploy": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "dateFinished": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "dateStarted": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "environment": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "id": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "environment",
                        "dateStarted",
                        "dateFinished"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "lastEvent": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "newIssues": {
                  "type": "number"
                },
                "projects": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "version": {
                  "type": "string"
                }
              },
              "required": [
                "version",
                "dateCreated",
                "dateReleased",
                "firstEvent",
                "lastEvent",
                "newIssues",
                "projects",
                "lastCommit",
                "lastDeploy"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "releases",
          "hasMore"
        ],
        "type": "object"
      },
      "title": "Find Releases"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "List or search teams in a Sentry organization.\n\nUse this tool when you need to:\n- View teams in a Sentry organization\n- Find a team's slug and numeric ID to aid other tool requests\n- Search for specific teams by name or slug\n\nReturns up to 25 results per page. When hasMore is true, pass the returned nextCursor with the same filters and scope to fetch the next page.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "cursor": {
            "anyOf": [
              {
                "description": "Pagination cursor from a previous call's nextCursor. Reuse it with the same filters and scope to fetch the next page.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "query": {
            "anyOf": [
              {
                "description": "Search query to filter results by name or slug. Use this to narrow down results when there are many items.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "find_teams",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "hasMore": {
            "type": "boolean"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "teams": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                }
              },
              "required": [
                "slug",
                "id"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "teams",
          "hasMore",
          "nextCursor"
        ],
        "type": "object"
      },
      "title": "Find Teams"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Find Sentry uptime monitors.\n\nUse this tool when you need to:\n- List HTTP uptime monitors in an organization\n- Find a monitor by name or URL before getting details\n- Check monitor status, owner, project, interval, or target URL\n- When `hasMore` is true, narrow results with project, environment, owner, or query filters\n\nThis is separate from cron monitors (`find_monitors`).\n\n\u003cexamples\u003e\nfind_uptime_monitors(organizationSlug='my-organization')\nfind_uptime_monitors(organizationSlug='my-organization', projectSlug='backend', query='api')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "environment": {
            "description": "Optional environment name to limit monitors.",
            "minLength": 1,
            "type": "string"
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of monitors to return.",
            "exclusiveMinimum": 0,
            "maximum": 99,
            "type": "integer"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "owner": {
            "description": "Optional owner filter, such as `user:123`, `team:456`, `myteams`, or `unassigned`.",
            "minLength": 1,
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug, or exact lowercase `all` when a tool supports all-projects scope. Other casing is treated as a project slug.",
            "type": "string"
          },
          "query": {
            "description": "Optional search query for monitor name or URL.",
            "minLength": 1,
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "find_uptime_monitors",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "hasMore": {
            "type": "boolean"
          },
          "monitors": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "environment": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "intervalSeconds": {
                  "type": "number"
                },
                "method": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "owner": {
                  "type": "string"
                },
                "projectSlug": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                },
                "uptimeStatus": {
                  "enum": [
                    "ok",
                    "failed",
                    "unknown"
                  ],
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "webUrl": {
                  "format": "uri",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "projectSlug",
                "status",
                "uptimeStatus",
                "url",
                "intervalSeconds",
                "webUrl"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "monitors",
          "hasMore"
        ],
        "type": "object"
      },
      "title": "Find Uptime Monitors"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Fetch the chronological transcript and debugging details for one agent conversation, formerly called an AI conversation.\n\nReturns a timeline of user messages, assistant messages, and tool calls, with trace/span IDs for deeper debugging. To discover or list conversations, use search_agent_conversations.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "conversationId": {
            "description": "The agent conversation ID from gen_ai.conversation.id.",
            "type": "string"
          },
          "end": {
            "description": "Explicit end time for the conversation lookup window.",
            "type": "string"
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "project": {
            "description": "Numeric project ID to scope the query. Falls back to context constraint or all projects.",
            "type": "string"
          },
          "regionUrl": {
            "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
            "type": "string"
          },
          "start": {
            "description": "Explicit start time for the conversation lookup window.",
            "type": "string"
          }
        },
        "required": [
          "conversationId"
        ],
        "type": "object"
      },
      "name": "get_agent_conversation_details",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "aiCallCount": {
            "type": "number"
          },
          "conversationId": {
            "type": "string"
          },
          "endTimestamp": {
            "type": [
              "number",
              "null"
            ]
          },
          "lookupWindow": {
            "additionalProperties": false,
            "properties": {
              "end": {
                "type": "string"
              },
              "start": {
                "type": "string"
              },
              "statsPeriod": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "messageCount": {
            "type": "number"
          },
          "organizationSlug": {
            "type": "string"
          },
          "projects": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "spanCount": {
            "type": "number"
          },
          "spanSummaries": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "durationMs": {
                  "type": "number"
                },
                "genAi": {
                  "additionalProperties": false,
                  "properties": {
                    "agentName": {
                      "type": "string"
                    },
                    "costTotalTokens": {
                      "type": "number"
                    },
                    "inputMessages": {
                      "type": "string"
                    },
                    "operationType": {
                      "type": "string"
                    },
                    "outputMessages": {
                      "type": "string"
                    },
                    "requestMessages": {
                      "type": "string"
                    },
                    "requestModel": {
                      "type": "string"
                    },
                    "responseModel": {
                      "type": "string"
                    },
                    "responseObject": {
                      "type": "string"
                    },
                    "responseText": {
                      "type": "string"
                    },
                    "systemInstructions": {
                      "type": "string"
                    },
                    "toolCallArguments": {
                      "type": "string"
                    },
                    "toolDefinitions": {
                      "type": "string"
                    },
                    "toolInput": {
                      "type": "string"
                    },
                    "toolName": {
                      "type": "string"
                    },
                    "truncatedFields": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "usageTotalTokens": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "isTransaction": {
                  "type": "boolean"
                },
                "parentSpanId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "project": {
                  "type": "string"
                },
                "projectId": {
                  "type": [
                    "string",
                    "number"
                  ]
                },
                "spanDescription": {
                  "type": "string"
                },
                "spanId": {
                  "type": "string"
                },
                "spanName": {
                  "type": "string"
                },
                "spanOp": {
                  "type": "string"
                },
                "spanStatus": {
                  "type": "string"
                },
                "timestamp": {
                  "type": "number"
                },
                "traceId": {
                  "type": "string"
                },
                "transaction": {
                  "type": "string"
                }
              },
              "required": [
                "spanId",
                "traceId",
                "project",
                "projectId",
                "timestamp",
                "durationMs"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "startTimestamp": {
            "type": [
              "number",
              "null"
            ]
          },
          "timeline": {
            "items": {
              "oneOf": [
                {
                  "additionalProperties": false,
                  "properties": {
                    "content": {
                      "type": "string"
                    },
                    "genAi": {
                      "additionalProperties": false,
                      "properties": {
                        "agentName": {
                          "type": "string"
                        },
                        "costTotalTokens": {
                          "type": "number"
                        },
                        "inputMessages": {
                          "type": "string"
                        },
                        "operationType": {
                          "type": "string"
                        },
                        "outputMessages": {
                          "type": "string"
                        },
                        "requestMessages": {
                          "type": "string"
                        },
                        "requestModel": {
                          "type": "string"
                        },
                        "responseModel": {
                          "type": "string"
                        },
                        "responseObject": {
                          "type": "string"
                        },
                        "responseText": {
                          "type": "string"
                        },
                        "systemInstructions": {
                          "type": "string"
                        },
                        "toolCallArguments": {
                          "type": "string"
                        },
                        "toolDefinitions": {
                          "type": "string"
                        },
                        "toolInput": {
                          "type": "string"
                        },
                        "toolName": {
                          "type": "string"
                        },
                        "truncatedFields": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "usageTotalTokens": {
                          "type": "number"
                        }
                      },
                      "type": "object"
                    },
                    "metadata": {
                      "additionalProperties": false,
                      "properties": {
                        "agentName": {
                          "type": "string"
                        },
                        "durationMs": {
                          "type": "number"
                        },
                        "model": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "totalTokens": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "totalTokens",
                        "durationMs"
                      ],
                      "type": "object"
                    },
                    "role": {
                      "enum": [
                        "user",
                        "assistant"
                      ],
                      "type": "string"
                    },
                    "spanId": {
                      "type": "string"
                    },
                    "timestamp": {
                      "type": "number"
                    },
                    "traceId": {
                      "type": "string"
                    },
                    "type": {
                      "const": "message",
                      "type": "string"
                    },
                    "userEmail": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "role",
                    "content",
                    "timestamp",
                    "spanId",
                    "traceId"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "arguments": {
                      "type": "string"
                    },
                    "durationMs": {
                      "type": "number"
                    },
                    "genAi": {
                      "additionalProperties": false,
                      "properties": {
                        "agentName": {
                          "type": "string"
                        },
                        "costTotalTokens": {
                          "type": "number"
                        },
                        "inputMessages": {
                          "type": "string"
                        },
                        "operationType": {
                          "type": "string"
                        },
                        "outputMessages": {
                          "type": "string"
                        },
                        "requestMessages": {
                          "type": "string"
                        },
                        "requestModel": {
                          "type": "string"
                        },
                        "responseModel": {
                          "type": "string"
                        },
                        "responseObject": {
                          "type": "string"
                        },
                        "responseText": {
                          "type": "string"
                        },
                        "systemInstructions": {
                          "type": "string"
                        },
                        "toolDefinitions": {
                          "type": "string"
                        },
                        "usageTotalTokens": {
                          "type": "number"
                        }
                      },
                      "type": "object"
                    },
                    "input": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "spanId": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "timestamp": {
                      "type": "number"
                    },
                    "traceId": {
                      "type": "string"
                    },
                    "type": {
                      "const": "tool_call",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "name",
                    "spanId",
                    "traceId",
                    "timestamp",
                    "durationMs"
                  ],
                  "type": "object"
                }
              ]
            },
            "type": "array"
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "toolCallCount": {
            "type": "number"
          },
          "totalTokens": {
            "type": "number"
          },
          "traceIds": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "url": {
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "conversationId",
          "title",
          "organizationSlug",
          "url",
          "lookupWindow",
          "startTimestamp",
          "endTimestamp",
          "traceIds",
          "projects",
          "spanCount",
          "aiCallCount",
          "messageCount",
          "toolCallCount",
          "totalTokens",
          "spanSummaries",
          "timeline"
        ],
        "type": "object"
      },
      "title": "Get Agent Conversation Details"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Discover available actions, conditions, or sources for a Sentry Alert (notification workflow).\n\nChoose one section per call; reuse its cursor with the same section and filters.\n- actions: installed integrations, notification services, native config/data schemas and Sentry App settings. These schemas use Sentry's internal field names and target enums; inputGuide explains the update format.\n- conditions: condition types and comparison schemas for workflow triggers or action filters.\n- sources: accessible monitors and project issue streams. Use an issue_stream source to connect all issues from its project; a source with projectId=null covers all projects.\nSlack and Teams accept channel names; Discord needs a channel ID or URL. Dynamic Sentry App fields require explicit values; this tool does not enumerate their external choices.\n\n\u003cexamples\u003e\nget_alert_options(organizationSlug='my-org', section='actions', actionTypes=['slack', 'msteams'])\nget_alert_options(organizationSlug='my-org', section='conditions', conditionGroup='action_filter')\nget_alert_options(organizationSlug='my-org', section='sources', projectSlug='backend', sourceTypes=['issue_stream'])\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "actionTypes": {
            "anyOf": [
              {
                "items": {
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 20,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Actions only: restrict to action types, such as slack, msteams, email, or pagerduty."
          },
          "conditionGroup": {
            "anyOf": [
              {
                "enum": [
                  "workflow_trigger",
                  "action_filter"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Required for conditions: workflow_trigger for Alert triggers, action_filter for action groups."
          },
          "cursor": {
            "default": null,
            "description": "Next cursor from the same section and filters.",
            "type": [
              "string",
              "null"
            ]
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "limit": {
            "default": 25,
            "description": "Maximum options to return in this page.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug, or exact lowercase `all` when a tool supports all-projects scope. Other casing is treated as a project slug.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "query": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Sources only: Sentry monitor search, such as name:latency or workflow:123."
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "section": {
            "description": "The kind of Alert options to discover.",
            "enum": [
              "actions",
              "conditions",
              "sources"
            ],
            "type": "string"
          },
          "sourceTypes": {
            "anyOf": [
              {
                "items": {
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 20,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Sources only: restrict by monitor type, such as issue_stream or metric_issue."
          }
        },
        "required": [
          "section"
        ],
        "type": "object"
      },
      "name": "get_alert_options",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "actions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "configSchema": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "dataSchema": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "handlerGroup": {
                  "type": "string"
                },
                "integrations": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "services": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "sentryApp": {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "installationId": {
                      "type": "string"
                    },
                    "installationUuid": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "settings": {
                      "additionalProperties": {},
                      "propertyNames": {
                        "type": "string"
                      },
                      "type": "object"
                    },
                    "status": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "installationId",
                    "installationUuid",
                    "status"
                  ],
                  "type": "object"
                },
                "services": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "slug": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "slug",
                      "name"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type",
                "handlerGroup",
                "configSchema",
                "dataSchema"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "conditionGroup": {
            "enum": [
              "workflow_trigger",
              "action_filter"
            ],
            "type": "string"
          },
          "conditions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "comparisonJsonSchema": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "handlerGroup": {
                  "type": "string"
                },
                "handlerSubgroup": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type",
                "handlerGroup",
                "comparisonJsonSchema"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "inputGuide": {
            "additionalProperties": false,
            "properties": {
              "fieldNames": {
                "additionalProperties": {
                  "type": "string"
                },
                "propertyNames": {
                  "type": "string"
                },
                "type": "object"
              },
              "notes": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "schemaFormat": {
                "type": "string"
              },
              "targetTypes": {
                "additionalProperties": {
                  "type": "string"
                },
                "propertyNames": {
                  "type": "string"
                },
                "type": "object"
              }
            },
            "required": [
              "schemaFormat",
              "fieldNames",
              "targetTypes",
              "notes"
            ],
            "type": "object"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "section": {
            "enum": [
              "actions",
              "conditions",
              "sources"
            ],
            "type": "string"
          },
          "sources": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "enabled": {
                  "type": "boolean"
                },
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "projectId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "type": "string"
                },
                "workflowIds": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "required": [
                "id",
                "name",
                "type",
                "projectId",
                "enabled",
                "workflowIds"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "section",
          "nextCursor"
        ],
        "type": "object"
      },
      "title": "Get Alert Options"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get details for one Sentry alert rule by ID or exact name.\n\nUse this tool when you need to inspect an alert rule's exact conditions, query, triggers, and actions before explaining or planning changes.\nTo list or search alert rules, use find_alert_rules instead.\n\n\u003cexamples\u003e\nget_alert_rule(organizationSlug='my-org', kind='metric', ruleIdOrName='12345')\nget_alert_rule(organizationSlug='my-org', kind='issue', projectSlug='backend', ruleIdOrName='Notify backend team')\nget_alert_rule(organizationSlug='my-org', projectSlug='backend', ruleIdOrName='P95 latency')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Prefer get_metric_monitor_details for Metric Monitors. With kind=metric, numeric IDs retain their legacy alert-rule meaning; detector:123 explicitly identifies monitor 123.\n- With `kind='all'`, a digit-only `ruleIdOrName` is treated as an exact alert rule name.\n- Issue Alerts are notification workflows and may cover multiple projects or have no connected sources. Omit projectSlug to inspect organization-wide.\n- Issue details include complete conditions, notification actions, connected monitors and project scope. Inaccessible or session-restricted sources are marked explicitly.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "kind": {
            "default": "all",
            "description": "Which alert family to inspect. Numeric metric IDs are legacy alert-rule IDs, not monitor IDs. `all` performs an exact-name lookup.",
            "enum": [
              "all",
              "issue",
              "metric"
            ],
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug, or exact lowercase `all` when a tool supports all-projects scope. Other casing is treated as a project slug.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "ruleIdOrName": {
            "description": "An Alert ID or exact name. Metric references accept legacy numeric alert-rule IDs or detector:123 for canonical monitor IDs.",
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "ruleIdOrName"
        ],
        "type": "object"
      },
      "name": "get_alert_rule",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "alertRule": {
            "additionalProperties": false,
            "description": "Set when the match is an Issue Alert.",
            "properties": {
              "actionFilters": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "actions": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "config": {
                            "additionalProperties": {},
                            "propertyNames": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          "data": {
                            "additionalProperties": {},
                            "propertyNames": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          "id": {
                            "type": [
                              "string",
                              "number"
                            ]
                          },
                          "integrationId": {
                            "type": [
                              "string",
                              "number",
                              "null"
                            ]
                          },
                          "status": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "config",
                          "data"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "conditions": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "comparison": {},
                          "conditionResult": {},
                          "id": {
                            "type": [
                              "string",
                              "number"
                            ]
                          },
                          "type": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "comparison",
                          "conditionResult"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "id": {
                      "type": [
                        "string",
                        "number"
                      ]
                    },
                    "logicType": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "logicType",
                    "conditions",
                    "actions"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "config": {
                "additionalProperties": false,
                "properties": {
                  "frequency": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "dateCreated": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dateUpdated": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "enabled": {
                "type": "boolean"
              },
              "environment": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "id": {
                "type": "string"
              },
              "lastTriggered": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": "string"
              },
              "owner": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "scope": {
                "additionalProperties": false,
                "properties": {
                  "includesAllProjects": {
                    "type": "boolean"
                  },
                  "limitedToProject": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "outsideProjectCount": {
                    "type": "number"
                  },
                  "projectIds": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "includesAllProjects",
                  "projectIds"
                ],
                "type": "object"
              },
              "sources": {
                "items": {
                  "oneOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "conditionGroup": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "conditions": {
                                  "items": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "comparison": {},
                                      "conditionResult": {},
                                      "id": {
                                        "type": [
                                          "string",
                                          "number"
                                        ]
                                      },
                                      "type": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "comparison",
                                      "conditionResult"
                                    ],
                                    "type": "object"
                                  },
                                  "type": "array"
                                },
                                "id": {
                                  "type": [
                                    "string",
                                    "number"
                                  ]
                                },
                                "logicType": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "logicType",
                                "conditions"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "config": {
                          "additionalProperties": false,
                          "properties": {
                            "comparisonDeltaSeconds": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "detectionType": {
                              "type": "string"
                            },
                            "downtimeThreshold": {
                              "type": "number"
                            },
                            "environment": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "mode": {
                              "description": "Raw integer detector mode from Sentry.",
                              "type": "number"
                            },
                            "recoveryThreshold": {
                              "type": "number"
                            }
                          },
                          "type": "object"
                        },
                        "dataSources": {
                          "items": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "query": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "aggregate": {
                                        "type": "string"
                                      },
                                      "dataset": {
                                        "type": "string"
                                      },
                                      "environment": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "eventTypes": {
                                        "items": {
                                          "type": "string"
                                        },
                                        "type": "array"
                                      },
                                      "extrapolationMode": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "query": {
                                        "type": "string"
                                      },
                                      "timeWindowSeconds": {
                                        "type": "number"
                                      }
                                    },
                                    "required": [
                                      "dataset",
                                      "query",
                                      "aggregate",
                                      "environment",
                                      "eventTypes",
                                      "timeWindowSeconds"
                                    ],
                                    "type": "object"
                                  },
                                  "type": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "query"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "omittedFields": {
                                    "items": {
                                      "type": "string"
                                    },
                                    "type": "array"
                                  },
                                  "query": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "assertion": {},
                                      "intervalSeconds": {
                                        "type": "number"
                                      },
                                      "method": {
                                        "type": "string"
                                      },
                                      "responseCaptureEnabled": {
                                        "type": "boolean"
                                      },
                                      "timeoutMs": {
                                        "type": "number"
                                      },
                                      "traceSampling": {
                                        "type": "boolean"
                                      },
                                      "url": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "url",
                                      "method",
                                      "intervalSeconds",
                                      "timeoutMs",
                                      "assertion"
                                    ],
                                    "type": "object"
                                  },
                                  "type": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "query",
                                  "omittedFields"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "query": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "config": {
                                        "additionalProperties": false,
                                        "properties": {
                                          "checkin_margin": {
                                            "type": [
                                              "number",
                                              "null"
                                            ]
                                          },
                                          "failure_issue_threshold": {
                                            "type": [
                                              "number",
                                              "null"
                                            ]
                                          },
                                          "max_runtime": {
                                            "type": [
                                              "number",
                                              "null"
                                            ]
                                          },
                                          "recovery_threshold": {
                                            "type": [
                                              "number",
                                              "null"
                                            ]
                                          },
                                          "schedule": {
                                            "anyOf": [
                                              {
                                                "type": "string"
                                              },
                                              {
                                                "items": {
                                                  "type": [
                                                    "number",
                                                    "string"
                                                  ]
                                                },
                                                "type": "array"
                                              }
                                            ]
                                          },
                                          "schedule_type": {
                                            "type": "string"
                                          },
                                          "timezone": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "schedule_type",
                                          "schedule"
                                        ],
                                        "type": "object"
                                      },
                                      "environments": {
                                        "items": {
                                          "additionalProperties": false,
                                          "properties": {
                                            "isMuted": {
                                              "type": "boolean"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "status": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "name",
                                            "status",
                                            "isMuted"
                                          ],
                                          "type": "object"
                                        },
                                        "type": "array"
                                      },
                                      "id": {
                                        "type": "string"
                                      },
                                      "isMuted": {
                                        "type": "boolean"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "slug": {
                                        "type": "string"
                                      },
                                      "status": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "slug",
                                      "status",
                                      "isMuted",
                                      "config",
                                      "environments"
                                    ],
                                    "type": "object"
                                  },
                                  "type": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "query"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "type": {
                                    "type": "string"
                                  },
                                  "unavailableReason": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "unavailableReason"
                                ],
                                "type": "object"
                              }
                            ]
                          },
                          "type": "array"
                        },
                        "enabled": {
                          "type": "boolean"
                        },
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "projectId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "status": {
                          "const": "available",
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "status",
                        "name",
                        "type",
                        "projectId",
                        "enabled",
                        "config",
                        "conditionGroup",
                        "dataSources"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "status": {
                          "const": "outside_project_constraint",
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "status"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "status": {
                          "const": "unavailable",
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "status",
                        "reason"
                      ],
                      "type": "object"
                    }
                  ]
                },
                "type": "array"
              },
              "triggers": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "conditions": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "comparison": {},
                            "conditionResult": {},
                            "id": {
                              "type": [
                                "string",
                                "number"
                              ]
                            },
                            "type": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "comparison",
                            "conditionResult"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "id": {
                        "type": [
                          "string",
                          "number"
                        ]
                      },
                      "logicType": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "logicType",
                      "conditions"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "webUrl": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "config",
              "owner",
              "dateCreated",
              "dateUpdated",
              "lastTriggered",
              "triggers",
              "actionFilters",
              "scope",
              "sources",
              "webUrl"
            ],
            "type": "object"
          },
          "guidance": {
            "type": "string"
          },
          "metricMonitor": {
            "additionalProperties": false,
            "description": "Set when the match is a Metric Monitor.",
            "properties": {
              "conditionGroup": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "conditions": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "comparison": {},
                            "conditionResult": {},
                            "id": {
                              "type": [
                                "string",
                                "number"
                              ]
                            },
                            "type": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "comparison",
                            "conditionResult"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "id": {
                        "type": [
                          "string",
                          "number"
                        ]
                      },
                      "logicType": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "logicType",
                      "conditions"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Native detection conditions, including resolution. Results: 75 critical, 50 warning, 0 resolved. Percent comparisons are absolute percentages (110 means 10% higher). Dynamic comparisons contain sensitivity, seasonality and thresholdType."
              },
              "config": {
                "additionalProperties": false,
                "properties": {
                  "comparisonDeltaSeconds": {
                    "type": "number"
                  },
                  "detectionType": {
                    "type": "string"
                  }
                },
                "required": [
                  "detectionType"
                ],
                "type": "object"
              },
              "dataSources": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "query": {
                      "additionalProperties": false,
                      "properties": {
                        "aggregate": {
                          "type": "string"
                        },
                        "dataset": {
                          "type": "string"
                        },
                        "environment": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventTypes": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "extrapolationMode": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "query": {
                          "type": "string"
                        },
                        "timeWindowSeconds": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "dataset",
                        "query",
                        "aggregate",
                        "environment",
                        "eventTypes",
                        "timeWindowSeconds"
                      ],
                      "type": "object"
                    },
                    "type": {
                      "type": "string"
                    },
                    "unavailableReason": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "dateCreated": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dateUpdated": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "enabled": {
                "type": "boolean"
              },
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "owner": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "projectId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "webUrl": {
                "type": "string"
              },
              "workflowIds": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "id",
              "name",
              "projectId",
              "enabled",
              "owner",
              "workflowIds",
              "webUrl",
              "description",
              "config",
              "conditionGroup",
              "dataSources",
              "dateCreated",
              "dateUpdated"
            ],
            "type": "object"
          }
        },
        "type": "object"
      },
      "title": "Get Alert Rule"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get detailed information about a specific Sentry dashboard.\n\nUse this tool when you need to:\n- Inspect a dashboard's widgets and saved query definitions\n- View dashboard projects, environments, filters, layout, and widget IDs\n- Resolve a dashboard by exact title or numeric ID\n\n\u003cexamples\u003e\nget_dashboard_details(organizationSlug='my-organization', dashboardIdOrTitle='12345')\nget_dashboard_details(organizationSlug='my-organization', dashboardIdOrTitle='Errors Overview')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Numeric dashboard IDs are resolved directly.\n- Title lookups require one exact case-insensitive match. Use `find_dashboards` first if uncertain.\n- This returns saved widget query definitions, not live widget data.\n- Saved transformations are listed per aggregate position, in application order.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "dashboardIdOrTitle": {
            "description": "The dashboard's numeric ID or exact title.",
            "minLength": 1,
            "type": "string"
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "dashboardIdOrTitle"
        ],
        "type": "object"
      },
      "name": "get_dashboard_details",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "dashboard": {
            "additionalProperties": false,
            "properties": {
              "createdBy": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "createdByEmail": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dateCreated": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "end": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "environments": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "expired": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "filters": {
                "additionalProperties": false,
                "properties": {
                  "globalFilters": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "dataset": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "tagKey": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "value": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "dataset",
                        "tagKey",
                        "value"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "releaseIds": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "releases": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "releases",
                  "releaseIds",
                  "globalFilters"
                ],
                "type": "object"
              },
              "id": {
                "type": "string"
              },
              "isFavorited": {
                "type": "boolean"
              },
              "period": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "prebuiltId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "projects": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "start": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "utc": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "widgets": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "datasetSource": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "description": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "displayType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "interval": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "layout": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "h": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "w": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "x": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "y": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "x",
                            "y",
                            "w",
                            "h"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "limit": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "queries": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "aggregates": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "columns": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "conditions": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "fields": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "orderby": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "transformations": {
                            "anyOf": [
                              {
                                "items": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "aggregate": {
                                      "description": "Aggregate at that position; null when the query has none there.",
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "aggregateIndex": {
                                      "description": "Zero-based position in `aggregates`.",
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991,
                                      "type": "integer"
                                    },
                                    "description": {
                                      "type": "string"
                                    },
                                    "transformations": {
                                      "description": "Saved transformations in application order.",
                                      "items": {
                                        "type": "string"
                                      },
                                      "type": "array"
                                    }
                                  },
                                  "required": [
                                    "aggregateIndex",
                                    "aggregate",
                                    "transformations",
                                    "description"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Saved ordered transformations per aggregate position. Duplicate aggregates are separate entries. Omitted when none are saved; null when this Sentry server does not report transformations."
                          }
                        },
                        "required": [
                          "name",
                          "conditions",
                          "fields",
                          "aggregates",
                          "columns",
                          "orderby"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "title": {
                      "type": "string"
                    },
                    "widgetType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "title",
                    "description",
                    "displayType",
                    "widgetType",
                    "datasetSource",
                    "interval",
                    "limit",
                    "layout",
                    "queries"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "id",
              "title",
              "url",
              "dateCreated",
              "createdBy",
              "createdByEmail",
              "projects",
              "environments",
              "period",
              "start",
              "end",
              "utc",
              "expired",
              "prebuiltId",
              "isFavorited",
              "filters",
              "widgets"
            ],
            "type": "object"
          }
        },
        "required": [
          "dashboard"
        ],
        "type": "object"
      },
      "title": "Get Dashboard Details"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Fetch the full markdown content of a Sentry documentation page.\n\nUse this tool when you need to:\n- Read the complete documentation for a specific topic\n- Get detailed implementation examples or code snippets\n- Access the full context of a documentation page\n- Extract specific sections from documentation\n\n\u003cexamples\u003e\n### Get the Next.js integration guide\n\n```\nget_doc(path='/platforms/javascript/guides/nextjs.md')\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Use the path from search_docs results for accurate fetching\n- Paths should end with .md extension\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "path": {
            "description": "The documentation path (e.g., '/platforms/javascript/guides/nextjs.md'). Get this from search_docs results.",
            "type": "string"
          }
        },
        "required": [
          "path"
        ],
        "type": "object"
      },
      "name": "get_doc",
      "title": "Get Sentry Doc"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Download attachments from a Sentry event.\n\nUse this tool when you need to:\n- Download files attached to a specific event\n- Access screenshots, log files, or other attachments uploaded with an error report\n- Retrieve attachment metadata and download URLs\n\n\u003cexamples\u003e\n### Download a specific attachment by ID\n\n```\nget_event_attachment(organizationSlug='my-organization', projectSlug='my-project', eventId='c49541c747cb4d8aa3efb70ca5aba243', attachmentId='12345')\n```\n\n### List all attachments for an event\n\n```\nget_event_attachment(organizationSlug='my-organization', projectSlug='my-project', eventId='c49541c747cb4d8aa3efb70ca5aba243')\n```\n\n\u003c/examples\u003e\n\n\u003chints\u003e\n- If `attachmentId` is provided, the specific attachment will be downloaded as an embedded resource\n- If `attachmentId` is omitted, all attachments for the event will be listed with download information\n- The `projectSlug` is required to identify which project the event belongs to\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "attachmentId": {
            "anyOf": [
              {
                "description": "The ID of the attachment to download.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "eventId": {
            "description": "The ID of the event. e.g. `c49541c747cb4d8aa3efb70ca5aba243`",
            "pattern": "^[0-9a-fA-F]{32}$",
            "type": "string"
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "projectSlug",
          "eventId"
        ],
        "type": "object"
      },
      "name": "get_event_attachment",
      "title": "Get Event Attachment"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get the full stack trace (stacktrace) for one thread of a specific Sentry event.\n\nUse this tool when you need to:\n- Fetch the full stacktrace for a thread listed in issue details\n- Inspect a non-crashed thread from an event with multiple threads\n- Get Sentry's default selected thread stacktrace when no thread is specified\n\n\u003cexamples\u003e\nget_event_stacktrace(organizationSlug='my-org', issueId='PROJECT-123')\nget_event_stacktrace(organizationSlug='my-org', issueId='PROJECT-123', eventId='c49541c747cb4d8aa3efb70ca5aba243', thread=259)\nget_event_stacktrace(organizationSlug='my-org', issueId='PROJECT-123', thread='main')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- `thread` is optional. If omitted, this returns the same default thread Sentry selects: first crashed thread, then first thread with a stacktrace, then first thread.\n- Pass `thread` as a numeric Thread ID or exact thread Name from the issue details thread list.\n- If the issue details show only one useful thread, omit `thread`.\n- When the selector matches no thread or several, `thread` is null and `availableThreads` lists every thread.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "eventId": {
            "anyOf": [
              {
                "const": "latest",
                "type": "string"
              },
              {
                "description": "The ID of the event. e.g. `c49541c747cb4d8aa3efb70ca5aba243`",
                "pattern": "^[0-9a-fA-F]{32}$",
                "type": "string"
              }
            ],
            "default": "latest",
            "description": "The event ID for the issue, or `latest`. Defaults to `latest`."
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "issueId": {
            "description": "The Issue ID. e.g. `PROJECT-1Z43`",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "thread": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "minLength": 1,
                "type": "string"
              }
            ],
            "description": "Optional thread selector. Pass a numeric thread ID, or an exact thread name string. If omitted, returns the same default thread Sentry selects: first crashed thread, then first thread with a stacktrace, then first thread."
          }
        },
        "required": [
          "issueId"
        ],
        "type": "object"
      },
      "name": "get_event_stacktrace",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "availableThreads": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "crashed": {
                      "type": "boolean"
                    },
                    "current": {
                      "type": "boolean"
                    },
                    "frameCount": {
                      "type": "number"
                    },
                    "id": {
                      "type": [
                        "number",
                        "string",
                        "null"
                      ]
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "state": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "state",
                    "crashed",
                    "current",
                    "frameCount"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Every thread on the event, listed only when the `thread` selector matched none or several."
          },
          "eventId": {
            "type": "string"
          },
          "issueId": {
            "type": "string"
          },
          "organizationSlug": {
            "type": "string"
          },
          "platform": {
            "description": "The event platform, which sets how to read frames.",
            "type": [
              "string",
              "null"
            ]
          },
          "selection": {
            "additionalProperties": false,
            "properties": {
              "message": {
                "description": "Why no thread was selected; null when one was.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "description": "`selected` returns `thread`. Otherwise `thread` is null and `message` says why.",
                "enum": [
                  "selected",
                  "not_found",
                  "ambiguous",
                  "no_threads"
                ],
                "type": "string"
              }
            },
            "required": [
              "status",
              "message"
            ],
            "type": "object"
          },
          "thread": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "crashed": {
                    "type": "boolean"
                  },
                  "current": {
                    "type": "boolean"
                  },
                  "frameCount": {
                    "type": "number"
                  },
                  "id": {
                    "type": [
                      "number",
                      "string",
                      "null"
                    ]
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "stacktrace": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "frames": {
                            "description": "Most recent call last. The most relevant frame is the last in-app frame.",
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "absPath": {
                                  "description": "Present only when it differs from filename.",
                                  "type": "string"
                                },
                                "colNo": {
                                  "type": "number"
                                },
                                "contextLine": {
                                  "description": "The source line at lineNo.",
                                  "type": "string"
                                },
                                "filename": {
                                  "type": "string"
                                },
                                "function": {
                                  "type": "string"
                                },
                                "inApp": {
                                  "const": true,
                                  "description": "Present on application frames.",
                                  "type": "boolean"
                                },
                                "lineNo": {
                                  "type": "number"
                                },
                                "module": {
                                  "type": "string"
                                },
                                "package": {
                                  "type": "string"
                                },
                                "postContext": {
                                  "description": "Up to 3 source lines after lineNo, on the most relevant frame only.",
                                  "items": {
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                "preContext": {
                                  "description": "Up to 3 source lines before lineNo, on the most relevant frame only.",
                                  "items": {
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                "vars": {
                                  "additionalProperties": {},
                                  "description": "Local variables, on the most relevant frame only. Values longer than 200 characters of JSON are cut to a string.",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "type": "object"
                                }
                              },
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "framesOmitted": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "frames",
                          "framesOmitted"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "state": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "id",
                  "name",
                  "state",
                  "crashed",
                  "current",
                  "frameCount",
                  "stacktrace"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "The selected thread and its stacktrace."
          },
          "threadCount": {
            "type": "number"
          }
        },
        "required": [
          "organizationSlug",
          "issueId",
          "eventId",
          "platform",
          "threadCount",
          "selection",
          "thread",
          "availableThreads"
        ],
        "type": "object"
      },
      "title": "Get Event Stacktrace"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get the activity feed and comments for a Sentry issue.\n\nUse this tool when you need to:\n- Review prior comments before triaging an issue\n- Understand who resolved, ignored, assigned, or commented on an issue\n- See recent issue activity that is not included in `get_issue_details`\n\n\u003cexamples\u003e\nget_issue_activity(organizationSlug='my-organization', issueId='PROJECT-123')\nget_issue_activity(issueUrl='https://my-organization.sentry.io/issues/PROJECT-123/')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "includeComments": {
            "default": true,
            "type": "boolean"
          },
          "issueId": {
            "description": "The Issue ID. e.g. `PROJECT-1Z43`",
            "type": "string"
          },
          "issueUrl": {
            "description": "The URL of the issue. e.g. https://my-organization.sentry.io/issues/PROJECT-1Z43",
            "format": "uri",
            "type": "string"
          },
          "limit": {
            "default": 25,
            "exclusiveMinimum": 0,
            "maximum": 100,
            "type": "integer"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "get_issue_activity",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "activity": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "afterDays": {
                  "description": "Days after which the issue was automatically marked ongoing.",
                  "type": "number"
                },
                "age": {
                  "description": "Hours without events before the issue was auto-resolved.",
                  "type": "number"
                },
                "assignee": {
                  "additionalProperties": false,
                  "properties": {
                    "email": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "type",
                    "name",
                    "email"
                  ],
                  "type": "object"
                },
                "author": {
                  "type": "string"
                },
                "commentId": {
                  "description": "Set when the comment ID differs from the activity ID.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "commit": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "author": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "email": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "name": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "name",
                                "email"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "id": {
                          "type": "string"
                        },
                        "message": {
                          "description": "First line only.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "repository": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "message",
                        "repository",
                        "author"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Null when the linked commit was deleted."
                },
                "dateCreated": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "externalIssue": {
                  "additionalProperties": false,
                  "description": "Issue created in an external tracker.",
                  "properties": {
                    "location": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "provider": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "title",
                    "provider",
                    "location"
                  ],
                  "type": "object"
                },
                "id": {
                  "type": "string"
                },
                "ignore": {
                  "additionalProperties": false,
                  "properties": {
                    "count": {
                      "type": "number"
                    },
                    "duration": {
                      "type": "number"
                    },
                    "until": {
                      "type": "string"
                    },
                    "untilEscalating": {
                      "type": "boolean"
                    },
                    "userCount": {
                      "type": "number"
                    },
                    "userWindow": {
                      "type": "number"
                    },
                    "window": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "pullRequest": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "author": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "email": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "name": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "name",
                                "email"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "id": {
                          "type": "string"
                        },
                        "repository": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "title",
                        "repository",
                        "author"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Null when the linked pull request was deleted."
                },
                "pullRequestUrls": {
                  "description": "Pull requests Seer opened.",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "text": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "type": "string"
                },
                "unmerge": {
                  "additionalProperties": false,
                  "properties": {
                    "destination": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "shortId": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "shortId"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "fingerprintCount": {
                      "type": "number"
                    },
                    "source": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "shortId": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "shortId"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "fingerprintCount",
                    "source",
                    "destination"
                  ],
                  "type": "object"
                },
                "version": {
                  "description": "Release version referenced by the activity (resolved-in or regressed-in).",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "type",
                "author",
                "dateCreated",
                "commentId",
                "text"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "comments": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "afterDays": {
                      "description": "Days after which the issue was automatically marked ongoing.",
                      "type": "number"
                    },
                    "age": {
                      "description": "Hours without events before the issue was auto-resolved.",
                      "type": "number"
                    },
                    "assignee": {
                      "additionalProperties": false,
                      "properties": {
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "type",
                        "name",
                        "email"
                      ],
                      "type": "object"
                    },
                    "author": {
                      "type": "string"
                    },
                    "commentId": {
                      "description": "Set when the comment ID differs from the activity ID.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "commit": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "author": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "email": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "name": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "email"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "id": {
                              "type": "string"
                            },
                            "message": {
                              "description": "First line only.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "repository": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "message",
                            "repository",
                            "author"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Null when the linked commit was deleted."
                    },
                    "dateCreated": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "externalIssue": {
                      "additionalProperties": false,
                      "description": "Issue created in an external tracker.",
                      "properties": {
                        "location": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "provider": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "title",
                        "provider",
                        "location"
                      ],
                      "type": "object"
                    },
                    "id": {
                      "type": "string"
                    },
                    "ignore": {
                      "additionalProperties": false,
                      "properties": {
                        "count": {
                          "type": "number"
                        },
                        "duration": {
                          "type": "number"
                        },
                        "until": {
                          "type": "string"
                        },
                        "untilEscalating": {
                          "type": "boolean"
                        },
                        "userCount": {
                          "type": "number"
                        },
                        "userWindow": {
                          "type": "number"
                        },
                        "window": {
                          "type": "number"
                        }
                      },
                      "type": "object"
                    },
                    "pullRequest": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "author": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "email": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "name": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "email"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "id": {
                              "type": "string"
                            },
                            "repository": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "title": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "title",
                            "repository",
                            "author"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Null when the linked pull request was deleted."
                    },
                    "pullRequestUrls": {
                      "description": "Pull requests Seer opened.",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "text": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "unmerge": {
                      "additionalProperties": false,
                      "properties": {
                        "destination": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "shortId": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "shortId"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "fingerprintCount": {
                          "type": "number"
                        },
                        "source": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "shortId": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "shortId"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "fingerprintCount",
                        "source",
                        "destination"
                      ],
                      "type": "object"
                    },
                    "version": {
                      "description": "Release version referenced by the activity (resolved-in or regressed-in).",
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "type",
                    "author",
                    "dateCreated",
                    "commentId",
                    "text"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Null when includeComments is false."
          },
          "issueId": {
            "type": "string"
          },
          "issueUrl": {
            "type": "string"
          },
          "organizationSlug": {
            "type": "string"
          }
        },
        "required": [
          "organizationSlug",
          "issueId",
          "issueUrl",
          "activity",
          "comments"
        ],
        "type": "object"
      },
      "title": "Get Issue Activity"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get the breadcrumb trail from a Sentry issue event.\nDefaults to the latest event when eventId is omitted.\n\nUse this tool when you need to:\n- See the user and application actions leading up to an error\n- Inspect navigation, console, HTTP, and other breadcrumb events\n- Reconstruct the immediate context before an issue occurred\n- Compare breadcrumb trails across multiple events in the same issue\n\n\u003cexamples\u003e\nget_issue_breadcrumbs(organizationSlug='my-org', issueId='PROJECT-123')\nget_issue_breadcrumbs(organizationSlug='my-org', issueId='PROJECT-123', eventId='c49541c747cb4d8aa3efb70ca5aba243')\nget_issue_breadcrumbs(issueUrl='https://my-org.sentry.io/issues/PROJECT-123/')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "eventId": {
            "anyOf": [
              {
                "const": "latest",
                "type": "string"
              },
              {
                "description": "The ID of the event. e.g. `c49541c747cb4d8aa3efb70ca5aba243`",
                "pattern": "^[0-9a-fA-F]{32}$",
                "type": "string"
              }
            ],
            "default": "latest",
            "description": "The event ID for the issue, or `latest`. Defaults to `latest`."
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "issueId": {
            "description": "The Issue ID. e.g. `PROJECT-1Z43`",
            "type": "string"
          },
          "issueUrl": {
            "description": "The URL of the issue. e.g. https://my-organization.sentry.io/issues/PROJECT-1Z43",
            "format": "uri",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "get_issue_breadcrumbs",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "breadcrumbs": {
            "description": "The trail of events leading up to the error, oldest first.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "category": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "data": {
                  "description": "Compact JSON of the breadcrumb data, truncated after 200 characters.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "level": {
                  "type": "string"
                },
                "message": {
                  "description": "Single line, truncated after 120 characters.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "timestamp": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "timestamp",
                "level",
                "category",
                "type",
                "message",
                "data"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "eventId": {
            "type": "string"
          },
          "issueId": {
            "type": "string"
          }
        },
        "required": [
          "issueId",
          "eventId",
          "breadcrumbs"
        ],
        "type": "object"
      },
      "title": "Get Issue Breadcrumbs"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get detailed information about a specific Sentry issue by ID.\n\nUSE THIS TOOL WHEN USERS:\n- Provide a specific issue ID (e.g., 'CLOUDFLARE-MCP-41', 'PROJECT-123')\n- Ask to 'explain [ISSUE-ID]', 'tell me about [ISSUE-ID]'\n- Want details/stacktrace/analysis for a known issue\n- Need installed package versions for an exact event (pass eventId and packageNames)\n- Want the suspect commit's SHA, message, author, and source when available\n- Provide a Sentry issue URL\n\nDO NOT USE for:\n- General searching or listing issues (use search_issues)\n\nTRIGGER PATTERNS:\n- 'Explain ISSUE-123' → use get_issue_details\n- 'Tell me about PROJECT-456' → use get_issue_details\n- 'What happened in [issue URL]' → use get_issue_details\n\n\u003cexamples\u003e\n### With Sentry URL (recommended - simplest approach)\n```\nget_issue_details(issueUrl='https://sentry.sentry.io/issues/6916805731/?project=4509062593708032\u0026query=is%3Aunresolved')\n```\n\n### With issue ID and organization\n```\nget_issue_details(organizationSlug='my-organization', issueId='CLOUDFLARE-MCP-41')\n```\n\n### With event ID and organization\n```\nget_issue_details(organizationSlug='my-organization', eventId='c49541c747cb4d8aa3efb70ca5aba243')\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- **IMPORTANT**: If user provides a Sentry URL, pass the ENTIRE URL to issueUrl parameter unchanged\n- When using issueUrl, all other parameters are automatically extracted - don't provide them separately\n- If using issueId (not URL), then organizationSlug is required\n- To close the issue from a commit, put `Fixes \u003cissue.shortId\u003e` in the commit message, or `Fixes \u003cissue.url\u003e` when shortId is only digits\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "eventId": {
            "description": "The ID of the event. e.g. `c49541c747cb4d8aa3efb70ca5aba243`",
            "pattern": "^[0-9a-fA-F]{32}$",
            "type": "string"
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "issueId": {
            "description": "The Issue ID. e.g. `PROJECT-1Z43`",
            "type": "string"
          },
          "issueUrl": {
            "description": "The URL of the issue. e.g. https://my-organization.sentry.io/issues/PROJECT-1Z43",
            "format": "uri",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "packageNames": {
            "description": "Exact, case-sensitive package names recorded with a specific event (1–10 names, up to 256 characters each). Requires an event lookup. Only selected package versions are added; versions longer than 256 characters are truncated.",
            "items": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "maxItems": 10,
            "minItems": 1,
            "type": "array"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "get_issue_details",
      "title": "Get Issue Details"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get tag value distribution for a specific Sentry issue.\n\nUse this tool when you need to:\n- Understand how an issue is distributed across different tag values\n- Get aggregate counts of unique tag values (e.g., 'how many unique URLs are affected')\n- Analyze which browsers, environments, or URLs are most impacted by an issue\n- View the tag distributions page data programmatically\n\nTag keys depend on the issue's platform, SDK, and custom tags, so keys such as `browser` or `url` are missing from many issues. The `### Tags` section of `get_issue_details` shows the tags on one of the issue's events, which is a good place to pick a key from. If the key is not on the issue, the error lists the keys it has.\n\n\u003cexamples\u003e\n### Get environment distribution for an issue\n```\nget_issue_tag_values(organizationSlug='my-organization', issueId='PROJECT-123', tagKey='environment')\n```\n\n### Get release distribution using issue URL\n```\nget_issue_tag_values(issueUrl='https://sentry.io/issues/PROJECT-123/', tagKey='release')\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- If user provides a Sentry URL, pass the ENTIRE URL to issueUrl parameter unchanged\n- Tag keys are case-sensitive\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "issueId": {
            "description": "The Issue ID. e.g. `PROJECT-1Z43`",
            "type": "string"
          },
          "issueUrl": {
            "description": "The URL of the issue. e.g. https://my-organization.sentry.io/issues/PROJECT-1Z43",
            "format": "uri",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "tagKey": {
            "description": "The tag key to get values for, as listed in the issue's tags (e.g., 'environment', 'release').",
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]*$",
            "type": "string"
          }
        },
        "required": [
          "tagKey"
        ],
        "type": "object"
      },
      "name": "get_issue_tag_values",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "tag": {
            "additionalProperties": false,
            "properties": {
              "key": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "topValues": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "count": {
                      "type": "number"
                    },
                    "firstSeen": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lastSeen": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "value": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "value",
                    "count",
                    "firstSeen",
                    "lastSeen"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "totalValues": {
                "type": "number"
              }
            },
            "required": [
              "key",
              "name",
              "totalValues",
              "topValues"
            ],
            "type": "object"
          }
        },
        "required": [
          "tag"
        ],
        "type": "object"
      },
      "title": "Get Issue Tag Values"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get legacy User Reports or crash-report feedback attached to a Sentry issue.\n\nUse this tool when you need to:\n- See what a user said happened when an error occurred\n- Check if any legacy bug reports or crash-report feedback were submitted for this issue\n- Get the human-provided context behind a crash, beyond the stack trace\n\n\u003cexamples\u003e\nget_issue_user_reports(organizationSlug='my-organization', issueId='PROJECT-123')\nget_issue_user_reports(issueUrl='https://my-organization.sentry.io/issues/PROJECT-123/')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- For standalone User Feedback Widget submissions, use `search_issues(query='issue.category:feedback')`.\n- Reuse pagination cursors only with the same issue scope.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "cursor": {
            "anyOf": [
              {
                "description": "Optional pagination cursor from a previous response.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "issueId": {
            "description": "The Issue ID. e.g. `PROJECT-1Z43`",
            "type": "string"
          },
          "issueUrl": {
            "description": "The URL of the issue. e.g. https://my-organization.sentry.io/issues/PROJECT-1Z43",
            "format": "uri",
            "type": "string"
          },
          "limit": {
            "default": 25,
            "description": "Maximum number of user reports to return.",
            "exclusiveMinimum": 0,
            "maximum": 100,
            "type": "integer"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "type": "object"
      },
      "name": "get_issue_user_reports",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "issueId": {
            "type": "string"
          },
          "nextCursor": {
            "description": "Pass as cursor with the same issue scope for the next page.",
            "type": [
              "string",
              "null"
            ]
          },
          "organizationSlug": {
            "type": "string"
          },
          "reports": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "comments": {
                  "type": "string"
                },
                "dateCreated": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "email": {
                  "description": "Email on the report, falling back to the event user.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "eventId": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "name": {
                  "description": "Name the reporter entered, falling back to the event user's name. Null when Sentry only has an email or username.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "user": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "ipAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "description": "Null when Sentry only has an email or username.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "username": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "username",
                        "name",
                        "email",
                        "ipAddress"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "The user on the linked event. Null when the event has none."
                }
              },
              "required": [
                "id",
                "eventId",
                "name",
                "email",
                "user",
                "comments",
                "dateCreated"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "organizationSlug",
          "issueId",
          "reports",
          "nextCursor"
        ],
        "type": "object"
      },
      "title": "Get Issue User Reports"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get the latest UI screenshots/images for an app from the preprod snapshot system.\n\nThis is the primary tool for retrieving app screenshots.\n\nUse this tool when you need to:\n- Get screenshots, screens, golden images, or reference images for an app\n- Find what the current UI looks like (latest screenshots from the main/default branch)\n- List available snapshots or browse images before requesting specific ones\n- Look up dark mode, light mode, or other variant screenshots\n- Understand what baseline images exist when investigating snapshot test or visual regression CI failures\n\nThe appId parameter is the app identifier (e.g. 'sentry-frontend', 'com.emergetools.hackernews').\nReturns compact metadata (imageFileName, displayName, description) for every image, bucketed by group.\n\n\u003cexamples\u003e\n### Get the latest screenshots for an app\n\n```\nget_latest_base_snapshot(organizationSlug=\"sentry\", appId=\"sentry-frontend\", project=\"frontend\")\n```\n\n### Get the latest screenshots for a specific branch\n\n```\nget_latest_base_snapshot(organizationSlug=\"sentry\", appId=\"sentry-frontend\", project=\"frontend\", branch=\"main\")\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- The response includes compact metadata per image. Scan the groups to find images matching what you need (e.g. filter by group or name containing 'button').\n- Use the Sentry tool `get_snapshot_image(organizationSlug='\u003corganizationSlug\u003e', snapshotId='\u003csnapshotId\u003e', imageIdentifier='\u003cimageFileName\u003e')` to view one image; pass its imageFileName as imageIdentifier.\n- If you need to investigate a specific snapshot comparison, use get_sentry_resource with the snapshot URL.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "appId": {
            "description": "The app identifier (e.g. 'sentry-frontend', 'com.emergetools.hackernews'). Required.",
            "type": "string"
          },
          "branch": {
            "anyOf": [
              {
                "description": "Filter by git branch (e.g. 'main'). Omit to use the app's default branch.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "project": {
            "anyOf": [
              {
                "description": "Project slug or numeric ID for scoping (e.g. 'frontend').",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "appId"
        ],
        "type": "object"
      },
      "name": "get_latest_base_snapshot",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "app": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "platform": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "name",
                  "platform"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "appId": {
            "type": "string"
          },
          "groups": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "group": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "images": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "displayName": {
                        "type": "string"
                      },
                      "imageFileName": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "group",
                "images"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "organizationSlug": {
            "type": "string"
          },
          "responseNotes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "snapshotId": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalImages": {
            "type": "number"
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "vcs": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "baseRef": {
                    "type": "string"
                  },
                  "baseSha": {
                    "type": "string"
                  },
                  "headRef": {
                    "type": "string"
                  },
                  "headSha": {
                    "type": "string"
                  },
                  "prNumber": {
                    "type": "number"
                  },
                  "repoName": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "organizationSlug",
          "appId",
          "snapshotId",
          "url",
          "app",
          "vcs",
          "totalImages",
          "groups",
          "responseNotes"
        ],
        "type": "object"
      },
      "title": "Get Latest Base Snapshot"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Inspect a Sentry Metric Monitor's query, dataset, detection mode, thresholds, resolution conditions and connected Alerts.\nUse monitorId from find_metric_monitors, not a legacy metric alert ID. Time windows and comparison deltas are in seconds.\nCondition results use 75 for critical, 50 for warning and 0 for resolved. Percent comparisons are absolute percentages (110 means 10% higher); dynamic conditions include sensitivity and direction.\nworkflowIds identify notification Alerts; inspect their actions with get_alert_rule(kind='issue').\nget_metric_monitor_details(organizationSlug='my-org', monitorId='12345')",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "monitorId": {
            "description": "Native Metric Monitor ID from find_metric_monitors.",
            "pattern": "^\\d+$",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "monitorId"
        ],
        "type": "object"
      },
      "name": "get_metric_monitor_details",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "monitor": {
            "additionalProperties": false,
            "properties": {
              "conditionGroup": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "conditions": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "comparison": {},
                            "conditionResult": {},
                            "id": {
                              "type": [
                                "string",
                                "number"
                              ]
                            },
                            "type": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "comparison",
                            "conditionResult"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "id": {
                        "type": [
                          "string",
                          "number"
                        ]
                      },
                      "logicType": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "logicType",
                      "conditions"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Native detection conditions, including resolution. Results: 75 critical, 50 warning, 0 resolved. Percent comparisons are absolute percentages (110 means 10% higher). Dynamic comparisons contain sensitivity, seasonality and thresholdType."
              },
              "config": {
                "additionalProperties": false,
                "properties": {
                  "comparisonDeltaSeconds": {
                    "type": "number"
                  },
                  "detectionType": {
                    "type": "string"
                  }
                },
                "required": [
                  "detectionType"
                ],
                "type": "object"
              },
              "dataSources": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "query": {
                      "additionalProperties": false,
                      "properties": {
                        "aggregate": {
                          "type": "string"
                        },
                        "dataset": {
                          "type": "string"
                        },
                        "environment": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventTypes": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "extrapolationMode": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "query": {
                          "type": "string"
                        },
                        "timeWindowSeconds": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "dataset",
                        "query",
                        "aggregate",
                        "environment",
                        "eventTypes",
                        "timeWindowSeconds"
                      ],
                      "type": "object"
                    },
                    "type": {
                      "type": "string"
                    },
                    "unavailableReason": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "dateCreated": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dateUpdated": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "enabled": {
                "type": "boolean"
              },
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "owner": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "projectId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "webUrl": {
                "type": "string"
              },
              "workflowIds": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "id",
              "name",
              "projectId",
              "enabled",
              "owner",
              "workflowIds",
              "webUrl",
              "description",
              "config",
              "conditionGroup",
              "dataSources",
              "dateCreated",
              "dateUpdated"
            ],
            "type": "object"
          }
        },
        "required": [
          "monitor"
        ],
        "type": "object"
      },
      "title": "Get Metric Monitor Details"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get details and recent check-ins for a Sentry cron monitor (scheduled job).\n\nUse this tool when you need to:\n- Inspect a monitor's schedule, status, owner, project, and environments\n- Review recent check-ins for missed, failed, timeout, or OK runs\n- Check monitor stats over a recent time range\n\nTo find issues from a monitor, call `search_issues` with query `monitor.slug:\u003cslug\u003e`.\n\n\u003cexamples\u003e\nget_monitor_details(organizationSlug='my-organization', monitorSlug='nightly-import')\nget_monitor_details(organizationSlug='my-organization', monitorSlug='nightly-import', projectSlugOrId='backend', environment='production', period='7d')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "checkInLimit": {
            "default": 10,
            "description": "Maximum number of recent check-ins to include.",
            "exclusiveMinimum": 0,
            "maximum": 50,
            "type": "integer"
          },
          "end": {
            "anyOf": [
              {
                "description": "Absolute end time. Must be provided with `start`; do not combine with `period`.",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "environment": {
            "anyOf": [
              {
                "description": "Optional environment name to filter monitor environments, recent check-ins, and stats.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "includeStats": {
            "default": true,
            "description": "Include aggregate check-in stats for the selected time range.",
            "type": "boolean"
          },
          "monitorSlug": {
            "description": "Monitor slug or GUID.",
            "minLength": 1,
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "period": {
            "anyOf": [
              {
                "description": "Relative time range. Defaults to `24h` when `start` and `end` are omitted.",
                "pattern": "^\\d+[mhdw]$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "projectSlugOrId": {
            "default": null,
            "description": "Optional project slug or numeric ID. Use this to disambiguate monitors with the same slug or to scope a monitor URL that includes a project segment.",
            "type": [
              "string",
              "null"
            ]
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "rollupSeconds": {
            "anyOf": [
              {
                "description": "Optional stats bucket size in seconds. Omit this to let Sentry choose an appropriate rollup.",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "start": {
            "anyOf": [
              {
                "description": "Absolute start time. Must be provided with `end`; do not combine with `period`.",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "monitorSlug"
        ],
        "type": "object"
      },
      "name": "get_monitor_details",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "checkIns": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "durationMs": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "environment": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "date",
                "status",
                "durationMs",
                "environment"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "environments": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "lastCheckIn": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "nextCheckIn": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "name",
                "status",
                "lastCheckIn",
                "nextCheckIn"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "monitor": {
            "additionalProperties": false,
            "properties": {
              "config": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "checkinMarginMinutes": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "maxRuntimeMinutes": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "schedule": {
                        "anyOf": [
                          {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "items": {
                                  "type": [
                                    "number",
                                    "string"
                                  ]
                                },
                                "type": "array"
                              }
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Crontab string, or [value, unit] for interval schedules."
                      },
                      "scheduleType": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "timezone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "scheduleType",
                      "schedule",
                      "timezone",
                      "checkinMarginMinutes",
                      "maxRuntimeMinutes"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "type": "string"
              },
              "lastCheckIn": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "nextCheckIn": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "owner": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "ownerEmail": {
                "description": "Set when a user owns the monitor.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "project": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slug": {
                "type": "string"
              },
              "status": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "slug",
              "name",
              "project",
              "status",
              "type",
              "owner",
              "ownerEmail",
              "lastCheckIn",
              "nextCheckIn",
              "url",
              "config"
            ],
            "type": "object"
          },
          "stats": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "avgDurationMs": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "error": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "missed": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "ok": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "timeout": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "timestamp": {
                      "type": "string"
                    },
                    "unknown": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "timestamp",
                    "ok",
                    "error",
                    "missed",
                    "timeout",
                    "unknown",
                    "avgDurationMs"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "At most 10 most recent stat buckets, oldest first. Null when includeStats is false."
          }
        },
        "required": [
          "monitor",
          "environments",
          "checkIns",
          "stats"
        ],
        "type": "object"
      },
      "title": "Get Cron Monitor Details"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Analyze aggregated CPU profiling data (flamegraph) for a transaction to identify performance bottlenecks and detect regressions.\nFor one specific profile by ID or URL, use get_profile_details.\n\nUSE THIS TOOL WHEN:\n- User asks why a specific endpoint/transaction is slow\n- User wants to understand where CPU time is spent\n- User asks about performance bottlenecks\n- User wants to compare performance between time periods\n- User shares a Sentry profile URL\n\nRETURNS:\n- Hot paths (call stacks consuming the most CPU time); the last frame of each stack is the primary bottleneck\n- Performance percentiles (p75, p95, p99) for each function\n- User code vs library code breakdown\n- Regression analysis when comparing periods\n\n\u003cexamples\u003e\n### Analyze from URL (with transaction name)\n```\nget_profile(\n  profileUrl='https://my-org.sentry.io/explore/profiling/profile/backend/flamegraph/?profilerId=abc123',\n  transactionName='/api/users'\n)\n```\n\n### Analyze by transaction name\n```\nget_profile(\n  organizationSlug='my-org',\n  transactionName='/api/users',\n  projectSlugOrId='backend'\n)\n```\n\n### Compare performance between periods\n```\nget_profile(\n  organizationSlug='my-org',\n  transactionName='/api/users',\n  projectSlugOrId='backend',\n  period='7d',\n  compareAgainstPeriod='14d'\n)\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Use `focusOnUserCode: true` (default) to filter out library code\n- High p99 relative to p75 indicates inconsistent performance\n- Use compareAgainstPeriod to detect regressions over time\n- Transaction names are case-sensitive\n- Start optimizing at the bottleneck of the top hot path; look for caching opportunities and N+1 or inefficient data access\n- For a major regression, investigate recent changes to that function\n- Without profile data, verify the exact transaction name with search_traces, try a longer period (e.g. '30d'), or check that profiling is enabled for the project. If only one comparison period has data, adjust that period or drop compareAgainstPeriod\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "compareAgainstPeriod": {
            "description": "Compare against this baseline profiling time window. Enables regression detection.",
            "pattern": "^\\d+[mhdw]$",
            "type": "string"
          },
          "focusOnUserCode": {
            "default": true,
            "description": "Show only user code (is_application: true). Set to false to include library code.",
            "type": "boolean"
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "maxHotPaths": {
            "default": 10,
            "description": "Number of hot paths to display (1-20, default: 10)",
            "maximum": 20,
            "minimum": 1,
            "type": "integer"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "period": {
            "default": "7d",
            "description": "Profiling time window (default: '7d'). Use '1h' for very recent profiling data.",
            "pattern": "^\\d+[mhdw]$",
            "type": "string"
          },
          "profileUrl": {
            "description": "Sentry profile URL. If provided, organization and project are extracted from URL. transactionName is still required.",
            "format": "uri",
            "type": "string"
          },
          "projectSlugOrId": {
            "description": "Project slug or numeric ID",
            "type": [
              "string",
              "number"
            ]
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "transactionName": {
            "description": "Transaction name (e.g., '/api/users', 'POST /graphql')",
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "get_profile",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "analysis": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "estimatedTotalMs": {
                    "description": "Sampled duration across the aggregated stacks returned.",
                    "type": "number"
                  },
                  "frames": {
                    "description": "Frames referenced by topFunctions and hotPaths. Other fields refer to frames by index into this array.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "file": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "insights": {
                          "items": {
                            "enum": [
                              "high_variance",
                              "consistently_slow",
                              "hot_function",
                              "consistent"
                            ],
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "isApplication": {
                          "type": "boolean"
                        },
                        "line": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "name": {
                          "type": "string"
                        },
                        "occurrences": {
                          "description": "Times this frame appears in the aggregated call tree, summed across calls. Not a sample count; it can exceed the number of samples.",
                          "type": "number"
                        },
                        "p75Ms": {
                          "type": "number"
                        },
                        "p95Ms": {
                          "type": "number"
                        },
                        "p99Ms": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "name",
                        "file",
                        "line",
                        "isApplication",
                        "occurrences",
                        "p75Ms",
                        "p95Ms",
                        "p99Ms",
                        "insights"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "hotPaths": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "leaf": {
                          "description": "Frame index of the sampled leaf, which can be library code omitted from stack.",
                          "type": "number"
                        },
                        "percentOfSamples": {
                          "type": "number"
                        },
                        "sampleCount": {
                          "type": "number"
                        },
                        "stack": {
                          "description": "Frame indexes from root to leaf. Library frames are omitted when focusOnUserCode is true. The last frame is the primary bottleneck.",
                          "items": {
                            "type": "number"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "percentOfSamples",
                        "sampleCount",
                        "stack",
                        "leaf"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "libraryMs": {
                    "description": "Part of estimatedTotalMs where the sampled leaf frame is library code.",
                    "type": "number"
                  },
                  "platform": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "profileCount": {
                    "type": "number"
                  },
                  "sampleCount": {
                    "type": "number"
                  },
                  "topFunctions": {
                    "description": "Frame indexes of the slowest functions, by CPU weight.",
                    "items": {
                      "type": "number"
                    },
                    "type": "array"
                  },
                  "userCodeMs": {
                    "description": "Part of estimatedTotalMs where the sampled leaf frame is application code.",
                    "type": "number"
                  },
                  "userCodePercent": {
                    "description": "userCodeMs as a share of the total.",
                    "type": "number"
                  }
                },
                "required": [
                  "platform",
                  "profileCount",
                  "sampleCount",
                  "estimatedTotalMs",
                  "userCodeMs",
                  "libraryMs",
                  "userCodePercent",
                  "frames",
                  "topFunctions",
                  "hotPaths"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "Single-period analysis. Null when comparing or without data."
          },
          "baselinePeriod": {
            "description": "Null unless compareAgainstPeriod was set.",
            "type": [
              "string",
              "null"
            ]
          },
          "comparison": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "changes": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "baselineMs": {
                          "type": "number"
                        },
                        "changeType": {
                          "enum": [
                            "major_regression",
                            "minor_regression",
                            "improvement",
                            "no_change"
                          ],
                          "type": "string"
                        },
                        "currentMs": {
                          "type": "number"
                        },
                        "file": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isApplication": {
                          "type": "boolean"
                        },
                        "line": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "name": {
                          "type": "string"
                        },
                        "percentChange": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "name",
                        "file",
                        "line",
                        "isApplication",
                        "baselineMs",
                        "currentMs",
                        "percentChange",
                        "changeType"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "status": {
                    "description": "Most severe change among compared frames.",
                    "enum": [
                      "major_regression",
                      "minor_regression",
                      "improvement",
                      "no_change"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "status",
                  "changes"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "Baseline comparison. Null unless both periods have data."
          },
          "focusOnUserCode": {
            "type": "boolean"
          },
          "hasBaselineData": {
            "description": "Null unless compareAgainstPeriod was set.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "hasCurrentData": {
            "type": "boolean"
          },
          "period": {
            "type": "string"
          },
          "projectId": {
            "type": "string"
          },
          "transactionName": {
            "type": "string"
          }
        },
        "required": [
          "transactionName",
          "projectId",
          "period",
          "baselinePeriod",
          "focusOnUserCode",
          "hasCurrentData",
          "hasBaselineData",
          "analysis",
          "comparison"
        ],
        "type": "object"
      },
      "title": "Get Transaction Profile"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Inspect one specific Sentry profile in detail, by profile ID, profiler ID or URL.\nFor aggregated hot paths across a transaction, use get_profile.\n\nUSE THIS TOOL WHEN:\n- User shares a transaction profile URL and wants the details\n- User has a profile ID and wants a concise summary plus raw sample structure\n- User needs to inspect a continuous profile session by profiler ID and time range\n\nRETURNS:\n- `profile.profileType`: `transaction`, `legacy`, or `continuous`\n- Transaction profile summary with profile URL, transaction, trace, release, and runtime details\n- Sample structure summaries such as frame count, sample count, stacks, and thread breakdown\n- Top frames by occurrence for a quick hotspot overview\n- Legacy profiles (for example Android) return summary metadata only, with `samples: null` and a suggested get_profile call\n\nNOTE: This tool supports two profile modes.\n- Transaction profiles: pass `profileUrl` or `organizationSlug` + `projectSlugOrId` + `profileId`\n- Continuous profiles: pass `profileUrl` or `organizationSlug` + `projectSlugOrId` + `profilerId` + `start` + `end`\n\n\u003cexamples\u003e\n### Transaction profile URL\n```\nget_profile_details(\n  profileUrl='https://my-org.sentry.io/explore/profiling/profile/backend/cfe78a5c892d4a64a962d837673398d2/flamegraph/'\n)\n```\n\n### Transaction profile by ID\n```\nget_profile_details(\n  organizationSlug='my-org',\n  projectSlugOrId='backend',\n  profileId='cfe78a5c892d4a64a962d837673398d2'\n)\n```\n\n### Continuous profile by session\n```\nget_profile_details(\n  organizationSlug='my-org',\n  projectSlugOrId='backend',\n  profilerId='041bde57b9844e36b8b7e5734efae5f7',\n  start='2024-01-01T00:00:00Z',\n  end='2024-01-01T01:00:00Z'\n)\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Open `profileUrl` in Sentry for the full flamegraph, and `traceUrl` to inspect the end-to-end request\n- Use search_profiles to find similar profiles\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "end": {
            "description": "Continuous profile end time in ISO 8601 format, for example '2024-01-01T01:00:00Z'",
            "type": "string"
          },
          "focusOnUserCode": {
            "default": true,
            "description": "Show only user code frames in the hotspot table. Set to false to include library frames.",
            "type": "boolean"
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "profileId": {
            "description": "Transaction profile ID from a profile flamegraph URL",
            "type": "string"
          },
          "profileUrl": {
            "description": "Sentry transaction profile or continuous profile URL. If provided, organization, project, and profile identifiers are extracted from the URL.",
            "format": "uri",
            "type": "string"
          },
          "profilerId": {
            "description": "Continuous profiler session ID",
            "type": "string"
          },
          "projectSlugOrId": {
            "description": "Project slug or numeric ID",
            "type": [
              "string",
              "number"
            ]
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "start": {
            "description": "Continuous profile start time in ISO 8601 format, for example '2024-01-01T00:00:00Z'",
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "get_profile_details",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "profile": {
            "oneOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "activeThreadId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "device": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "durationMs": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "environment": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "os": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "platform": {
                    "type": "string"
                  },
                  "profileId": {
                    "type": "string"
                  },
                  "profileType": {
                    "const": "transaction",
                    "type": "string"
                  },
                  "profileUrl": {
                    "type": "string"
                  },
                  "project": {
                    "type": "string"
                  },
                  "release": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "sdk": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "traceId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "traceUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "transactionName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "profileType",
                  "profileUrl",
                  "project",
                  "profileId",
                  "transactionName",
                  "traceId",
                  "traceUrl",
                  "durationMs",
                  "platform",
                  "environment",
                  "device",
                  "os",
                  "release",
                  "sdk",
                  "activeThreadId"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "description": "Legacy speedscope profile, for example Android.",
                "properties": {
                  "device": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "durationMs": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "environment": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "os": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "platform": {
                    "type": "string"
                  },
                  "profileId": {
                    "type": "string"
                  },
                  "profileType": {
                    "const": "legacy",
                    "type": "string"
                  },
                  "profileUrl": {
                    "type": "string"
                  },
                  "project": {
                    "type": "string"
                  },
                  "traceId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "traceUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "transactionName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "profileType",
                  "profileUrl",
                  "project",
                  "profileId",
                  "transactionName",
                  "traceId",
                  "traceUrl",
                  "durationMs",
                  "platform",
                  "environment",
                  "device",
                  "os"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "chunkId": {
                    "type": "string"
                  },
                  "end": {
                    "type": "string"
                  },
                  "environment": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "platform": {
                    "type": "string"
                  },
                  "profileType": {
                    "const": "continuous",
                    "type": "string"
                  },
                  "profileUrl": {
                    "type": "string"
                  },
                  "profilerId": {
                    "type": "string"
                  },
                  "project": {
                    "type": "string"
                  },
                  "release": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "start": {
                    "type": "string"
                  }
                },
                "required": [
                  "profileType",
                  "profileUrl",
                  "project",
                  "profilerId",
                  "chunkId",
                  "start",
                  "end",
                  "platform",
                  "release",
                  "environment"
                ],
                "type": "object"
              }
            ]
          },
          "samples": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "frameCount": {
                    "type": "number"
                  },
                  "sampleCount": {
                    "type": "number"
                  },
                  "stackCount": {
                    "type": "number"
                  },
                  "threads": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "sampleCount": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "sampleCount"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "topFrames": {
                    "description": "Most frequent frames. Only application frames when focusOnUserCode is true.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "count": {
                          "description": "Occurrences of the frame across sampled stacks.",
                          "type": "number"
                        },
                        "function": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isApplication": {
                          "type": "boolean"
                        },
                        "location": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "function",
                        "location",
                        "isApplication",
                        "count"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "frameCount",
                  "sampleCount",
                  "stackCount",
                  "threads",
                  "topFrames"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "Null for legacy profiles, which have no sample-format data."
          },
          "suggestedActions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "arguments": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "reason": {
                  "type": "string"
                },
                "toolName": {
                  "type": "string"
                },
                "type": {
                  "const": "tool_call",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "arguments",
                "reason"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "profile",
          "samples",
          "suggestedActions"
        ],
        "type": "object"
      },
      "title": "Get Profile Details"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get details for a Sentry release.\n\nUse this tool when you need to:\n- Inspect an exact release version\n- Scope a release lookup to a specific project\n- See deploys and environments for a release\n- See recent commits attached to a release\n- Gather release health metadata when a project is known\n\nTo find issues introduced in a release, call search_issues with query `release:\u003cversion\u003e`.\n\n\u003cexamples\u003e\nget_release_details(organizationSlug='my-organization', releaseVersion='1.2.3')\nget_release_details(organizationSlug='my-organization', releaseVersion='1.2.3', projectSlugOrId='backend')\nget_release_details(organizationSlug='my-organization', releaseVersion='1.2.3', includeHealth=true, projectSlugOrId='backend')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "includeCommits": {
            "default": true,
            "description": "Include recent commits attached to this release.",
            "type": "boolean"
          },
          "includeDeploys": {
            "default": true,
            "description": "Include recent deploys for this release.",
            "type": "boolean"
          },
          "includeHealth": {
            "default": false,
            "description": "Include project-specific release health metadata. Requires projectSlugOrId unless the session is already project-constrained.",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of deploys and commits to return, up to 50.",
            "exclusiveMinimum": 0,
            "maximum": 50,
            "type": "integer"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlugOrId": {
            "anyOf": [
              {
                "description": "Optional project slug or numeric ID. Use this to scope release details, deploys, and commits to one project; required for health metadata unless the session is already project-constrained.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "releaseVersion": {
            "description": "Exact release version.",
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "releaseVersion"
        ],
        "type": "object"
      },
      "name": "get_release_details",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "commits": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "author": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "dateCreated": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "repository": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "message",
                    "author",
                    "repository",
                    "dateCreated"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Recent commits. Null when includeCommits is false."
          },
          "deploys": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "dateFinished": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "dateStarted": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "environment": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "environment",
                    "name",
                    "dateStarted",
                    "dateFinished",
                    "url"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Recent deploys. Null when includeDeploys is false."
          },
          "health": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "adoptionStages": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "adopted": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "project": {
                          "type": "string"
                        },
                        "stage": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "unadopted": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "project",
                        "stage",
                        "adopted",
                        "unadopted"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "firstReleaseVersion": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "lastReleaseVersion": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "nextReleaseVersion": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "prevReleaseVersion": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "sessionsLowerBound": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "sessionsUpperBound": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "sessionsLowerBound",
                  "sessionsUpperBound",
                  "firstReleaseVersion",
                  "lastReleaseVersion",
                  "prevReleaseVersion",
                  "nextReleaseVersion",
                  "adoptionStages"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "Release health metadata. Null unless includeHealth is true."
          },
          "release": {
            "additionalProperties": false,
            "properties": {
              "dateCreated": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dateReleased": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "firstEvent": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "id": {
                "type": "string"
              },
              "lastCommit": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "author": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dateCreated": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "id": {
                        "type": "string"
                      },
                      "message": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "message",
                      "author",
                      "dateCreated"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "lastEvent": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "newIssues": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "projects": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "shortVersion": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "type": "string"
              },
              "version": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "version",
              "shortVersion",
              "dateCreated",
              "dateReleased",
              "firstEvent",
              "lastEvent",
              "newIssues",
              "projects",
              "url",
              "lastCommit"
            ],
            "type": "object"
          }
        },
        "required": [
          "release",
          "health",
          "deploys",
          "commits"
        ],
        "type": "object"
      },
      "title": "Get Release Details"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get a Sentry replay's summary and a timeline of what the user did: page loads and navigations, clicks (including dead and rage clicks), inputs and key presses, console warnings and errors, failed requests, and feedback.\n\nUSE THIS TOOL WHEN USERS:\n- Share a replay URL\n- Ask what happened in a replay, or what a user saw and clicked\n- Need the moments before an error, a dead click, or the end of a session\n\n\u003cexamples\u003e\nget_replay_details(replayUrl='https://my-organization.sentry.io/explore/replays/7e07485f-12f9-416b-8b14-26260799b51f/')\nget_replay_details(organizationSlug='my-organization', replayId='7e07485f-12f9-416b-8b14-26260799b51f', startOffsetSeconds=-10)\nget_replay_details(replayUrl='...', categories=['click', 'network'], startOffsetSeconds=60, endOffsetSeconds=90)\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Offsets are seconds from the replay start; negative offsets count back from the end, so startOffsetSeconds=-10 shows the last 10 seconds\n- `timeline.recorded` counts every recorded event by category, so you can see what to ask for next\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "categories": {
            "anyOf": [
              {
                "items": {
                  "enum": [
                    "navigation",
                    "click",
                    "input",
                    "console",
                    "network",
                    "other"
                  ],
                  "type": "string"
                },
                "minItems": 1,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Timeline categories to show. Default: notable events only (navigations, clicks, inputs, console warnings and errors, failed requests, feedback). Naming a category shows all of its events, such as every request for 'network' or every log level for 'console'."
          },
          "endOffsetSeconds": {
            "description": "End of the timeline window in seconds from the replay start. Negative values count back from the replay end.",
            "type": [
              "number",
              "null"
            ]
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "limit": {
            "anyOf": [
              {
                "maximum": 200,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Maximum timeline events to return (1-200, default 50)."
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "replayId": {
            "description": "The replay ID. e.g. `7e07485f-12f9-416b-8b14-26260799b51f`",
            "type": "string"
          },
          "replayUrl": {
            "description": "The URL of the replay. e.g. https://my-organization.sentry.io/explore/replays/7e07485f-12f9-416b-8b14-26260799b51f/",
            "format": "uri",
            "type": "string"
          },
          "skip": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Number of matching timeline events to skip. Pass `timeline.nextSkip` from a previous response to continue past the limit."
          },
          "startOffsetSeconds": {
            "description": "Start of the timeline window in seconds from the replay start. Negative values count back from the replay end.",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "name": "get_replay_details",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "related": {
            "additionalProperties": false,
            "properties": {
              "issues": {
                "description": "First 3 error events; shortId null if no issue found.",
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "eventId": {
                      "type": "string"
                    },
                    "shortId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "eventId",
                    "shortId",
                    "title"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "traces": {
                "description": "The first 2 traces.",
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "spanCount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "traceId",
                    "spanCount"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "issues",
              "traces"
            ],
            "type": "object"
          },
          "replay": {
            "additionalProperties": false,
            "properties": {
              "archived": {
                "type": "boolean"
              },
              "browser": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "counts": {
                "additionalProperties": false,
                "properties": {
                  "deadClicks": {
                    "type": "number"
                  },
                  "errors": {
                    "type": "number"
                  },
                  "infos": {
                    "type": "number"
                  },
                  "rageClicks": {
                    "type": "number"
                  },
                  "segments": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "warnings": {
                    "type": "number"
                  }
                },
                "required": [
                  "errors",
                  "rageClicks",
                  "deadClicks",
                  "warnings",
                  "infos",
                  "segments"
                ],
                "type": "object"
              },
              "device": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "durationSeconds": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "environment": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "id": {
                "type": "string"
              },
              "organizationSlug": {
                "type": "string"
              },
              "os": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "release": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "replayType": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "startedAt": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "type": "string"
              },
              "urls": {
                "description": "First 3 visited URLs.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "user": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "email": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "geo": {
                        "anyOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "city": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "countryCode": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "region": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "subdivision": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "city",
                              "countryCode",
                              "region",
                              "subdivision"
                            ],
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "ip": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "username": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "username",
                      "email",
                      "ip",
                      "geo"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Null when anonymous or archived."
              },
              "viewed": {
                "type": [
                  "boolean",
                  "null"
                ]
              }
            },
            "required": [
              "id",
              "organizationSlug",
              "url",
              "startedAt",
              "durationSeconds",
              "environment",
              "browser",
              "os",
              "device",
              "user",
              "urls",
              "release",
              "replayType",
              "counts",
              "archived",
              "viewed"
            ],
            "type": "object"
          },
          "suggestedActions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "arguments": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "reason": {
                  "type": "string"
                },
                "toolName": {
                  "type": "string"
                },
                "type": {
                  "const": "tool_call",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "arguments",
                "reason"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "timeline": {
            "oneOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "reason": {
                    "type": "string"
                  },
                  "status": {
                    "const": "unavailable",
                    "type": "string"
                  }
                },
                "required": [
                  "status",
                  "reason"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "categories": {
                    "anyOf": [
                      {
                        "items": {
                          "enum": [
                            "navigation",
                            "click",
                            "input",
                            "console",
                            "network",
                            "other"
                          ],
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "endOffsetSeconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "events": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "details": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Extra facts keyed by name, such as `status` or `text`.",
                          "propertyNames": {
                            "type": "string"
                          },
                          "type": "object"
                        },
                        "label": {
                          "description": "Such as `click`, `dead click`, `request`.",
                          "type": "string"
                        },
                        "offsetSeconds": {
                          "description": "Seconds from the replay start, to 0.1s.",
                          "type": "number"
                        },
                        "target": {
                          "description": "What the event acted on: a selector, URL, or message.",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "offsetSeconds",
                        "label",
                        "target",
                        "details"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "failedRequests": {
                    "type": "number"
                  },
                  "matchingCount": {
                    "description": "Events that match the categories and window.",
                    "type": "number"
                  },
                  "nextSkip": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "recorded": {
                    "additionalProperties": {
                      "additionalProperties": {
                        "type": "number"
                      },
                      "propertyNames": {
                        "type": "string"
                      },
                      "type": "object"
                    },
                    "description": "Counts by category, then label, before filters. `{}` means no activity.",
                    "propertyNames": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "segmentsRead": {
                    "type": "number"
                  },
                  "skip": {
                    "type": "number"
                  },
                  "startOffsetSeconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "status": {
                    "const": "loaded",
                    "type": "string"
                  },
                  "truncated": {
                    "description": "Later activity is missing past `segmentsRead`.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "status",
                  "recorded",
                  "failedRequests",
                  "categories",
                  "startOffsetSeconds",
                  "endOffsetSeconds",
                  "matchingCount",
                  "skip",
                  "events",
                  "nextSkip",
                  "segmentsRead",
                  "truncated"
                ],
                "type": "object"
              }
            ]
          }
        },
        "required": [
          "replay",
          "timeline",
          "related",
          "suggestedActions"
        ],
        "type": "object"
      },
      "title": "Get Replay Details"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": true
      },
      "description": "Get information about the running Sentry MCP server.\n\nUse this tool when you need to:\n- Check the Sentry MCP server version\n- Verify compatibility with a Skill or integration",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {},
        "type": "object"
      },
      "name": "get_sentry_mcp_info",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "version": {
            "description": "The Sentry MCP server version.",
            "type": "string"
          }
        },
        "required": [
          "version"
        ],
        "type": "object"
      },
      "title": "Get Sentry MCP Info"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Fetch a Sentry resource by URL, or by resourceType plus resourceId.\nUse it when the user shares a Sentry link. Pass the URL directly when possible; the resource type is auto-detected.\n\nSupports issues, events, traces, spans, agent conversations, replays, monitors, dashboards, preprod snapshots, and snapshot images.\nTrace lookups return a condensed overview by default.\nFor installed package versions recorded with an exact event, pass packageNames with an event URL or resourceType='event'.\n\nAgent Conversations: A conversation is a set of spans sharing the same gen_ai.conversation.id. Use resourceType='ai_conversation' with a conversation ID, or pass a Sentry conversation URL, to fetch the transcript/details. To discover or list conversations, use search_agent_conversations. Conversations are NOT issues — do not use search_issues for conversation queries.\n\nFor preprod snapshot URLs (matching 'sentry.io/preprod/snapshots/'):\n- Without ?selectedSnapshot=: returns the snapshot diff summary (changed, added, removed images)\n- With ?selectedSnapshot=\u003cimageFileName\u003e: returns the image preview and metadata. Use the Sentry tool `get_snapshot_image` for full-resolution image bytes.\n\nResource IDs:\n- monitor: \u003cmonitorSlug\u003e\n- dashboard: \u003cdashboardId or title\u003e\n- snapshot: \u003csnapshotId\u003e\n\n\u003cexamples\u003e\nget_sentry_resource(url='https://sentry.io/issues/PROJECT-123/')\nget_sentry_resource(resourceType='issue', organizationSlug='my-org', resourceId='PROJECT-123')\nget_sentry_resource(resourceType='ai_conversation', organizationSlug='my-org', resourceId='conversation-123')\nget_sentry_resource(url='https://sentry.sentry.io/dashboard/542438/')\nget_sentry_resource(url='https://sentry.sentry.io/preprod/snapshots/123/')\nget_sentry_resource(url='https://sentry.sentry.io/preprod/snapshots/123/?selectedSnapshot=login_screen.png')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "issueId": {
            "type": "string"
          },
          "issueUrl": {
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "packageNames": {
            "description": "Exact, case-sensitive package names recorded with a specific event (1–10 names, up to 256 characters each). Requires an event lookup. Only selected package versions are added; versions longer than 256 characters are truncated.",
            "items": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "maxItems": 10,
            "minItems": 1,
            "type": "array"
          },
          "resourceId": {
            "description": "Resource identifier: issue shortId (e.g., 'PROJECT-123'), event ID, trace ID, agent conversation ID, replay ID, monitor slug when inspect monitor tools are available, dashboard ID or title when inspect dashboard tools are available, or snapshot artifact ID. Required when not using a URL.",
            "type": "string"
          },
          "resourceType": {
            "description": "Resource type. With a URL, can override a span-focused trace URL with `trace`. Use `monitor` with a monitor slug only when inspect monitor tools are available, `snapshot` with a snapshot artifact ID, or `dashboard` with a dashboard ID or exact title when inspect dashboard tools are available.",
            "enum": [
              "issue",
              "event",
              "trace",
              "ai_conversation",
              "replay",
              "monitor",
              "snapshot",
              "dashboard"
            ],
            "type": "string"
          },
          "resourceUrl": {
            "type": "string"
          },
          "url": {
            "description": "Sentry URL. The resource type is auto-detected from the URL pattern.",
            "format": "uri",
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "get_sentry_resource",
      "title": "Get Sentry Resource"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get a preprod snapshot comparison summary, including metadata, counts, and changed image sections.\n\nUse this tool when you need to:\n- Investigate a failed snapshot test from CI\n- Review what changed in a specific preprod snapshot\n- Browse snapshot image file names before viewing a specific image\n\nPass organizationSlug and snapshotId. Use get_sentry_resource for snapshot URLs.\nCompact output is returned by default. Set showUnmodified=true to list unchanged and skipped images separately.\n\n\u003cexamples\u003e\n### Browse a snapshot\n\n```\nget_snapshot(organizationSlug=\"sentry\", snapshotId=\"231949\")\n```\n\n### Include unchanged and skipped images\n\n```\nget_snapshot(organizationSlug=\"sentry\", snapshotId=\"231949\", showUnmodified=true)\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Use the Sentry tool `get_snapshot_image(organizationSlug='\u003corganizationSlug\u003e', snapshotId='\u003csnapshotId\u003e', imageIdentifier='\u003cimageFileName\u003e')` to view a specific image preview or full-resolution image bytes.\n- Use get_sentry_resource when starting from a Sentry snapshot URL.\n- The diff percent field shows what percentage of pixels changed (0-100).\n- showUnmodified=true is useful when a diff snapshot has no changed image sections.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "showUnmodified": {
            "default": false,
            "description": "When true, include unchanged and skipped image sections. This can substantially increase response size and token usage for large snapshots.",
            "type": "boolean"
          },
          "snapshotId": {
            "description": "The numeric snapshot artifact ID.",
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "snapshotId"
        ],
        "type": "object"
      },
      "name": "get_snapshot",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "added": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "group": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "images": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "displayName": {
                        "type": "string"
                      },
                      "imageFileName": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "group",
                "images"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "approval": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "autoApproved": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "status",
                  "autoApproved"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "changed": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "group": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "images": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "diffPercent": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "displayName": {
                        "type": "string"
                      },
                      "imageFileName": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "diffPercent"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "group",
                "images"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "comparisonType": {
            "type": [
              "string",
              "null"
            ]
          },
          "counts": {
            "additionalProperties": false,
            "properties": {
              "added": {
                "type": "number"
              },
              "changed": {
                "type": "number"
              },
              "errored": {
                "type": "number"
              },
              "removed": {
                "type": "number"
              },
              "renamed": {
                "type": "number"
              },
              "skipped": {
                "type": "number"
              },
              "total": {
                "type": "number"
              },
              "unchanged": {
                "type": "number"
              }
            },
            "required": [
              "total",
              "changed",
              "added",
              "removed",
              "renamed",
              "unchanged",
              "errored",
              "skipped"
            ],
            "type": "object"
          },
          "errored": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "group": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "images": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "displayName": {
                        "type": "string"
                      },
                      "imageFileName": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "group",
                "images"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "images": {
            "description": "Snapshot image inventory, present only when nothing changed.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "group": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "images": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "displayName": {
                        "type": "string"
                      },
                      "imageFileName": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "group",
                "images"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "organizationSlug": {
            "type": "string"
          },
          "projectId": {
            "type": [
              "string",
              "null"
            ]
          },
          "removed": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "group": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "images": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "displayName": {
                        "type": "string"
                      },
                      "imageFileName": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "group",
                "images"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "renamed": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "group": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "images": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "displayName": {
                        "type": "string"
                      },
                      "imageFileName": {
                        "type": "string"
                      },
                      "previous": {
                        "anyOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "description": {
                                "type": "string"
                              },
                              "displayName": {
                                "type": "string"
                              },
                              "imageFileName": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "previous"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "group",
                "images"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "responseNotes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "skipped": {
            "description": "Present only when showUnmodified=true.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "group": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "images": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "displayName": {
                        "type": "string"
                      },
                      "imageFileName": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "group",
                "images"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "snapshotId": {
            "type": "string"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "unchanged": {
            "description": "Present only when showUnmodified=true.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "group": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "images": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "displayName": {
                        "type": "string"
                      },
                      "imageFileName": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "group",
                "images"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "url": {
            "type": "string"
          },
          "vcs": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "baseRef": {
                    "type": "string"
                  },
                  "baseSha": {
                    "type": "string"
                  },
                  "headRef": {
                    "type": "string"
                  },
                  "headSha": {
                    "type": "string"
                  },
                  "prNumber": {
                    "type": "number"
                  },
                  "repoName": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "organizationSlug",
          "snapshotId",
          "url",
          "comparisonType",
          "state",
          "projectId",
          "counts",
          "vcs",
          "approval",
          "changed",
          "added",
          "removed",
          "renamed",
          "errored",
          "responseNotes"
        ],
        "type": "object"
      },
      "title": "Get Snapshot"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get metadata and image content for one image in a preprod snapshot.\n\nUse this tool when you need to:\n- View the current, previous, or diff image for a snapshot entry\n- Inspect metadata and context for a specific snapshot image\n- Fetch full-resolution image bytes when preview images are insufficient; full-resolution images can substantially increase response size and token usage\n\nPass organizationSlug, snapshotId, and imageIdentifier. Use get_sentry_resource for snapshot URLs.\nPreview images are returned by default; set imageResolution=full for original bytes when needed, but expect higher response size and token usage.\n\n\u003cexamples\u003e\n### View a preview image\n\n```\nget_snapshot_image(organizationSlug=\"sentry\", snapshotId=\"231949\", imageIdentifier=\"login_screen.png\")\n```\n\n### Fetch original full-resolution bytes\n\n```\nget_snapshot_image(organizationSlug=\"sentry\", snapshotId=\"231949\", imageIdentifier=\"login_screen.png\", imageResolution=\"full\")\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Use get_snapshot first if you need to discover available image file names.\n- Use get_sentry_resource when starting from a Sentry snapshot URL.\n- imageIdentifier values may include slashes; pass the full image_file_name exactly as shown by get_snapshot.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "imageIdentifier": {
            "description": "The snapshot image file name or identifier to fetch.",
            "minLength": 1,
            "type": "string"
          },
          "imageResolution": {
            "default": "preview",
            "description": "Return locally generated previews or original full-resolution bytes. Full-resolution images can substantially increase response size and token usage.",
            "enum": [
              "preview",
              "full"
            ],
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "snapshotId": {
            "description": "The numeric snapshot artifact ID.",
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "snapshotId",
          "imageIdentifier"
        ],
        "type": "object"
      },
      "name": "get_snapshot_image",
      "title": "Get Snapshot Image"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get detailed information about a specific span within a Sentry trace.\n\nUse this tool when you need to:\n- Inspect a span when you already know its trace ID and span ID\n- Focus a trace investigation on one operation\n- Review a span's attributes, timing, errors, and child spans\n\n\u003cexamples\u003e\nget_span_details(organizationSlug='my-organization', traceId='a4d1aae7216b47ff8117cf4e09ce9d0a', spanId='aa8e7f3384ef4ff5')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Pass traceId and spanId as separate parameters.\n- Use get_trace_details for a trace overview when no span is selected.\n- Use get_sentry_resource when starting from a Sentry trace or span URL.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "spanId": {
            "description": "The span ID within a trace. Use this with a trace resource to focus on a specific span.",
            "minLength": 1,
            "type": "string"
          },
          "traceId": {
            "description": "The trace ID. e.g. `a4d1aae7216b47ff8117cf4e09ce9d0a`",
            "pattern": "^[0-9a-fA-F]{32}$",
            "type": "string"
          }
        },
        "required": [
          "traceId",
          "spanId"
        ],
        "type": "object"
      },
      "name": "get_span_details",
      "title": "Get Span Details"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get detailed information about a specific Sentry trace by ID.\n\nUSE THIS TOOL WHEN USERS:\n- Provide a specific trace ID (e.g., 'a4d1aae7216b47ff8117cf4e09ce9d0a')\n- Ask to 'show me trace [TRACE-ID]', 'explain trace [TRACE-ID]'\n- Want high-level overview and link to view trace details in Sentry\n- Need trace statistics and span breakdown\n- Want an overview first, then a guided pivot into additional spans or events\n\nDO NOT USE for:\n- General searching for traces (use search_traces)\n- Complete span enumeration or branch-by-branch reconstruction (use search_traces scoped to the trace)\n\nTRIGGER PATTERNS:\n- 'Show me trace abc123' → use get_trace_details\n- 'Explain trace a4d1aae7216b47ff8117cf4e09ce9d0a' → use get_trace_details\n- 'What is trace [trace-id]' → use get_trace_details\n\n\u003cexamples\u003e\n### Get trace overview\n```\nget_trace_details(organizationSlug='my-organization', traceId='a4d1aae7216b47ff8117cf4e09ce9d0a')\n```\n\n### Focus a single span\n```\nget_trace_details(organizationSlug='my-organization', traceId='a4d1aae7216b47ff8117cf4e09ce9d0a', spanId='aa8e7f3384ef4ff5')\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Trace IDs are 32-character hexadecimal strings\n- This returns a condensed trace overview, not a full span dump\n- Provide `spanId` to focus on a single span within the trace\n- If the response says it shows a subset of spans, use search_traces to inspect the rest of the trace\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "spanId": {
            "description": "The span ID within a trace. Use this with a trace resource to focus on a specific span.",
            "minLength": 1,
            "type": "string"
          },
          "traceId": {
            "description": "The trace ID. e.g. `a4d1aae7216b47ff8117cf4e09ce9d0a`",
            "pattern": "^[0-9a-fA-F]{32}$",
            "type": "string"
          }
        },
        "required": [
          "traceId"
        ],
        "type": "object"
      },
      "name": "get_trace_details",
      "title": "Get Trace Details"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Get details for a Sentry uptime monitor, including recent checks.\n\nUse this tool when you need to:\n- Inspect an uptime monitor's URL, interval, thresholds, and status\n- Review recent HTTP check results (success/failure, status code, duration)\n- Debug why an uptime monitor is failing\n\nThis is separate from cron monitors (`get_monitor_details`).\n\nRequest bodies are never returned. Sensitive header values are redacted.\nTo find related issues, call `search_issues` with query `uptime_rule:\u003cid\u003e`.\n\n\u003cexamples\u003e\nget_uptime_monitor_details(organizationSlug='my-organization', projectSlug='backend', uptimeMonitorId='12345')\nget_uptime_monitor_details(organizationSlug='my-organization', projectSlug='backend', uptimeMonitorId='12345', period='7d', checkLimit=20)\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "checkLimit": {
            "default": 10,
            "description": "Maximum number of recent checks to include.",
            "exclusiveMinimum": 0,
            "maximum": 50,
            "type": "integer"
          },
          "end": {
            "description": "Absolute end time. Must be provided with `start`; do not combine with `period`.",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
            "type": "string"
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "period": {
            "description": "Relative time range for recent checks. Defaults to `24h` when `start` and `end` are omitted.",
            "pattern": "^\\d+[mhdw]$",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "start": {
            "description": "Absolute start time. Must be provided with `end`; do not combine with `period`.",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
            "type": "string"
          },
          "uptimeMonitorId": {
            "description": "Uptime monitor ID (detector id).",
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "projectSlug",
          "uptimeMonitorId"
        ],
        "type": "object"
      },
      "name": "get_uptime_monitor_details",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "checks": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "durationMs": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "environment": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "httpStatusCode": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "region": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": "string"
                },
                "statusReason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "time": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "time",
                "status",
                "statusReason",
                "httpStatusCode",
                "durationMs",
                "region",
                "environment"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "monitor": {
            "additionalProperties": false,
            "properties": {
              "assertion": {
                "description": "Response assertion tree as configured in Sentry, or null when none is set."
              },
              "downtimeThreshold": {
                "type": "number"
              },
              "environment": {
                "type": "string"
              },
              "hasRequestBody": {
                "description": "Whether a request body is configured. The body is never returned.",
                "type": "boolean"
              },
              "headers": {
                "description": "Configured request headers; sensitive values are redacted.",
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "value"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "id": {
                "type": "string"
              },
              "intervalSeconds": {
                "type": "number"
              },
              "method": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              },
              "projectSlug": {
                "type": "string"
              },
              "recoveryThreshold": {
                "type": "number"
              },
              "responseCaptureEnabled": {
                "type": "boolean"
              },
              "status": {
                "type": "string"
              },
              "timeoutMs": {
                "type": "number"
              },
              "traceSampling": {
                "type": "boolean"
              },
              "uptimeStatus": {
                "enum": [
                  "ok",
                  "failed",
                  "unknown"
                ],
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "webUrl": {
                "format": "uri",
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "projectSlug",
              "status",
              "uptimeStatus",
              "url",
              "intervalSeconds",
              "webUrl",
              "timeoutMs",
              "headers",
              "hasRequestBody",
              "assertion"
            ],
            "type": "object"
          }
        },
        "required": [
          "monitor",
          "checks"
        ],
        "type": "object"
      },
      "title": "Get Uptime Monitor Details"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Link an existing external ticket or GitHub pull request to a Sentry issue by URL.\nSupports native Jira, GitHub/GitHub Enterprise, GitLab, Bitbucket, and Azure DevOps integrations, and installed Sentry Apps whose issue-link forms use single-value select or text fields.\nCreates a reference: it does not create a ticket, resolve the Sentry issue, or associate a commit. Use update_issue separately to change status or assignment.\nA repeated link returns already_linked. A different App association must be unlinked first.\nFor Apps, copy the canonical issue URL from the provider. Supply fields only when the installed App requires additional form values.\n\u003cexamples\u003e\nlink_issue(organizationSlug='my-org', issueId='PROJECT-123', externalIssueUrl='https://github.com/example/repo/pull/42')\nlink_issue(issueUrl='https://my-org.sentry.io/issues/123/', externalIssueUrl='https://linear.app/example/issue/ENG-42/fix-crash')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "appSlug": {
            "description": "Installed Sentry App slug. Inferred for Linear and Shortcut URLs; specify it for other Apps.",
            "minLength": 1,
            "type": "string"
          },
          "externalIssueUrl": {
            "description": "URL of the existing external ticket or GitHub pull request. For Sentry Apps, use the canonical issue URL shown by the provider.",
            "format": "uri",
            "type": "string"
          },
          "fields": {
            "additionalProperties": {
              "type": [
                "string",
                "number"
              ]
            },
            "description": "Additional App form values by field name; required fields are reported when missing.",
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "integrationId": {
            "description": "Native integration ID, only needed when multiple installations match the URL.",
            "pattern": "^\\d+$",
            "type": "string"
          },
          "issueId": {
            "description": "The Issue ID. e.g. `PROJECT-1Z43`",
            "type": "string"
          },
          "issueUrl": {
            "description": "The URL of the issue. e.g. https://my-organization.sentry.io/issues/PROJECT-1Z43",
            "format": "uri",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "externalIssueUrl"
        ],
        "type": "object"
      },
      "name": "link_issue",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "externalIssue": {
            "additionalProperties": false,
            "properties": {
              "displayName": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "url"
            ],
            "type": "object"
          },
          "issueId": {
            "type": "string"
          },
          "issueUrl": {
            "type": "string"
          },
          "organizationSlug": {
            "type": "string"
          },
          "status": {
            "enum": [
              "linked",
              "already_linked",
              "not_linked"
            ],
            "type": "string"
          }
        },
        "required": [
          "organizationSlug",
          "issueId",
          "issueUrl",
          "externalIssue",
          "status"
        ],
        "type": "object"
      },
      "title": "Link Issue"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Update the progress shown in Sentry's agentic onboarding UI.\n\nUse this tool only when the Sentry getting started skill provides a run token. Call it at the workflow boundaries described by that skill.\n\n\u003chints\u003e\n- Progress updates are operational UI state, not user analytics.\n- Keep eventNote brief and limited to context useful in the progress UI.\n- Do not include source code, repository paths, credentials, error output, or other sensitive data.\n- status is required for every update.\n- Set runStatus to completed or failed only when the entire onboarding run reaches that state.\n- A failed status requires a brief eventNote explaining the failure.\n- Stop sending updates when the result has continueUpdates: false.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "runToken": {
            "description": "The 10-character onboarding run token supplied by Sentry.",
            "pattern": "^[A-Za-z0-9]{10}$",
            "type": "string"
          },
          "update": {
            "description": "The stage-specific onboarding progress update.",
            "oneOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "eventNote": {
                    "description": "Short context to display with this progress event. Required when status is failed.",
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "runStatus": {
                    "description": "Set only when the entire onboarding run has completed or failed.",
                    "enum": [
                      "completed",
                      "failed"
                    ],
                    "type": "string"
                  },
                  "stage": {
                    "description": "Report progress while connecting to the user's Sentry account. connect_mcp is accepted as an older name.",
                    "enum": [
                      "connect_agent",
                      "connect_mcp"
                    ],
                    "type": "string"
                  },
                  "status": {
                    "description": "The stage's current status.",
                    "enum": [
                      "active",
                      "waiting",
                      "completed",
                      "skipped",
                      "failed"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "status",
                  "stage"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "eventNote": {
                    "description": "Short context to display with this progress event. Required when status is failed.",
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "extra": {
                    "additionalProperties": false,
                    "description": "Project metadata accepted only by the create_project stage.",
                    "properties": {
                      "projectSlugs": {
                        "description": "Sentry project slugs created or selected during onboarding. Values accumulate across updates; include each project as it becomes usable while active, then all known projects when completed.",
                        "items": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "maxItems": 100,
                        "minItems": 1,
                        "type": "array"
                      }
                    },
                    "required": [
                      "projectSlugs"
                    ],
                    "type": "object"
                  },
                  "runStatus": {
                    "description": "Set only when the entire onboarding run has completed or failed.",
                    "enum": [
                      "completed",
                      "failed"
                    ],
                    "type": "string"
                  },
                  "stage": {
                    "const": "create_project",
                    "description": "Report progress while creating or selecting Sentry projects.",
                    "type": "string"
                  },
                  "status": {
                    "description": "The stage's current status.",
                    "enum": [
                      "active",
                      "waiting",
                      "completed",
                      "skipped",
                      "failed"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "status",
                  "stage"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "eventNote": {
                    "description": "Short context to display with this progress event. Required when status is failed.",
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "extra": {
                    "additionalProperties": false,
                    "description": "Issue metadata accepted only by the receive_verification_error stage.",
                    "properties": {
                      "issueIds": {
                        "description": "Sentry issue IDs observed after sending the verification error. Values accumulate across updates; include each matching issue as it is confirmed, then all known issues when completed.",
                        "items": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "maxItems": 100,
                        "minItems": 1,
                        "type": "array"
                      }
                    },
                    "required": [
                      "issueIds"
                    ],
                    "type": "object"
                  },
                  "runStatus": {
                    "description": "Set only when the entire onboarding run has completed or failed.",
                    "enum": [
                      "completed",
                      "failed"
                    ],
                    "type": "string"
                  },
                  "stage": {
                    "const": "receive_verification_error",
                    "description": "Report progress while receiving the verification error in Sentry.",
                    "type": "string"
                  },
                  "status": {
                    "description": "The stage's current status.",
                    "enum": [
                      "active",
                      "waiting",
                      "completed",
                      "skipped",
                      "failed"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "status",
                  "stage"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "eventNote": {
                    "description": "Short context to display with this progress event. Required when status is failed.",
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "runStatus": {
                    "description": "Set only when the entire onboarding run has completed or failed.",
                    "enum": [
                      "completed",
                      "failed"
                    ],
                    "type": "string"
                  },
                  "stage": {
                    "description": "Report progress for a stage that does not accept extra metadata.",
                    "enum": [
                      "analyze_project",
                      "instrument_app",
                      "plan_test_error",
                      "send_verification_error",
                      "prepare_production",
                      "check_stack_trace_quality"
                    ],
                    "type": "string"
                  },
                  "status": {
                    "description": "The stage's current status.",
                    "enum": [
                      "active",
                      "waiting",
                      "completed",
                      "skipped",
                      "failed"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "status",
                  "stage"
                ],
                "type": "object"
              }
            ]
          }
        },
        "required": [
          "runToken",
          "update"
        ],
        "type": "object"
      },
      "name": "onboarding_status_update",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "continueUpdates": {
            "description": "False when Sentry wants no further updates for this run.",
            "type": "boolean"
          }
        },
        "required": [
          "continueUpdates"
        ],
        "type": "object"
      },
      "title": "Update Onboarding Status"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Revoke a team's access to an existing Sentry project.\n\nUse this tool when you need to:\n- Remove a team from a project\n- Revoke team access without changing project metadata\n- Check project team assignments before removing access\n\nBe careful when using this tool because it revokes project access.\n\n\u003cexamples\u003e\nremove_team_from_project(organizationSlug='my-organization', projectSlug='my-project', teamSlug='my-team')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- The team must already be assigned to the project.\n- This tool will not remove the last team assigned to a project.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "teamSlug": {
            "description": "The team's slug. You can find a list of existing teams in an organization with the Sentry tool `find_teams`.",
            "type": "string"
          }
        },
        "required": [
          "projectSlug",
          "teamSlug"
        ],
        "type": "object"
      },
      "name": "remove_team_from_project",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "changed": {
            "type": "boolean"
          },
          "teams": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "slug",
                "name"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "changed",
          "teams"
        ],
        "type": "object"
      },
      "title": "Remove Team from Project"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Search Sentry Agent Conversations, formerly called AI Conversations, and return one summary row per conversation.\n\nUse this tool to find or list Agent Conversations. Results are conversation summaries, not raw span rows.\nEach row includes title (when available), USD cost, tokens, call counts, previews, and other list metadata.\nUse get_agent_conversation_details with a conversationId to fetch the transcript. Use get_sentry_resource for Sentry conversation URLs.\n\n\u003cexamples\u003e\nsearch_agent_conversations(organizationSlug='my-org', query='failed conversations', period='7d')\nsearch_agent_conversations(organizationSlug='my-org', query='checkout', project='backend')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "cursor": {
            "description": "Pagination cursor from a previous response.",
            "type": "string"
          },
          "end": {
            "description": "Explicit end time for the search window.",
            "type": "string"
          },
          "environment": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "items": {
                  "minLength": 1,
                  "type": "string"
                },
                "minItems": 1,
                "type": "array"
              }
            ],
            "description": "Environment name, or an array of environments."
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "period": {
            "default": "30d",
            "description": "Relative time range. Defaults to 30d.",
            "pattern": "^\\d+[mhdw]$",
            "type": "string"
          },
          "project": {
            "anyOf": [
              {
                "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
                "type": "string"
              },
              {
                "items": {
                  "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
                  "type": "string"
                },
                "minItems": 1,
                "type": "array"
              }
            ],
            "description": "Project slug or numeric project ID, or an array of projects."
          },
          "query": {
            "description": "Conversation query/filter string.",
            "type": "string"
          },
          "regionUrl": {
            "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
            "type": "string"
          },
          "start": {
            "description": "Explicit start time for the search window.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "search_agent_conversations",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "conversations": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "aiCallCount": {
                  "type": "number"
                },
                "conversationId": {
                  "type": "string"
                },
                "durationMs": {
                  "type": "number"
                },
                "endTimestamp": {
                  "type": "number"
                },
                "errors": {
                  "type": "number"
                },
                "firstInputPreview": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "flow": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "lastOutputPreview": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sampleTraceIds": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "startTimestamp": {
                  "type": "number"
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "toolCallCount": {
                  "type": "number"
                },
                "toolErrorCount": {
                  "type": "number"
                },
                "toolNames": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "totalCost": {
                  "type": "string"
                },
                "totalTokens": {
                  "type": "number"
                },
                "traceCount": {
                  "type": "number"
                },
                "url": {
                  "format": "uri",
                  "type": "string"
                },
                "user": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "username": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "email",
                        "username"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "conversationId",
                "title",
                "url",
                "startTimestamp",
                "endTimestamp",
                "durationMs",
                "errors",
                "aiCallCount",
                "toolCallCount",
                "toolErrorCount",
                "totalTokens",
                "totalCost",
                "traceCount",
                "sampleTraceIds",
                "firstInputPreview",
                "lastOutputPreview",
                "flow",
                "toolNames",
                "user"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "count": {
            "type": "number"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "organizationSlug": {
            "type": "string"
          },
          "searchUrl": {
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "organizationSlug",
          "searchUrl",
          "count",
          "nextCursor",
          "conversations"
        ],
        "type": "object"
      },
      "title": "Search Agent Conversations"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Search Sentry documentation for SDK setup, instrumentation, and configuration guidance.\n\nUse this tool when you need to:\n- Set up Sentry SDK or framework integrations (Django, Flask, Express, Next.js, etc.)\n- Configure features like performance monitoring, error sampling, or release tracking\n- Implement custom instrumentation (spans, transactions, breadcrumbs)\n- Configure data scrubbing, filtering, or sampling rules\n\nReturns snippets only. Use the Sentry tool `get_doc` to fetch full documentation content.\n\n\u003cexamples\u003e\n```\nsearch_docs(query='Django setup configuration SENTRY_DSN', guide='python/django')\nsearch_docs(query='source maps webpack upload', guide='javascript/nextjs')\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Use guide parameter to filter to specific technologies (e.g., 'javascript/nextjs')\n- Include specific feature names like 'beforeSend', 'tracesSampleRate', 'SENTRY_DSN'\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "guide": {
            "description": "Optional guide filter to limit search results to specific documentation sections. Use either a platform (e.g., 'javascript', 'python') or platform/guide combination (e.g., 'javascript/nextjs', 'python/django').",
            "enum": [
              "javascript",
              "python",
              "java",
              "dotnet",
              "go",
              "php",
              "ruby",
              "android",
              "apple",
              "unity",
              "unreal",
              "rust",
              "elixir",
              "kotlin",
              "native",
              "dart",
              "godot",
              "nintendo-switch",
              "playstation",
              "powershell",
              "react-native",
              "xbox",
              "javascript/nextjs",
              "javascript/react",
              "javascript/gatsby",
              "javascript/remix",
              "javascript/vue",
              "javascript/angular",
              "javascript/hono",
              "javascript/svelte",
              "javascript/express",
              "javascript/fastify",
              "javascript/astro",
              "javascript/bun",
              "javascript/capacitor",
              "javascript/cloudflare",
              "javascript/connect",
              "javascript/cordova",
              "javascript/deno",
              "javascript/electron",
              "javascript/ember",
              "javascript/nuxt",
              "javascript/solid",
              "javascript/solidstart",
              "javascript/sveltekit",
              "javascript/tanstack-react",
              "javascript/wasm",
              "javascript/node",
              "javascript/koa",
              "javascript/nestjs",
              "javascript/hapi",
              "python/django",
              "python/flask",
              "python/fastapi",
              "python/celery",
              "python/tornado",
              "python/pyramid",
              "python/aiohttp",
              "python/anthropic",
              "python/airflow",
              "python/aws-lambda",
              "python/boto3",
              "python/bottle",
              "python/chalice",
              "python/dramatiq",
              "python/falcon",
              "python/langchain",
              "python/litestar",
              "python/logging",
              "python/loguru",
              "python/openai",
              "python/quart",
              "python/ray",
              "python/redis",
              "python/rq",
              "python/sanic",
              "python/sqlalchemy",
              "python/starlette",
              "dart/flutter",
              "dotnet/aspnetcore",
              "dotnet/maui",
              "dotnet/wpf",
              "dotnet/winforms",
              "dotnet/aspnet",
              "dotnet/aws-lambda",
              "dotnet/azure-functions",
              "dotnet/blazor-webassembly",
              "dotnet/entityframework",
              "dotnet/google-cloud-functions",
              "dotnet/extensions-logging",
              "dotnet/log4net",
              "dotnet/nlog",
              "dotnet/serilog",
              "dotnet/uwp",
              "dotnet/xamarin",
              "java/spring",
              "java/spring-boot",
              "java/android",
              "java/jul",
              "java/log4j2",
              "java/logback",
              "java/servlet",
              "go/echo",
              "go/fasthttp",
              "go/fiber",
              "go/gin",
              "go/http",
              "go/iris",
              "go/logrus",
              "go/negroni",
              "go/slog",
              "go/zerolog",
              "php/laravel",
              "php/symfony",
              "ruby/delayed_job",
              "ruby/rack",
              "ruby/rails",
              "ruby/resque",
              "ruby/sidekiq",
              "android/kotlin",
              "apple/ios",
              "apple/macos",
              "apple/watchos",
              "apple/tvos",
              "apple/visionos",
              "kotlin/multiplatform"
            ],
            "type": "string"
          },
          "maxResults": {
            "default": 3,
            "description": "Maximum number of results to return (1-10)",
            "maximum": 10,
            "minimum": 1,
            "type": "integer"
          },
          "query": {
            "description": "The search query in natural language. Be specific about what you're looking for.",
            "maxLength": 200,
            "minLength": 2,
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "type": "object"
      },
      "name": "search_docs",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "guide": {
            "type": [
              "string",
              "null"
            ]
          },
          "query": {
            "type": "string"
          },
          "results": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "path": {
                  "description": "Pass to get_doc as `path`.",
                  "type": "string"
                },
                "relevance": {
                  "description": "Match score from 0 to 1.",
                  "type": "number"
                },
                "snippet": {
                  "description": "Matching excerpt, not the full page. Null after the first 3 results.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "url",
                "relevance",
                "snippet"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "suggestedActions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "arguments": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "reason": {
                  "type": "string"
                },
                "toolName": {
                  "type": "string"
                },
                "type": {
                  "const": "tool_call",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "arguments",
                "reason"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "query",
          "guide",
          "results",
          "suggestedActions"
        ],
        "type": "object"
      },
      "title": "Search Sentry Docs"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Search Sentry error events: exceptions and crashes with stack traces. Use for error counts, statistics, trends, and individual error events.\n\n`query` is natural language (preferred) or Sentry search syntax; a configured agent translates it into query, fields, and sort.\n\nSupports aggregations ('how many errors today', 'top error types'), individual events ('latest TypeErrors in checkout'), and time series ('errors per hour last 24h').\n\nNOT for log messages, including error/warning logs (use search_logs), requests or latency (use search_traces), or grouped issue lists (use search_issues).\n\n\u003cexamples\u003e\nsearch_errors(organizationSlug='my-org', query='how many errors today')\nsearch_errors(organizationSlug='my-org', query='most common error types in production this week')\nsearch_errors(organizationSlug='my-org', query='errors per hour last 24h')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- name/otherName notation means \u003corganizationSlug\u003e/\u003cprojectSlug\u003e; parse it directly, don't call find_organizations/find_projects.\n- Natural language is usually enough. Only pass fields/sort when you need exact columns or ordering.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fields": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Fields to return. If not specified, uses sensible defaults. Include aggregate functions like count(), avg() for statistics."
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "includeExplanation": {
            "default": false,
            "description": "Include explanation of how the query was translated or repaired",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of results to return (1-100)",
            "maximum": 100,
            "minimum": 1,
            "type": "number"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "period": {
            "description": "Relative time window, such as `30m`, `1h`, `24h`, `7d`, or `90d`. Controls which records fall within the search window.",
            "pattern": "^\\d+[mhdw]$",
            "type": "string"
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "query": {
            "description": "What to find, in natural language (preferred) or Sentry search syntax. Include environment, release, or other filters here.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "sort": {
            "description": "Sort field (prefix with - for descending). Defaults to -timestamp. Use -count() for aggregations.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "name": "search_errors",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "executedSearch": {
            "additionalProperties": false,
            "properties": {
              "dataset": {
                "type": "string"
              },
              "fields": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "query": {
                "type": "string"
              },
              "sort": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "timeRange": {
                "additionalProperties": false,
                "properties": {
                  "end": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "start": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "statsPeriod": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "statsPeriod",
                  "start",
                  "end"
                ],
                "type": "object"
              }
            },
            "required": [
              "dataset",
              "query",
              "fields",
              "sort",
              "timeRange"
            ],
            "type": "object"
          },
          "explanation": {
            "type": [
              "string",
              "null"
            ]
          },
          "notes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "presentationHint": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "resultType": {
            "enum": [
              "samples",
              "aggregates",
              "timeSeries"
            ],
            "type": "string"
          },
          "results": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "links": {
                  "additionalProperties": false,
                  "properties": {
                    "issueUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "issueUrl"
                  ],
                  "type": "object"
                },
                "values": {
                  "additionalProperties": {},
                  "description": "The requested fields, keyed by field name.",
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                }
              },
              "required": [
                "values",
                "links"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "suggestedActions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "arguments": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "reason": {
                  "type": "string"
                },
                "toolName": {
                  "type": "string"
                },
                "type": {
                  "const": "tool_call",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "arguments",
                "reason"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "timeSeries": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "bucketCount": {
                    "type": "number"
                  },
                  "buckets": {
                    "description": "The most recent buckets, oldest first.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "incomplete": {
                          "description": "Data is still arriving, so the value may rise.",
                          "type": "boolean"
                        },
                        "outsideRetention": {
                          "description": "Starts before the retention window, so older data is missing and the value will not change.",
                          "type": "boolean"
                        },
                        "time": {
                          "type": "string"
                        },
                        "value": {
                          "type": [
                            "number",
                            "string"
                          ]
                        }
                      },
                      "required": [
                        "time",
                        "value",
                        "incomplete",
                        "outsideRetention"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "ingestion": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "completeThrough": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "delaySeconds": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "status": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "status",
                          "delaySeconds",
                          "completeThrough"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "interval": {
                    "description": "Bucket size; null when Sentry chose it for the range.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "peak": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "time": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "string"
                            ]
                          }
                        },
                        "required": [
                          "time",
                          "value"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Highest bucket that is no longer receiving data."
                  },
                  "total": {
                    "description": "Sum of all buckets; null for non-additive aggregates.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "totalIncludesIncompleteBuckets": {
                    "type": "boolean"
                  },
                  "yAxis": {
                    "type": "string"
                  }
                },
                "required": [
                  "yAxis",
                  "interval",
                  "total",
                  "totalIncludesIncompleteBuckets",
                  "peak",
                  "ingestion",
                  "bucketCount",
                  "buckets"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "description": "Opens these results in Sentry.",
            "type": "string"
          }
        },
        "required": [
          "query",
          "explanation",
          "executedSearch",
          "url",
          "presentationHint",
          "notes",
          "resultType",
          "results",
          "timeSeries",
          "suggestedActions"
        ],
        "type": "object"
      },
      "title": "Search Errors"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Search and filter events within a specific issue.\n\nProvide `query` as natural language or Sentry event search syntax. When an embedded agent is configured, it fixes filters and time range before running. Results are always newest first; fields and sort only shape the Sentry link.\n\nThe tool automatically constrains results to the specified issue.\n\nCommon Query Filters:\n- environment:production - Filter by environment\n- release:1.0.0 - Filter by release version\n- user.email:alice@example.com - Filter by user\n- trace:TRACE_ID - Filter by trace ID\n\nFor cross-issue searches use search_issues. For single issue or event details use get_sentry_resource.\n\n\u003cexamples\u003e\nsearch_issue_events(issueId='MCP-41', organizationSlug='my-org', query='from last hour')\nsearch_issue_events(issueId='MCP-41', organizationSlug='my-org', query='environment:production')\nsearch_issue_events(issueUrl='https://sentry.io/.../issues/123/', query='release:v1.0.0', period='7d')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "includeExplanation": {
            "default": false,
            "description": "Include explanation of how the query was translated or repaired",
            "type": "boolean"
          },
          "issueId": {
            "description": "Issue ID (e.g., 'MCP-41', 'PROJECT-123'). Requires organizationSlug. Alternatively, use issueUrl.",
            "type": "string"
          },
          "issueUrl": {
            "description": "Full Sentry issue URL (e.g., 'https://sentry.io/organizations/my-org/issues/123/'). Includes both organization and issue ID.",
            "format": "uri",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "description": "Maximum number of events to return (1-100, default: 50)",
            "maximum": 100,
            "minimum": 1,
            "type": "number"
          },
          "organizationSlug": {
            "anyOf": [
              {
                "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Organization slug. Required when using issueId. Not needed when using issueUrl."
          },
          "period": {
            "description": "Relative time window, such as `30m`, `1h`, `24h`, `7d`, or `90d`. Controls which records fall within the search window.",
            "pattern": "^\\d+[mhdw]$",
            "type": "string"
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Project slug for better tag discovery. Optional - helps find project-specific tags."
          },
          "query": {
            "description": "Natural language or Sentry event search query syntax for filtering within the issue.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Sentry region URL. Optional - defaults to main region."
          },
          "sort": {
            "description": "Sort for the Sentry link (prefix with - for descending). Results are always newest first. Default: -timestamp",
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "search_issue_events",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "events": {
            "description": "Newest first; the issue events endpoint has no sort.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "culprit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "dateCreated": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "eventType": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "id": {
                  "type": "string"
                },
                "location": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "message": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "platform": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "tags": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "value": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "key",
                      "value"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": "string"
                },
                "user": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "geo": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "city": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "countryCode": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "region": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "countryCode",
                                "city",
                                "region"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "ipAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "username": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "email",
                        "username",
                        "name",
                        "ipAddress",
                        "geo"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "eventType",
                "title",
                "message",
                "culprit",
                "location",
                "platform",
                "dateCreated",
                "user",
                "tags"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "executedSearch": {
            "additionalProperties": false,
            "properties": {
              "issueId": {
                "type": "string"
              },
              "query": {
                "type": "string"
              },
              "timeRange": {
                "additionalProperties": false,
                "properties": {
                  "end": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "start": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "statsPeriod": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "statsPeriod",
                  "start",
                  "end"
                ],
                "type": "object"
              }
            },
            "required": [
              "issueId",
              "query",
              "timeRange"
            ],
            "type": "object"
          },
          "explanation": {
            "type": [
              "string",
              "null"
            ]
          },
          "issueUrl": {
            "type": "string"
          },
          "notes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "presentationHint": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "suggestedActions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "arguments": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "reason": {
                  "type": "string"
                },
                "toolName": {
                  "type": "string"
                },
                "type": {
                  "const": "tool_call",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "arguments",
                "reason"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "url": {
            "description": "Opens these results in Sentry.",
            "type": "string"
          }
        },
        "required": [
          "query",
          "explanation",
          "executedSearch",
          "url",
          "issueUrl",
          "presentationHint",
          "notes",
          "events",
          "suggestedActions"
        ],
        "type": "object"
      },
      "title": "Search Issue Events"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Search for grouped issues/problems in Sentry - returns a LIST of issues, NOT counts or aggregations.\n\nProvide `query` as natural language or Sentry issue search syntax. Seer translates natural language when the organization has AI issue search; otherwise a configured embedded agent fixes query and sort while preserving explicit Sentry search syntax.\n\nReturns grouped issues with metadata like title, status, and user count.\n\nCommon Query Syntax:\n- is:unresolved / is:resolved / is:ignored / is:for_review / is:new / is:regressed / is:escalating\n- level:error / level:warning\n- firstSeen:-24h / lastSeen:-7d\n- assigned:me / assigned_or_suggested:me\n- release:latest\n- issue.category:feedback\n- issue.priority:high\n- environment:production\n- userCount:\u003e100\n\nNo AND/OR or parentheses: spaces mean AND. For OR on one field use field:[a,b]; for several statuses use status:[resolved,ignored] or substatus:[regressed,escalating].\n\nDO NOT USE FOR COUNTS/AGGREGATIONS → use search_errors\nDO NOT USE FOR individual events with timestamps → use search_errors, search_logs, or search_traces\nDO NOT USE FOR details about a specific issue → use get_sentry_resource\n\n\u003cexamples\u003e\nsearch_issues(organizationSlug='my-org', query='critical bugs from last week')\nsearch_issues(organizationSlug='my-org', query='is:unresolved is:unassigned', sort='freq')\nsearch_issues(organizationSlug='my-org', query='level:error firstSeen:-24h', projectSlugOrId='my-project')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- If the user passes a parameter in the form of name/otherName, it's likely in the format of \u003corganizationSlug\u003e/\u003cprojectSlugOrId\u003e.\n- Parse org/project notation directly without calling find_organizations or find_projects.\n- The projectSlugOrId parameter accepts both project slugs (e.g., 'my-project') and numeric IDs (e.g., '123456').\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "includeExplanation": {
            "default": false,
            "description": "Include explanation of how the query was translated or repaired",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of issues to return (1-100)",
            "maximum": 100,
            "minimum": 1,
            "type": "number"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "period": {
            "default": "30d",
            "description": "Time window for issue search results. Controls which issues are returned based on when they had activity. Default 30d is a balance between coverage and query performance; use 1h or 24h for very recent issues or 90d for broader historical searches.",
            "enum": [
              "1h",
              "24h",
              "7d",
              "14d",
              "30d",
              "90d"
            ],
            "type": "string"
          },
          "projectSlugOrId": {
            "default": null,
            "description": "The project's slug or numeric ID (optional)",
            "type": [
              "string",
              "null"
            ]
          },
          "query": {
            "default": "is:unresolved",
            "description": "Natural language or Sentry issue search query syntax.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "sort": {
            "default": "date",
            "description": "Sort order: date (last seen), freq (frequency), new (first seen), user (user count), recommended (Sentry's prioritized ranking)",
            "enum": [
              "date",
              "freq",
              "new",
              "user",
              "recommended"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "search_issues",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "executedSearch": {
            "additionalProperties": false,
            "properties": {
              "period": {
                "type": "string"
              },
              "projectSlugOrId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "query": {
                "type": "string"
              },
              "sort": {
                "enum": [
                  "date",
                  "freq",
                  "new",
                  "user",
                  "recommended"
                ],
                "type": "string"
              }
            },
            "required": [
              "query",
              "sort",
              "period",
              "projectSlugOrId"
            ],
            "type": "object"
          },
          "explanation": {
            "type": [
              "string",
              "null"
            ]
          },
          "issues": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "assignedTo": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "assigneeEmail": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "culprit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "firstSeen": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "issueCategory": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "lastSeen": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "occurrences": {
                  "type": "number"
                },
                "projectSlug": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reporter": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "name",
                        "email"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Who submitted a feedback issue. Null for other issues."
                },
                "seerActionability": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "shortId": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                },
                "substatus": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "title": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "usersImpacted": {
                  "type": "number"
                }
              },
              "required": [
                "shortId",
                "title",
                "url",
                "status",
                "substatus",
                "issueCategory",
                "occurrences",
                "usersImpacted",
                "assignedTo",
                "assigneeEmail",
                "reporter",
                "firstSeen",
                "lastSeen",
                "culprit",
                "seerActionability",
                "projectSlug"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "notes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "presentationHint": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "suggestedActions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "arguments": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "reason": {
                  "type": "string"
                },
                "toolName": {
                  "type": "string"
                },
                "type": {
                  "const": "tool_call",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "arguments",
                "reason"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "url": {
            "description": "Opens these results in Sentry.",
            "type": "string"
          }
        },
        "required": [
          "query",
          "explanation",
          "executedSearch",
          "url",
          "presentationHint",
          "notes",
          "issues",
          "suggestedActions"
        ],
        "type": "object"
      },
      "title": "Search Issues"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Search Sentry logs: application log entries, including error- and warning-severity log messages. Use for log counts, statistics, trends, and individual log lines.\n\n`query` is natural language (preferred) or Sentry search syntax; a configured agent translates it into query, fields, and sort.\n\nSupports aggregations ('warning logs by service'), individual entries ('error logs from the last hour'), and time series ('error logs per hour').\n\nNOT for exceptions/crashes (use search_errors). For requests or spans whose trace also has a matching log, use search_traces.\n\n\u003cexamples\u003e\nsearch_logs(organizationSlug='my-org', query='error logs from the last hour')\nsearch_logs(organizationSlug='my-org', query='logs mentioning payment timeout in production')\nsearch_logs(organizationSlug='my-org', query='count warning logs by service over 7 days')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- name/otherName notation means \u003corganizationSlug\u003e/\u003cprojectSlug\u003e; parse it directly, don't call find_organizations/find_projects.\n- Natural language is usually enough. Only pass fields/sort when you need exact columns or ordering.\n- Sentry search syntax for logs includes RE2 regex filters, never quoted: `message://^Timeout after \\d+ms//`.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fields": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Fields to return. If not specified, uses sensible defaults. Include aggregate functions like count(), avg() for statistics."
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "includeExplanation": {
            "default": false,
            "description": "Include explanation of how the query was translated or repaired",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of results to return (1-100)",
            "maximum": 100,
            "minimum": 1,
            "type": "number"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "period": {
            "description": "Relative time window, such as `30m`, `1h`, `24h`, `7d`, or `90d`. Controls which records fall within the search window.",
            "pattern": "^\\d+[mhdw]$",
            "type": "string"
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "query": {
            "description": "What to find, in natural language (preferred) or Sentry search syntax. Include environment, release, or other filters here.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "sort": {
            "description": "Sort field (prefix with - for descending). Defaults to -timestamp. Use -count() for aggregations.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "name": "search_logs",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "executedSearch": {
            "additionalProperties": false,
            "properties": {
              "dataset": {
                "type": "string"
              },
              "fields": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "query": {
                "type": "string"
              },
              "sort": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "timeRange": {
                "additionalProperties": false,
                "properties": {
                  "end": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "start": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "statsPeriod": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "statsPeriod",
                  "start",
                  "end"
                ],
                "type": "object"
              }
            },
            "required": [
              "dataset",
              "query",
              "fields",
              "sort",
              "timeRange"
            ],
            "type": "object"
          },
          "explanation": {
            "type": [
              "string",
              "null"
            ]
          },
          "notes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "presentationHint": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "resultType": {
            "enum": [
              "samples",
              "aggregates",
              "timeSeries"
            ],
            "type": "string"
          },
          "results": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "links": {
                  "additionalProperties": false,
                  "properties": {
                    "logUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "traceUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "logUrl",
                    "traceUrl"
                  ],
                  "type": "object"
                },
                "values": {
                  "additionalProperties": {},
                  "description": "The requested fields, keyed by field name.",
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                }
              },
              "required": [
                "values",
                "links"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "suggestedActions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "arguments": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "reason": {
                  "type": "string"
                },
                "toolName": {
                  "type": "string"
                },
                "type": {
                  "const": "tool_call",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "arguments",
                "reason"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "timeSeries": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "bucketCount": {
                    "type": "number"
                  },
                  "buckets": {
                    "description": "The most recent buckets, oldest first.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "incomplete": {
                          "description": "Data is still arriving, so the value may rise.",
                          "type": "boolean"
                        },
                        "outsideRetention": {
                          "description": "Starts before the retention window, so older data is missing and the value will not change.",
                          "type": "boolean"
                        },
                        "time": {
                          "type": "string"
                        },
                        "value": {
                          "type": [
                            "number",
                            "string"
                          ]
                        }
                      },
                      "required": [
                        "time",
                        "value",
                        "incomplete",
                        "outsideRetention"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "ingestion": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "completeThrough": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "delaySeconds": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "status": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "status",
                          "delaySeconds",
                          "completeThrough"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "interval": {
                    "description": "Bucket size; null when Sentry chose it for the range.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "peak": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "time": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "string"
                            ]
                          }
                        },
                        "required": [
                          "time",
                          "value"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Highest bucket that is no longer receiving data."
                  },
                  "total": {
                    "description": "Sum of all buckets; null for non-additive aggregates.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "totalIncludesIncompleteBuckets": {
                    "type": "boolean"
                  },
                  "yAxis": {
                    "type": "string"
                  }
                },
                "required": [
                  "yAxis",
                  "interval",
                  "total",
                  "totalIncludesIncompleteBuckets",
                  "peak",
                  "ingestion",
                  "bucketCount",
                  "buckets"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "description": "Opens these results in Sentry.",
            "type": "string"
          }
        },
        "required": [
          "query",
          "explanation",
          "executedSearch",
          "url",
          "presentationHint",
          "notes",
          "resultType",
          "results",
          "timeSeries",
          "suggestedActions"
        ],
        "type": "object"
      },
      "title": "Search Logs"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Search Sentry metrics: counters, gauges, and distributions, as rows or aggregates. Use for metric values, percentiles, totals, and trends.\n\n`query` is natural language (preferred) or Sentry search syntax; a configured agent translates it into query, fields, and sort.\n\nSupports aggregations ('p95 http.request.duration by environment'), individual metric rows, and time series ('total tokens per day this week').\n\nNOT for span or request latency recorded on traces (use search_traces).\n\n\u003cexamples\u003e\nsearch_metrics(organizationSlug='my-org', query='p95 http.request.duration grouped by environment over the last 24 hours')\nsearch_metrics(organizationSlug='my-org', query='total tokens used per day this week')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- name/otherName notation means \u003corganizationSlug\u003e/\u003cprojectSlug\u003e; parse it directly, don't call find_organizations/find_projects.\n- Natural language is usually enough. Only pass fields/sort when you need exact columns or ordering.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fields": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Fields to return. If not specified, uses sensible defaults. Include aggregate functions like count(), avg() for statistics."
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "includeExplanation": {
            "default": false,
            "description": "Include explanation of how the query was translated or repaired",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of results to return (1-100)",
            "maximum": 100,
            "minimum": 1,
            "type": "number"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "period": {
            "description": "Relative time window, such as `30m`, `1h`, `24h`, `7d`, or `90d`. Controls which records fall within the search window.",
            "pattern": "^\\d+[mhdw]$",
            "type": "string"
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "query": {
            "description": "What to find, in natural language (preferred) or Sentry search syntax. Include environment, release, or other filters here.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "sort": {
            "description": "Sort field (prefix with - for descending). Defaults to -timestamp. Use -count() for aggregations.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "name": "search_metrics",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "executedSearch": {
            "additionalProperties": false,
            "properties": {
              "dataset": {
                "type": "string"
              },
              "fields": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "query": {
                "type": "string"
              },
              "sort": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "timeRange": {
                "additionalProperties": false,
                "properties": {
                  "end": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "start": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "statsPeriod": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "statsPeriod",
                  "start",
                  "end"
                ],
                "type": "object"
              }
            },
            "required": [
              "dataset",
              "query",
              "fields",
              "sort",
              "timeRange"
            ],
            "type": "object"
          },
          "explanation": {
            "type": [
              "string",
              "null"
            ]
          },
          "notes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "presentationHint": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "resultType": {
            "enum": [
              "samples",
              "aggregates",
              "timeSeries"
            ],
            "type": "string"
          },
          "results": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "links": {
                  "additionalProperties": false,
                  "properties": {
                    "traceUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "traceUrl"
                  ],
                  "type": "object"
                },
                "values": {
                  "additionalProperties": {},
                  "description": "The requested fields, keyed by field name.",
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                }
              },
              "required": [
                "values",
                "links"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "suggestedActions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "arguments": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "reason": {
                  "type": "string"
                },
                "toolName": {
                  "type": "string"
                },
                "type": {
                  "const": "tool_call",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "arguments",
                "reason"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "timeSeries": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "bucketCount": {
                    "type": "number"
                  },
                  "buckets": {
                    "description": "The most recent buckets, oldest first.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "incomplete": {
                          "description": "Data is still arriving, so the value may rise.",
                          "type": "boolean"
                        },
                        "outsideRetention": {
                          "description": "Starts before the retention window, so older data is missing and the value will not change.",
                          "type": "boolean"
                        },
                        "time": {
                          "type": "string"
                        },
                        "value": {
                          "type": [
                            "number",
                            "string"
                          ]
                        }
                      },
                      "required": [
                        "time",
                        "value",
                        "incomplete",
                        "outsideRetention"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "ingestion": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "completeThrough": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "delaySeconds": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "status": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "status",
                          "delaySeconds",
                          "completeThrough"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "interval": {
                    "description": "Bucket size; null when Sentry chose it for the range.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "peak": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "time": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "string"
                            ]
                          }
                        },
                        "required": [
                          "time",
                          "value"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Highest bucket that is no longer receiving data."
                  },
                  "total": {
                    "description": "Sum of all buckets; null for non-additive aggregates.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "totalIncludesIncompleteBuckets": {
                    "type": "boolean"
                  },
                  "yAxis": {
                    "type": "string"
                  }
                },
                "required": [
                  "yAxis",
                  "interval",
                  "total",
                  "totalIncludesIncompleteBuckets",
                  "peak",
                  "ingestion",
                  "bucketCount",
                  "buckets"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "description": "Opens these results in Sentry.",
            "type": "string"
          }
        },
        "required": [
          "query",
          "explanation",
          "executedSearch",
          "url",
          "presentationHint",
          "notes",
          "resultType",
          "results",
          "timeSeries",
          "suggestedActions"
        ],
        "type": "object"
      },
      "title": "Search Metrics"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Search Sentry profiles: transaction and continuous profile results, profile IDs, and profiled transactions. Use to find profiles to inspect.\n\n`query` is natural language (preferred) or Sentry search syntax; a configured agent translates it into query, fields, and sort.\n\nUse get_profile or get_profile_details on a result for flamegraph and hotspot analysis.\n\n\u003cexamples\u003e\nsearch_profiles(organizationSlug='my-org', query='recent profiles for the /checkout transaction')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- name/otherName notation means \u003corganizationSlug\u003e/\u003cprojectSlug\u003e; parse it directly, don't call find_organizations/find_projects.\n- Natural language is usually enough. Only pass fields/sort when you need exact columns or ordering.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fields": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Fields to return. If not specified, uses sensible defaults. Include aggregate functions like count(), avg() for statistics."
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "includeExplanation": {
            "default": false,
            "description": "Include explanation of how the query was translated or repaired",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of results to return (1-100)",
            "maximum": 100,
            "minimum": 1,
            "type": "number"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "period": {
            "description": "Relative time window, such as `30m`, `1h`, `24h`, `7d`, or `90d`. Controls which records fall within the search window.",
            "pattern": "^\\d+[mhdw]$",
            "type": "string"
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "query": {
            "description": "What to find, in natural language (preferred) or Sentry search syntax. Include environment, release, or other filters here.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "sort": {
            "description": "Sort field (prefix with - for descending). Defaults to -timestamp. Use -count() for aggregations.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "name": "search_profiles",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "executedSearch": {
            "additionalProperties": false,
            "properties": {
              "dataset": {
                "type": "string"
              },
              "fields": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "query": {
                "type": "string"
              },
              "sort": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "timeRange": {
                "additionalProperties": false,
                "properties": {
                  "end": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "start": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "statsPeriod": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "statsPeriod",
                  "start",
                  "end"
                ],
                "type": "object"
              }
            },
            "required": [
              "dataset",
              "query",
              "fields",
              "sort",
              "timeRange"
            ],
            "type": "object"
          },
          "explanation": {
            "type": [
              "string",
              "null"
            ]
          },
          "notes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "presentationHint": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "resultType": {
            "enum": [
              "samples",
              "aggregates",
              "timeSeries"
            ],
            "type": "string"
          },
          "results": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "links": {
                  "additionalProperties": false,
                  "properties": {
                    "profileUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "traceUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "profileUrl",
                    "traceUrl"
                  ],
                  "type": "object"
                },
                "values": {
                  "additionalProperties": {},
                  "description": "The requested fields, keyed by field name.",
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                }
              },
              "required": [
                "values",
                "links"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "suggestedActions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "arguments": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "reason": {
                  "type": "string"
                },
                "toolName": {
                  "type": "string"
                },
                "type": {
                  "const": "tool_call",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "arguments",
                "reason"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "timeSeries": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "bucketCount": {
                    "type": "number"
                  },
                  "buckets": {
                    "description": "The most recent buckets, oldest first.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "incomplete": {
                          "description": "Data is still arriving, so the value may rise.",
                          "type": "boolean"
                        },
                        "outsideRetention": {
                          "description": "Starts before the retention window, so older data is missing and the value will not change.",
                          "type": "boolean"
                        },
                        "time": {
                          "type": "string"
                        },
                        "value": {
                          "type": [
                            "number",
                            "string"
                          ]
                        }
                      },
                      "required": [
                        "time",
                        "value",
                        "incomplete",
                        "outsideRetention"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "ingestion": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "completeThrough": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "delaySeconds": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "status": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "status",
                          "delaySeconds",
                          "completeThrough"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "interval": {
                    "description": "Bucket size; null when Sentry chose it for the range.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "peak": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "time": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "string"
                            ]
                          }
                        },
                        "required": [
                          "time",
                          "value"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Highest bucket that is no longer receiving data."
                  },
                  "total": {
                    "description": "Sum of all buckets; null for non-additive aggregates.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "totalIncludesIncompleteBuckets": {
                    "type": "boolean"
                  },
                  "yAxis": {
                    "type": "string"
                  }
                },
                "required": [
                  "yAxis",
                  "interval",
                  "total",
                  "totalIncludesIncompleteBuckets",
                  "peak",
                  "ingestion",
                  "bucketCount",
                  "buckets"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "description": "Opens these results in Sentry.",
            "type": "string"
          }
        },
        "required": [
          "query",
          "explanation",
          "executedSearch",
          "url",
          "presentationHint",
          "notes",
          "resultType",
          "results",
          "timeSeries",
          "suggestedActions"
        ],
        "type": "object"
      },
      "title": "Search Profiles"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Search Sentry session replays: rage clicks, dead clicks, visited pages, errors seen, and replay users.\n\n`query` is natural language (preferred) or replay search syntax; a configured agent translates it into a replay search.\n\nReturns replay lists only; count()/avg()/sum() are not supported. Use get_replay_details on a result for one replay.\n\n\u003cexamples\u003e\nsearch_replays(organizationSlug='my-org', query='replays with rage clicks on checkout in the last day')\nsearch_replays(organizationSlug='my-org', query='count_errors:\u003e0', sort='-count_errors')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- name/otherName notation means \u003corganizationSlug\u003e/\u003cprojectSlug\u003e; parse it directly, don't call find_organizations/find_projects.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "environment": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "items": {
                  "minLength": 1,
                  "type": "string"
                },
                "minItems": 1,
                "type": "array"
              }
            ],
            "description": "Optional environment filter. Use a string for one environment or an array for multiple. Omit when unused."
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "includeExplanation": {
            "default": false,
            "description": "Include explanation of how the query was translated or repaired",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of results to return (1-100)",
            "maximum": 100,
            "minimum": 1,
            "type": "number"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "period": {
            "description": "Relative time window, such as `30m`, `1h`, `24h`, `7d`, or `90d`. Controls which records fall within the search window.",
            "pattern": "^\\d+[mhdw]$",
            "type": "string"
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "query": {
            "description": "What to find, in natural language (preferred) or replay search syntax.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "sort": {
            "description": "Replay sort (prefix with - for descending): -started_at (default), -count_errors, -count_rage_clicks, or -duration.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "name": "search_replays",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "executedSearch": {
            "additionalProperties": false,
            "properties": {
              "environment": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "query": {
                "type": "string"
              },
              "sort": {
                "type": "string"
              },
              "timeRange": {
                "additionalProperties": false,
                "properties": {
                  "end": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "start": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "statsPeriod": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "statsPeriod",
                  "start",
                  "end"
                ],
                "type": "object"
              }
            },
            "required": [
              "query",
              "sort",
              "environment",
              "timeRange"
            ],
            "type": "object"
          },
          "explanation": {
            "type": [
              "string",
              "null"
            ]
          },
          "notes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "presentationHint": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "replays": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "browser": {
                  "additionalProperties": false,
                  "properties": {
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "version": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "version"
                  ],
                  "type": "object"
                },
                "deadClickCount": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "durationSeconds": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "environment": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "errorCount": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "id": {
                  "type": "string"
                },
                "isArchived": {
                  "type": "boolean"
                },
                "rageClickCount": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "releaseCount": {
                  "type": "number"
                },
                "releases": {
                  "description": "The first 3 releases.",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "replayUrl": {
                  "type": "string"
                },
                "startedAt": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "traceCount": {
                  "type": "number"
                },
                "traceIds": {
                  "description": "The first 3 trace IDs.",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "urlCount": {
                  "type": "number"
                },
                "urls": {
                  "description": "The first 3 visited pages.",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "user": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "ip": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "username": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "username",
                        "email",
                        "ip"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Null for archived replays."
                }
              },
              "required": [
                "id",
                "replayUrl",
                "startedAt",
                "durationSeconds",
                "user",
                "errorCount",
                "rageClickCount",
                "deadClickCount",
                "environment",
                "browser",
                "urls",
                "urlCount",
                "releases",
                "releaseCount",
                "traceIds",
                "traceCount",
                "isArchived"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "suggestedActions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "arguments": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "reason": {
                  "type": "string"
                },
                "toolName": {
                  "type": "string"
                },
                "type": {
                  "const": "tool_call",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "arguments",
                "reason"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "url": {
            "description": "Opens these results in Sentry.",
            "type": "string"
          }
        },
        "required": [
          "query",
          "explanation",
          "executedSearch",
          "url",
          "presentationHint",
          "notes",
          "replays",
          "suggestedActions"
        ],
        "type": "object"
      },
      "title": "Search Replays"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Search Sentry spans and traces: requests, API/HTTP calls, endpoints, DB queries, AI/LLM calls, and other operations. Use for latency, throughput, slowness, and performance questions.\n\n`query` is natural language (preferred) or Sentry search syntax; a configured agent translates it into query, fields, and sort.\n\nAlso use for spans whose trace contains a matching log, metric, or other span, e.g. 'slow checkout requests that also logged an error'.\n\nSupports aggregations ('p95 duration by span.op'), individual spans ('slowest API calls today'), and time series ('requests per minute last hour').\n\nNOT for exceptions/crashes (use search_errors), standalone log lines (use search_logs), or a single trace's span tree (use get_sentry_resource with the trace).\n\n\u003cexamples\u003e\nsearch_traces(organizationSlug='my-org', query='slowest API calls in the last 24 hours')\nsearch_traces(organizationSlug='my-org', query='p95 duration of db spans grouped by span.op over 7 days')\nsearch_traces(organizationSlug='my-org', query='checkout requests that also have an error log')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- name/otherName notation means \u003corganizationSlug\u003e/\u003cprojectSlug\u003e; parse it directly, don't call find_organizations/find_projects.\n- Natural language is usually enough. Only pass fields/sort when you need exact columns or ordering.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fields": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Fields to return. If not specified, uses sensible defaults. Include aggregate functions like count(), avg() for statistics."
          },
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          },
          "includeExplanation": {
            "default": false,
            "description": "Include explanation of how the query was translated or repaired",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of results to return (1-100)",
            "maximum": 100,
            "minimum": 1,
            "type": "number"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "period": {
            "description": "Relative time window, such as `30m`, `1h`, `24h`, `7d`, or `90d`. Controls which records fall within the search window.",
            "pattern": "^\\d+[mhdw]$",
            "type": "string"
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "query": {
            "description": "What to find, in natural language (preferred) or Sentry search syntax. Include environment, release, or other filters here.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "sort": {
            "description": "Sort field (prefix with - for descending). Defaults to -timestamp. Use -count() for aggregations.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "name": "search_traces",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "executedSearch": {
            "additionalProperties": false,
            "properties": {
              "dataset": {
                "type": "string"
              },
              "fields": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "query": {
                "type": "string"
              },
              "sort": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "timeRange": {
                "additionalProperties": false,
                "properties": {
                  "end": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "start": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "statsPeriod": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "statsPeriod",
                  "start",
                  "end"
                ],
                "type": "object"
              }
            },
            "required": [
              "dataset",
              "query",
              "fields",
              "sort",
              "timeRange"
            ],
            "type": "object"
          },
          "explanation": {
            "type": [
              "string",
              "null"
            ]
          },
          "notes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "presentationHint": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "resultType": {
            "enum": [
              "samples",
              "aggregates",
              "timeSeries"
            ],
            "type": "string"
          },
          "results": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "links": {
                  "additionalProperties": false,
                  "properties": {
                    "traceUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "traceUrl"
                  ],
                  "type": "object"
                },
                "values": {
                  "additionalProperties": {},
                  "description": "The requested fields, keyed by field name.",
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                }
              },
              "required": [
                "values",
                "links"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "suggestedActions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "arguments": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "reason": {
                  "type": "string"
                },
                "toolName": {
                  "type": "string"
                },
                "type": {
                  "const": "tool_call",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "arguments",
                "reason"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "timeSeries": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "bucketCount": {
                    "type": "number"
                  },
                  "buckets": {
                    "description": "The most recent buckets, oldest first.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "incomplete": {
                          "description": "Data is still arriving, so the value may rise.",
                          "type": "boolean"
                        },
                        "outsideRetention": {
                          "description": "Starts before the retention window, so older data is missing and the value will not change.",
                          "type": "boolean"
                        },
                        "time": {
                          "type": "string"
                        },
                        "value": {
                          "type": [
                            "number",
                            "string"
                          ]
                        }
                      },
                      "required": [
                        "time",
                        "value",
                        "incomplete",
                        "outsideRetention"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "ingestion": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "completeThrough": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "delaySeconds": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "status": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "status",
                          "delaySeconds",
                          "completeThrough"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "interval": {
                    "description": "Bucket size; null when Sentry chose it for the range.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "peak": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "time": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "string"
                            ]
                          }
                        },
                        "required": [
                          "time",
                          "value"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Highest bucket that is no longer receiving data."
                  },
                  "total": {
                    "description": "Sum of all buckets; null for non-additive aggregates.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "totalIncludesIncompleteBuckets": {
                    "type": "boolean"
                  },
                  "yAxis": {
                    "type": "string"
                  }
                },
                "required": [
                  "yAxis",
                  "interval",
                  "total",
                  "totalIncludesIncompleteBuckets",
                  "peak",
                  "ingestion",
                  "bucketCount",
                  "buckets"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "description": "Opens these results in Sentry.",
            "type": "string"
          }
        },
        "required": [
          "query",
          "explanation",
          "executedSearch",
          "url",
          "presentationHint",
          "notes",
          "resultType",
          "results",
          "timeSeries",
          "suggestedActions"
        ],
        "type": "object"
      },
      "title": "Search Traces"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Report friction with the Sentry MCP server to its maintainers.\n\nUse this tool when you need to:\n- Report that no Sentry MCP tool could do a Sentry task the user asked for\n- Report a Sentry MCP tool that failed, returned wrong data, or was confusing\n- Suggest an improvement to the Sentry MCP tools\n\n\u003cexamples\u003e\nsubmit_feedback_to_sentry_team(task='find slow endpoints', kind='missing', impact='blocked', description='No tool returns p95 latency per endpoint.')\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Call it only when a Sentry MCP tool was missing, failed, or got in the way, at most once per task.\n- Skip it if the task went fine, was skipped, or did not need Sentry. Do not use it to log progress or to test it.\n- Feedback goes to the Sentry MCP maintainers, not the user's Sentry organization.\n- Do not include secrets, credentials, or personal data.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "description": {
            "description": "What you tried, including tool calls and any error, and what went wrong.",
            "maxLength": 4096,
            "minLength": 1,
            "type": "string"
          },
          "impact": {
            "description": "blocked: you could not finish; worked_around: you finished another way; friction: you finished, but it was harder than it should be.",
            "enum": [
              "blocked",
              "worked_around",
              "friction"
            ],
            "type": "string"
          },
          "kind": {
            "description": "missing: no tool could do it; broken: a tool failed or returned something wrong; confusing: a tool or its docs were unclear; idea: a suggestion.",
            "enum": [
              "missing",
              "broken",
              "confusing",
              "idea"
            ],
            "type": "string"
          },
          "task": {
            "description": "A short phrase naming what the user asked you to do.",
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "toolName": {
            "description": "The Sentry MCP tool the feedback is about, if any.",
            "maxLength": 100,
            "type": "string"
          }
        },
        "required": [
          "task",
          "kind",
          "impact",
          "description"
        ],
        "type": "object"
      },
      "name": "submit_feedback_to_sentry_team",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "feedbackId": {
            "description": "ID of the feedback sent to the Sentry MCP maintainers.",
            "type": "string"
          }
        },
        "required": [
          "feedbackId"
        ],
        "type": "object"
      },
      "title": "Submit Feedback to Sentry Team"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Remove an external ticket or GitHub pull request reference from a Sentry issue by URL.\nRemoves only the Sentry association. It does not delete the external ticket or the Sentry issue, or change resolution status.\nSupports native integrations and installed Sentry Apps. Repeating the request is safe: not_linked means the association is absent, whether removed by this call or already absent.\n\u003cexamples\u003e\nunlink_issue(organizationSlug='my-org', issueId='PROJECT-123', externalIssueUrl='https://github.com/example/repo/issues/42')\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "appSlug": {
            "description": "Installed Sentry App slug. Inferred for Linear and Shortcut URLs; specify it for other Apps.",
            "minLength": 1,
            "type": "string"
          },
          "externalIssueUrl": {
            "description": "URL of the existing external ticket or GitHub pull request. For Sentry Apps, use the canonical issue URL shown by the provider.",
            "format": "uri",
            "type": "string"
          },
          "integrationId": {
            "description": "Native integration ID, only needed when multiple installations match the URL.",
            "pattern": "^\\d+$",
            "type": "string"
          },
          "issueId": {
            "description": "The Issue ID. e.g. `PROJECT-1Z43`",
            "type": "string"
          },
          "issueUrl": {
            "description": "The URL of the issue. e.g. https://my-organization.sentry.io/issues/PROJECT-1Z43",
            "format": "uri",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "externalIssueUrl"
        ],
        "type": "object"
      },
      "name": "unlink_issue",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "externalIssue": {
            "additionalProperties": false,
            "properties": {
              "displayName": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "url"
            ],
            "type": "object"
          },
          "issueId": {
            "type": "string"
          },
          "issueUrl": {
            "type": "string"
          },
          "organizationSlug": {
            "type": "string"
          },
          "status": {
            "enum": [
              "linked",
              "already_linked",
              "not_linked"
            ],
            "type": "string"
          }
        },
        "required": [
          "organizationSlug",
          "issueId",
          "issueUrl",
          "externalIssue",
          "status"
        ],
        "type": "object"
      },
      "title": "Unlink Issue"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Update a Sentry Alert (workflow), including notification actions and connections.\nUse get_alert_rule with kind='issue' first to inspect the complete triggers and actionFilters configuration.\nUse get_alert_options to discover notification actions, integrations, conditions, and available sources.\nOmit fields to leave them unchanged. Pass null to clear owner or environment.\ntriggers replaces the trigger conditions. actionFilters replaces ALL action groups: copy the complete configuration, retain existing IDs, and change only the intended values. Omitted groups, conditions, and actions are removed.\nFor Slack or Microsoft Teams, change config.targetDisplay to the channel name and use integrationId for the workspace or team. Sentry resolves the channel ID. Slack also accepts an explicit new targetIdentifier; a copied old ID is cleared when the name or workspace changes.\nOther actions use their provider's config and data. For Discord, PagerDuty, Opsgenie, and email, update targetIdentifier to the channel, service, team, or recipient ID; changing only its display name does not change the destination.\nUse addProjectSlugs/removeProjectSlugs to connect/disconnect a project's issue stream. Other monitors in that project remain connected. Use addDetectorIds/removeDetectorIds for individual monitors. Unmentioned connections are preserved.\nMetric Monitor detection queries and thresholds are separate operations.\nAll-project connections require Sentry's all-project feature and an API token with org:write in addition to alerts:write.\nA project-constrained session can only edit alerts affecting that project exclusively.\nRequires alerts:write; reconnect OAuth if the existing token lacks it.\n\u003cexamples\u003e\nupdate_alert_rule(organizationSlug='my-org', ruleIdOrName='12345', status='disabled')\nupdate_alert_rule(organizationSlug='my-org', projectSlug='backend', ruleIdOrName='Notify backend team', frequencyMinutes=30)\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "actionFilters": {
            "description": "The complete list of action groups, conditions, and notification actions. Preserve their IDs and all unchanged groups and actions; omitted entries are removed. Slack and Microsoft Teams resolve config.targetDisplay as a channel name within integrationId. Other providers use their native config.targetIdentifier and data fields.",
            "items": {
              "properties": {
                "actions": {
                  "items": {
                    "properties": {
                      "config": {
                        "additionalProperties": {},
                        "propertyNames": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      "data": {
                        "additionalProperties": {},
                        "propertyNames": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      "id": {
                        "type": [
                          "string",
                          "number"
                        ]
                      },
                      "integrationId": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      },
                      "status": {
                        "type": "string"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "config"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "conditions": {
                  "items": {
                    "properties": {
                      "comparison": {},
                      "conditionResult": {},
                      "id": {
                        "type": [
                          "string",
                          "number"
                        ]
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "comparison",
                      "conditionResult"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "id": {
                  "type": [
                    "string",
                    "number"
                  ]
                },
                "logicType": {
                  "enum": [
                    "all",
                    "any",
                    "any-short",
                    "none"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "logicType",
                "conditions",
                "actions"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "addDetectorIds": {
            "description": "Existing detector IDs to connect, from get_alert_options(section='sources').",
            "items": {
              "pattern": "^\\d+$",
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          },
          "addProjectSlugs": {
            "description": "Projects whose existing issue streams should be connected.",
            "items": {
              "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          },
          "environment": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "frequencyMinutes": {
            "description": "Minimum interval between notifications, in minutes.",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "owner": {
            "anyOf": [
              {
                "pattern": "^(user|team):\\d+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Owner actor user:ID or team:ID. Pass null to clear."
          },
          "projectSlug": {
            "anyOf": [
              {
                "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "removeDetectorIds": {
            "description": "Detector IDs to disconnect. Other connections are retained.",
            "items": {
              "pattern": "^\\d+$",
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          },
          "removeProjectSlugs": {
            "description": "Projects whose issue streams should be disconnected; other monitor connections are retained.",
            "items": {
              "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          },
          "ruleIdOrName": {
            "description": "Workflow ID or exact alert name. Digit-only values are treated as IDs. Use IDs from get_alert_rule(kind='issue').",
            "minLength": 1,
            "type": "string"
          },
          "status": {
            "enum": [
              "active",
              "disabled"
            ],
            "type": "string"
          },
          "triggers": {
            "description": "The complete trigger group. Preserve existing condition IDs when editing; omitted conditions are removed. Use the configuration returned by get_alert_rule.",
            "properties": {
              "conditions": {
                "items": {
                  "properties": {
                    "comparison": {},
                    "conditionResult": {},
                    "id": {
                      "type": [
                        "string",
                        "number"
                      ]
                    },
                    "type": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "comparison",
                    "conditionResult"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "id": {
                "type": [
                  "string",
                  "number"
                ]
              },
              "logicType": {
                "enum": [
                  "all",
                  "any",
                  "any-short",
                  "none"
                ],
                "type": "string"
              }
            },
            "required": [
              "logicType",
              "conditions"
            ],
            "type": "object"
          }
        },
        "required": [
          "ruleIdOrName"
        ],
        "type": "object"
      },
      "name": "update_alert_rule",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "alertRule": {
            "additionalProperties": false,
            "properties": {
              "actionFilters": {
                "anyOf": [
                  {
                    "description": "The complete list of action groups, conditions, and notification actions. Preserve their IDs and all unchanged groups and actions; omitted entries are removed. Slack and Microsoft Teams resolve config.targetDisplay as a channel name within integrationId. Other providers use their native config.targetIdentifier and data fields.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "actions": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "config": {
                                "additionalProperties": {},
                                "propertyNames": {
                                  "type": "string"
                                },
                                "type": "object"
                              },
                              "data": {
                                "additionalProperties": {},
                                "propertyNames": {
                                  "type": "string"
                                },
                                "type": "object"
                              },
                              "id": {
                                "type": [
                                  "string",
                                  "number"
                                ]
                              },
                              "integrationId": {
                                "type": [
                                  "string",
                                  "number",
                                  "null"
                                ]
                              },
                              "status": {
                                "type": "string"
                              },
                              "type": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "data",
                              "config"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "conditions": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "comparison": {},
                              "conditionResult": {},
                              "id": {
                                "type": [
                                  "string",
                                  "number"
                                ]
                              },
                              "type": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "comparison",
                              "conditionResult"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "id": {
                          "type": [
                            "string",
                            "number"
                          ]
                        },
                        "logicType": {
                          "enum": [
                            "all",
                            "any",
                            "any-short",
                            "none"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "logicType",
                        "conditions",
                        "actions"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "config": {
                "additionalProperties": false,
                "properties": {
                  "frequency": {
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "detectorIds": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "enabled": {
                "type": "boolean"
              },
              "environment": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "owner": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "triggers": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "description": "The complete trigger group. Preserve existing condition IDs when editing; omitted conditions are removed. Use the configuration returned by get_alert_rule.",
                    "properties": {
                      "conditions": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "comparison": {},
                            "conditionResult": {},
                            "id": {
                              "type": [
                                "string",
                                "number"
                              ]
                            },
                            "type": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "comparison",
                            "conditionResult"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "id": {
                        "type": [
                          "string",
                          "number"
                        ]
                      },
                      "logicType": {
                        "enum": [
                          "all",
                          "any",
                          "any-short",
                          "none"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "logicType",
                      "conditions"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "webUrl": {
                "format": "uri",
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "detectorIds",
              "webUrl"
            ],
            "type": "object"
          }
        },
        "required": [
          "alertRule"
        ],
        "type": "object"
      },
      "title": "Update Alert Rule"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Update settings for an existing DSN (client key) in a project, such as name, active status, rate limit, and loader script options.\n\nUSE THIS TOOL WHEN:\n- Deactivating or activating a DSN/client key\n- Setting or removing DSN rate limits ('set rate limit of 1000 per hour on DSN X')\n- Renaming a DSN ('rename DSN X to Production')\n- Configuring Javascript SDK loader script options (session replay, performance, debug, feedback, etc.)\n\nBe careful when using this tool!\n\n\u003cexamples\u003e\n### Rename DSN and set rate limit\n```\nupdate_dsn(organizationSlug='my-organization', projectSlug='my-project', keyId='d20df0a1ab5031c7f3c7edca9c02814d', name='Production Key', rateLimitWindow=3600, rateLimitCount=500)\n```\n\n### Deactivate a DSN\n```\nupdate_dsn(organizationSlug='my-organization', projectSlug='my-project', keyId='d20df0a1ab5031c7f3c7edca9c02814d', isActive=false)\n```\n\n### Disable rate limit entirely\n```\nupdate_dsn(organizationSlug='my-organization', projectSlug='my-project', keyId='d20df0a1ab5031c7f3c7edca9c02814d', disableRateLimit=true)\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Use `find_dsns()` first to find the `keyId` for the DSN you want to update.\n- Both `rateLimitWindow` (seconds) and `rateLimitCount` (error cap) must be provided together to set a rate limit.\n- Returns the settings Sentry saved after the update. Compare them with what you requested and tell the user if any field didn't change.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "browserSdkVersion": {
            "description": "The Sentry Javascript SDK version to use (e.g. 'latest', '7.x').",
            "type": "string"
          },
          "disableRateLimit": {
            "description": "Set to true to disable the rate limit entirely (removes the cap).",
            "type": "boolean"
          },
          "isActive": {
            "description": "Activate or deactivate the DSN.",
            "type": "boolean"
          },
          "keyId": {
            "description": "The ID of the DSN (client key) to update. Use find_dsns() to retrieve this ID first.",
            "type": "string"
          },
          "loaderHasDebug": {
            "description": "Configure Debug Bundles \u0026 Logging for the Javascript Loader Script.",
            "type": "boolean"
          },
          "loaderHasFeedback": {
            "description": "Configure User Feedback for the Javascript Loader Script.",
            "type": "boolean"
          },
          "loaderHasLogsAndMetrics": {
            "description": "Configure Logs and Metrics for the Javascript Loader Script (requires SDK \u003e= 10.0.0).",
            "type": "boolean"
          },
          "loaderHasPerformance": {
            "description": "Configure Performance Monitoring for the Javascript Loader Script.",
            "type": "boolean"
          },
          "loaderHasReplay": {
            "description": "Configure Session Replay for the Javascript Loader Script.",
            "type": "boolean"
          },
          "name": {
            "description": "The new name for the DSN.",
            "maxLength": 64,
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "rateLimitCount": {
            "description": "The maximum number of errors allowed within the rate limit window.",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "rateLimitWindow": {
            "description": "The time window in seconds for the rate limit.",
            "maximum": 86400,
            "minimum": 0,
            "type": "integer"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "projectSlug",
          "keyId"
        ],
        "type": "object"
      },
      "name": "update_dsn",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "dsn": {
            "additionalProperties": false,
            "properties": {
              "browserSdkVersion": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dsn": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "isActive": {
                "type": "boolean"
              },
              "loaderOptions": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "hasDebug": {
                        "type": "boolean"
                      },
                      "hasFeedback": {
                        "type": "boolean"
                      },
                      "hasLogsAndMetrics": {
                        "type": "boolean"
                      },
                      "hasPerformance": {
                        "type": "boolean"
                      },
                      "hasReplay": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "hasReplay",
                      "hasPerformance",
                      "hasDebug"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "type": "string"
              },
              "rateLimit": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "count": {
                        "type": "number"
                      },
                      "windowSeconds": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "count",
                      "windowSeconds"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Null when rate limiting is disabled."
              }
            },
            "required": [
              "id",
              "name",
              "dsn",
              "isActive",
              "rateLimit",
              "browserSdkVersion",
              "loaderOptions"
            ],
            "type": "object"
          }
        },
        "required": [
          "dsn"
        ],
        "type": "object"
      },
      "title": "Update DSN"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Update a Sentry issue's status, assignment, or priority.\n\n\u003cexamples\u003e\n```\nupdate_issue(organizationSlug='my-org', issueId='PROJECT-123', status='resolved')\nupdate_issue(organizationSlug='my-org', issueId='PROJECT-123', assignedTo='user:123456')\nupdate_issue(organizationSlug='my-org', issueId='PROJECT-123', status='ignored', ignoreMode='forever')\n```\n\u003c/examples\u003e\n\n\u003chints\u003e\n- Provide `issueUrl` or `organizationSlug` + `issueId`.\n- At least one of `status`, `assignedTo`, or `priority` is required.\n- `status='ignored'` defaults to `ignoreMode='untilEscalating'`.\n- To switch an already ignored issue between `untilEscalating`, `forever`, and condition-based ignore modes, first set `status='unresolved'`, then ignore it again.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "assignedTo": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The assignee in format 'user:ID' or 'team:ID_OR_SLUG' where ID is numeric. Pass null to unassign the issue. Example: 'user:123456', 'team:789', or 'team:my-team-slug'. Use the `whoami` tool to find your user ID."
          },
          "ignoreCount": {
            "description": "How many times the issue must occur before it stops being ignored when ignoreMode is 'untilOccurrenceCount'.",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "type": "integer"
          },
          "ignoreDurationMinutes": {
            "description": "How many minutes to ignore the issue when ignoreMode is 'forDuration'.",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "type": "integer"
          },
          "ignoreMode": {
            "description": "How ignored issues should behave. Use 'untilEscalating' to match the Sentry UI default, 'forever' for a permanent ignore, 'forDuration' with ignoreDurationMinutes, 'untilOccurrenceCount' with ignoreCount and optional ignoreWindowMinutes, or 'untilUserCount' with ignoreUserCount and optional ignoreUserWindowMinutes.",
            "enum": [
              "untilEscalating",
              "forever",
              "forDuration",
              "untilOccurrenceCount",
              "untilUserCount"
            ],
            "type": "string"
          },
          "ignoreUserCount": {
            "description": "How many users must be affected before the issue stops being ignored when ignoreMode is 'untilUserCount'.",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "type": "integer"
          },
          "ignoreUserWindowMinutes": {
            "description": "Optional time window in minutes for ignoreUserCount. If omitted, Sentry counts all future affected users.",
            "exclusiveMinimum": 0,
            "maximum": 10080,
            "type": "integer"
          },
          "ignoreWindowMinutes": {
            "description": "Optional time window in minutes for ignoreCount. If omitted, Sentry counts all future occurrences.",
            "exclusiveMinimum": 0,
            "maximum": 10080,
            "type": "integer"
          },
          "inCommit": {
            "description": "SHA of the commit that fixes the issue. Requires status='resolved' and inCommitRepository. The commit must already be known to Sentry.",
            "minLength": 1,
            "type": "string"
          },
          "inCommitRepository": {
            "description": "Name of the repository that contains inCommit, as it appears in Sentry (for example 'getsentry/sentry').",
            "minLength": 1,
            "type": "string"
          },
          "inRelease": {
            "description": "Release version to resolve the issue in, such as a version returned by find_releases. Requires status='resolved'. Events from newer releases reopen the issue as a regression; events from older releases do not.",
            "minLength": 1,
            "type": "string"
          },
          "issueId": {
            "description": "The Issue ID. e.g. `PROJECT-1Z43`",
            "type": "string"
          },
          "issueUrl": {
            "description": "The URL of the issue. e.g. https://my-organization.sentry.io/issues/PROJECT-1Z43",
            "format": "uri",
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "priority": {
            "description": "The new priority for the issue. Setting it manually stops Sentry from changing it automatically.",
            "enum": [
              "low",
              "medium",
              "high"
            ],
            "type": "string"
          },
          "reason": {
            "description": "Optional reason for taking this action. When provided, it will be posted as a comment on the issue's activity feed.",
            "minLength": 1,
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "status": {
            "description": "The new status for the issue. Valid values are 'resolved', 'resolvedInNextRelease', 'unresolved', and 'ignored'.",
            "enum": [
              "resolved",
              "resolvedInNextRelease",
              "unresolved",
              "ignored"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "update_issue",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "changes": {
            "additionalProperties": false,
            "properties": {
              "assignedTo": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "from": {
                        "type": "string"
                      },
                      "to": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "from",
                      "to"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "ignoreBehavior": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "from": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "to": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "from",
                      "to"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "priority": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "from": {
                        "type": "string"
                      },
                      "to": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "from",
                      "to"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "from": {
                        "type": "string"
                      },
                      "to": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "from",
                      "to"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "status",
              "ignoreBehavior",
              "assignedTo",
              "priority"
            ],
            "type": "object"
          },
          "current": {
            "additionalProperties": false,
            "properties": {
              "assignedTo": {
                "type": "string"
              },
              "ignoreBehavior": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "priority": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": "string"
              }
            },
            "required": [
              "status",
              "ignoreBehavior",
              "assignedTo",
              "priority"
            ],
            "type": "object"
          },
          "effect": {
            "description": "What the new status means for the issue, when it changed.",
            "type": [
              "string",
              "null"
            ]
          },
          "issueId": {
            "type": "string"
          },
          "issueUrl": {
            "type": "string"
          },
          "organizationSlug": {
            "type": "string"
          },
          "reasonComment": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "error": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "posted",
                      "already_present",
                      "not_posted"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "required": [
                  "status",
                  "text",
                  "error"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "Null when no reason was given."
          },
          "title": {
            "type": "string"
          },
          "updated": {
            "description": "Whether issue state changed. A posted reason comment is reported in reasonComment, not here.",
            "type": "boolean"
          }
        },
        "required": [
          "organizationSlug",
          "issueId",
          "title",
          "issueUrl",
          "updated",
          "changes",
          "current",
          "effect",
          "reasonComment"
        ],
        "type": "object"
      },
      "title": "Update Issue"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Update a Sentry Metric Monitor's query, detection conditions, metadata, status or connected Alerts.\nUse get_metric_monitor_details first and its native monitorId, not a legacy metric alert ID. projectSlug identifies scope; it does not move the monitor.\nOmit fields to preserve them. query and config accept partial changes. conditionGroup and workflowIds replace their complete configuration; preserve IDs and entries you want to retain.\nStatic, Percent and Dynamic detection are supported. Windows and comparison deltas are in seconds. Percent thresholds are absolute (110 means 10% higher), not percentage changes.\nDynamic changes may require sufficient historical data. Dataset access, query and window constraints are enforced by Sentry.\nworkflowIds connect existing Alerts, including shared Alerts, without editing their actions or other monitors. Use update_alert_rule for notification configuration.\nRequires alerts:write; reconnect OAuth if the existing token lacks it.\nupdate_metric_monitor(organizationSlug='my-org', monitorId='12345', status='disabled')\nupdate_metric_monitor(organizationSlug='my-org', monitorId='12345', query={query:'level:error', timeWindowSeconds:300})",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "conditionGroup": {
            "description": "Replaces ALL detection conditions; preserve existing IDs. Static/Percent use numeric comparisons, results 75 critical, 50 warning, 0 resolved, including a resolution condition. Percent 110 means 10% higher. Dynamic uses anomaly_detection with sensitivity, seasonality:auto and thresholdType 0 above, 1 below, 2 both.",
            "properties": {
              "conditions": {
                "items": {
                  "oneOf": [
                    {
                      "properties": {
                        "comparison": {
                          "type": "number"
                        },
                        "conditionResult": {
                          "enum": [
                            75,
                            50,
                            0
                          ],
                          "type": "number"
                        },
                        "id": {
                          "type": [
                            "string",
                            "number"
                          ]
                        },
                        "type": {
                          "enum": [
                            "gt",
                            "lt",
                            "gte",
                            "lte"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "comparison",
                        "conditionResult"
                      ],
                      "type": "object"
                    },
                    {
                      "properties": {
                        "comparison": {
                          "properties": {
                            "seasonality": {
                              "const": "auto",
                              "type": "string"
                            },
                            "sensitivity": {
                              "enum": [
                                "low",
                                "medium",
                                "high"
                              ],
                              "type": "string"
                            },
                            "thresholdType": {
                              "enum": [
                                0,
                                1,
                                2
                              ],
                              "type": "number"
                            }
                          },
                          "required": [
                            "sensitivity",
                            "seasonality",
                            "thresholdType"
                          ],
                          "type": "object"
                        },
                        "conditionResult": {
                          "enum": [
                            75,
                            50
                          ],
                          "type": "number"
                        },
                        "id": {
                          "type": [
                            "string",
                            "number"
                          ]
                        },
                        "type": {
                          "const": "anomaly_detection",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "comparison",
                        "conditionResult"
                      ],
                      "type": "object"
                    }
                  ]
                },
                "maxItems": 3,
                "minItems": 1,
                "type": "array"
              },
              "id": {
                "type": [
                  "string",
                  "number"
                ]
              },
              "logicType": {
                "type": "string"
              }
            },
            "required": [
              "logicType",
              "conditions"
            ],
            "type": "object"
          },
          "config": {
            "description": "Partial detection config. Percent mode requires comparisonDeltaSeconds. Selecting Static or Dynamic clears the comparison delta. Changing detectionType also requires compatible conditionGroup.",
            "properties": {
              "comparisonDeltaSeconds": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "detectionType": {
                "enum": [
                  "static",
                  "percent",
                  "dynamic"
                ],
                "type": "string"
              }
            },
            "type": "object"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "monitorId": {
            "description": "Native Metric Monitor ID from find_metric_monitors.",
            "pattern": "^\\d+$",
            "type": "string"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "owner": {
            "anyOf": [
              {
                "pattern": "^(user|team):\\d+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Owner actor, e.g. team:123 or user:123. Pass null to clear."
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "query": {
            "description": "Partial query changes. Omitted fields are preserved; environment:null clears its filter. metrics is crash-free Releases; events_analytics_platform supports spans, logs and application metrics via eventTypes. Dataset changes must include compatible aggregate and eventTypes.",
            "properties": {
              "aggregate": {
                "minLength": 1,
                "type": "string"
              },
              "dataset": {
                "enum": [
                  "events",
                  "transactions",
                  "generic_metrics",
                  "metrics",
                  "events_analytics_platform"
                ],
                "type": "string"
              },
              "environment": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "eventTypes": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "extrapolationMode": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "query": {
                "type": "string"
              },
              "timeWindowSeconds": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "type": "integer"
              }
            },
            "type": "object"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "status": {
            "enum": [
              "active",
              "disabled"
            ],
            "type": "string"
          },
          "workflowIds": {
            "description": "Replaces this monitor's Alert connections. Copy all IDs to retain from get_metric_monitor_details; [] disconnects all. Does not edit the Alerts themselves.",
            "items": {
              "pattern": "^\\d+$",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "monitorId"
        ],
        "type": "object"
      },
      "name": "update_metric_monitor",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "monitor": {
            "additionalProperties": false,
            "properties": {
              "conditionGroup": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "conditions": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "comparison": {},
                            "conditionResult": {},
                            "id": {
                              "type": [
                                "string",
                                "number"
                              ]
                            },
                            "type": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "comparison",
                            "conditionResult"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "id": {
                        "type": [
                          "string",
                          "number"
                        ]
                      },
                      "logicType": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "logicType",
                      "conditions"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Native detection conditions, including resolution. Results: 75 critical, 50 warning, 0 resolved. Percent comparisons are absolute percentages (110 means 10% higher). Dynamic comparisons contain sensitivity, seasonality and thresholdType."
              },
              "config": {
                "additionalProperties": false,
                "properties": {
                  "comparisonDeltaSeconds": {
                    "type": "number"
                  },
                  "detectionType": {
                    "type": "string"
                  }
                },
                "required": [
                  "detectionType"
                ],
                "type": "object"
              },
              "dataSources": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "query": {
                      "additionalProperties": false,
                      "properties": {
                        "aggregate": {
                          "type": "string"
                        },
                        "dataset": {
                          "type": "string"
                        },
                        "environment": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventTypes": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "extrapolationMode": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "query": {
                          "type": "string"
                        },
                        "timeWindowSeconds": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "dataset",
                        "query",
                        "aggregate",
                        "environment",
                        "eventTypes",
                        "timeWindowSeconds"
                      ],
                      "type": "object"
                    },
                    "type": {
                      "type": "string"
                    },
                    "unavailableReason": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "dateCreated": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dateUpdated": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "enabled": {
                "type": "boolean"
              },
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "owner": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "projectId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "webUrl": {
                "type": "string"
              },
              "workflowIds": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "id",
              "name",
              "projectId",
              "enabled",
              "owner",
              "workflowIds",
              "webUrl",
              "description",
              "config",
              "conditionGroup",
              "dataSources",
              "dateCreated",
              "dateUpdated"
            ],
            "type": "object"
          }
        },
        "required": [
          "monitor"
        ],
        "type": "object"
      },
      "title": "Update Metric Monitor"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Update project metadata in Sentry, such as name, slug, and platform.\n\nBe careful when using this tool!\n\nUse this tool when you need to:\n- Update a project's name or slug to fix onboarding mistakes\n- Change the platform assigned to a project\n\n\u003cexamples\u003e\n### Update a project's name and slug\n\n```\nupdate_project(organizationSlug='my-organization', projectSlug='old-project', name='New Project Name', slug='new-project-slug')\n```\n\n### Update platform\n\n```\nupdate_project(organizationSlug='my-organization', projectSlug='my-project', platform='python')\n```\n\n\u003c/examples\u003e\n\n\u003chints\u003e\n- If the user passes a parameter in the form of name/otherName, it's likely in the format of \u003corganizationSlug\u003e/\u003cprojectSlug\u003e.\n- Team access changes are handled by separate project-management tools.\n- If any parameter is ambiguous, you should clarify with the user what they meant.\n- When updating the slug, the project will be accessible at the new slug after the update\n- Do not update the slug from a project-scoped session; reconnect with an organization-scoped or unconstrained session first.\n\u003c/hints\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "name": {
            "anyOf": [
              {
                "description": "The new name for the project",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "platform": {
            "anyOf": [
              {
                "description": "The Sentry platform ID for the project, e.g. javascript-react, javascript-nextjs, node, python-django, apple-ios, android, dotnet. Omit if unsure.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "slug": {
            "anyOf": [
              {
                "description": "The new slug for the project (must be unique)",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "projectSlug"
        ],
        "type": "object"
      },
      "name": "update_project",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "project": {
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "platform": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "slug": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "slug",
              "name",
              "platform"
            ],
            "type": "object"
          }
        },
        "required": [
          "project"
        ],
        "type": "object"
      },
      "title": "Update Project"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Update a Sentry HTTP uptime monitor.\n\nUse this tool when you need to:\n- Change URL, interval, timeout, method, headers, or body\n- Enable or disable a monitor (`status`)\n- Update owner, environment, or failure thresholds\n\nBe careful when using this tool!\n\nOmit a field to leave it unchanged. Pass explicit `null` to clear `owner`, `environment`, or `body`.\n\n\u003cexamples\u003e\nupdate_uptime_monitor(organizationSlug='my-organization', projectSlug='backend', uptimeMonitorId='12345', status='disabled')\nupdate_uptime_monitor(organizationSlug='my-organization', projectSlug='backend', uptimeMonitorId='12345', intervalSeconds=300, timeoutMs=8000)\nupdate_uptime_monitor(organizationSlug='my-organization', projectSlug='backend', uptimeMonitorId='12345', owner=null)\n\u003c/examples\u003e",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "body": {
            "description": "Request body. Pass `null` to clear the body.",
            "type": [
              "string",
              "null"
            ]
          },
          "downtimeThreshold": {
            "maximum": 9007199254740991,
            "minimum": 1,
            "type": "integer"
          },
          "environment": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Environment name. Pass `null` to clear the environment."
          },
          "headers": {
            "description": "Optional HTTP headers as an array of [name, value] pairs, e.g. [[\"Accept\",\"application/json\"]].",
            "items": {
              "items": {
                "type": "string"
              },
              "maxItems": 2,
              "minItems": 2,
              "type": "array"
            },
            "type": "array"
          },
          "intervalSeconds": {
            "description": "Seconds between checks. Allowed values: 60, 300, 600, 1200, 1800, 3600.",
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "method": {
            "description": "HTTP method used for the uptime check request.",
            "enum": [
              "GET",
              "POST",
              "HEAD",
              "PUT",
              "DELETE",
              "PATCH",
              "OPTIONS"
            ],
            "type": "string"
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "organizationSlug": {
            "description": "The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.",
            "type": "string"
          },
          "owner": {
            "anyOf": [
              {
                "description": "Owner actor in `user:ID` or `team:ID` format.",
                "minLength": 1,
                "pattern": "^(user|team):.+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Owner actor in `user:ID` or `team:ID` format. Pass `null` to clear the owner."
          },
          "projectSlug": {
            "description": "The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.",
            "type": "string"
          },
          "recoveryThreshold": {
            "maximum": 9007199254740991,
            "minimum": 1,
            "type": "integer"
          },
          "regionUrl": {
            "anyOf": [
              {
                "description": "The region URL for the organization you're querying, if known. For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. You can find the correct regionUrl from the organization details using the `find_organizations()` tool.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "responseCaptureEnabled": {
            "type": "boolean"
          },
          "status": {
            "description": "Monitor status. `disabled` stops checks and does not count against quota.",
            "enum": [
              "active",
              "disabled"
            ],
            "type": "string"
          },
          "timeoutMs": {
            "description": "Request timeout in milliseconds (1000-60000).",
            "maximum": 60000,
            "minimum": 1000,
            "type": "integer"
          },
          "traceSampling": {
            "type": "boolean"
          },
          "uptimeMonitorId": {
            "description": "Uptime monitor ID (detector id).",
            "minLength": 1,
            "type": "string"
          },
          "url": {
            "format": "uri",
            "maxLength": 255,
            "type": "string"
          }
        },
        "required": [
          "projectSlug",
          "uptimeMonitorId"
        ],
        "type": "object"
      },
      "name": "update_uptime_monitor",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "monitor": {
            "additionalProperties": false,
            "properties": {
              "downtimeThreshold": {
                "type": "number"
              },
              "environment": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "intervalSeconds": {
                "type": "number"
              },
              "method": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              },
              "projectSlug": {
                "type": "string"
              },
              "recoveryThreshold": {
                "type": "number"
              },
              "responseCaptureEnabled": {
                "type": "boolean"
              },
              "status": {
                "type": "string"
              },
              "timeoutMs": {
                "type": "number"
              },
              "traceSampling": {
                "type": "boolean"
              },
              "uptimeStatus": {
                "enum": [
                  "ok",
                  "failed",
                  "unknown"
                ],
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "webUrl": {
                "format": "uri",
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "projectSlug",
              "status",
              "uptimeStatus",
              "url",
              "intervalSeconds",
              "webUrl",
              "timeoutMs"
            ],
            "type": "object"
          }
        },
        "required": [
          "monitor"
        ],
        "type": "object"
      },
      "title": "Update Uptime Monitor"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": true
      },
      "description": "Identify the authenticated user in Sentry.\n\nUse this tool when you need to:\n- Get the user's name and email address.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "fresh": {
            "description": "Bypass cached reads.",
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "name": "whoami",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "email": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "id",
                "name",
                "email"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "sessionConstraints": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "organizationSlug": {
                    "type": "string"
                  },
                  "projectSlug": {
                    "type": "string"
                  },
                  "regionUrl": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "user": {
            "additionalProperties": false,
            "properties": {
              "email": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "email"
            ],
            "type": "object"
          }
        },
        "required": [
          "user",
          "sessionConstraints"
        ],
        "type": "object"
      },
      "title": "Who Am I"
    }
  ],
  "expanded": {
    "strategy": "none",
    "completeness": "none",
    "reason": "credentialed: the watch expands only public, unauthenticated servers (Idan, 2026-09-17)",
    "meta_tools": [
      "search_sentry_tools",
      "execute_sentry_tool"
    ],
    "tools": [],
    "via": {}
  }
}
