Skip to content

get_alerter

Inspect one saved Alerter: enabled, endpoint variant, type/resource filters and bounded maintenance metadata. Empty inclusions are unrestricted. Endpoint URLs, credentials, references and literal email are omitted. Core Read; no sends or writes.

Availability

Available under the default capability policy

The instance’s tool selection and upstream Core permissions also apply. Some inputs require additional grants.

Effect annotations

  • readOnlyHint — true
  • destructiveHint — false
  • idempotentHint — true

Inputs

The registered schema gives field types, alternatives and declared bounds. The description and operator guides also cover checks applied at runtime.

id
Exact stable resource ID returned by a list tool. type "string" · pattern "^[0-9a-fA-F]{24}$"
name
Exact, case-sensitive name within this family; never interpreted as an ID. type "string" · minLength 1 · pattern "\\S"
Show input JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "required": [
        "id"
      ]
    },
    {
      "required": [
        "name"
      ]
    }
  ],
  "properties": {
    "id": {
      "description": "Exact stable resource ID returned by a list tool.",
      "pattern": "^[0-9a-fA-F]{24}$",
      "type": "string"
    },
    "name": {
      "description": "Exact, case-sensitive name within this family; never interpreted as an ID.",
      "minLength": 1,
      "pattern": "\\S",
      "type": "string"
    }
  },
  "type": "object"
}

Output

The registered output schema covers structured results and tool errors.

Detail
definition, summary
AppError
candidates, correction, field, kind, message, operation, status
Show output JSON Schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "anyOf": [
    {
      "$ref": "#/$defs/Detail"
    },
    {
      "$ref": "#/$defs/AppError"
    }
  ],
  "$defs": {
    "AppError": {
      "additionalProperties": false,
      "description": "Only application-owned messages and selected, nonsensitive metadata survive.",
      "properties": {
        "candidates": {
          "items": {
            "$ref": "#/$defs/Candidate"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "correction": {
          "type": [
            "string",
            "null"
          ]
        },
        "field": {
          "type": [
            "string",
            "null"
          ]
        },
        "kind": {
          "$ref": "#/$defs/ErrorKind"
        },
        "message": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "status": {
          "format": "uint16",
          "maximum": 65535,
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "kind",
        "message",
        "operation"
      ],
      "type": "object"
    },
    "Candidate": {
      "additionalProperties": false,
      "description": "A bounded ambiguity hint, never a raw upstream resource.",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object"
    },
    "DefinitionSummary": {
      "properties": {
        "alert_types": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "all_alert_types": {
          "type": "boolean"
        },
        "all_resources": {
          "type": "boolean"
        },
        "enabled": {
          "type": "boolean"
        },
        "endpoint_details": {
          "type": "string"
        },
        "endpoint_type": {
          "type": "string"
        },
        "except_resources": {
          "items": {
            "$ref": "#/$defs/HistoryTarget"
          },
          "type": "array"
        },
        "maintenance_evaluation": {
          "type": "string"
        },
        "maintenance_windows": {
          "description": "Names/descriptions are omitted; clock fields are allowlisted metadata only.",
          "items": true,
          "type": "array"
        },
        "ntfy_email_configured": {
          "type": "boolean"
        },
        "projection_complete": {
          "type": "boolean"
        },
        "resources": {
          "items": {
            "$ref": "#/$defs/HistoryTarget"
          },
          "type": "array"
        }
      },
      "required": [
        "enabled",
        "endpoint_type",
        "endpoint_details",
        "ntfy_email_configured",
        "alert_types",
        "all_alert_types",
        "resources",
        "all_resources",
        "except_resources",
        "maintenance_windows",
        "projection_complete",
        "maintenance_evaluation"
      ],
      "type": "object"
    },
    "Detail": {
      "properties": {
        "definition": {
          "$ref": "#/$defs/DefinitionSummary"
        },
        "summary": {
          "$ref": "#/$defs/Summary"
        }
      },
      "required": [
        "summary",
        "definition"
      ],
      "type": "object"
    },
    "ErrorKind": {
      "description": "Stable public categories. No variant contains a raw upstream error.",
      "enum": [
        "invalid_arguments",
        "not_found",
        "ambiguous_target",
        "incomplete_resolution",
        "configuration",
        "authentication",
        "permission_denied",
        "timeout",
        "unreachable",
        "upstream",
        "invalid_response",
        "response_too_large",
        "capability_disabled",
        "unsupported_target",
        "stale_preview",
        "invalid_preview"
      ],
      "type": "string"
    },
    "HistoryTarget": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "Stable resource ID; System uses its literal system identifier.",
          "type": "string"
        },
        "kind": {
          "$ref": "#/$defs/ResourceKind"
        }
      },
      "required": [
        "kind",
        "id"
      ],
      "type": "object"
    },
    "ResourceKind": {
      "enum": [
        "system",
        "swarm",
        "server",
        "stack",
        "deployment",
        "build",
        "repo",
        "procedure",
        "action",
        "builder",
        "alerter",
        "resource_sync"
      ],
      "type": "string"
    },
    "Summary": {
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "endpoint_type": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "template": {
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "name",
        "template",
        "enabled",
        "endpoint_type"
      ],
      "type": "object"
    }
  }
}

Operator guides

All built-in tools