Skip to content

list_schedules

List Core Action/Procedure schedule owners in bounded positive pages. Core includes nonempty expressions even when disabled, and includes templates. Return configured expression/format/timezone/enabled and Core-reported cached next-run/error plus latest completed run start time (success or failure, manual or scheduled). A disabled/empty expression is not parsed; missing or cached values provide no validity/execution/health guarantee. Core internally collects/sorts owners before pagination.

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.

page
Zero-based inventory page. Keep page_size unchanged when continuing. type "integer" · minimum 0 · default 0
page_size
Maximum items per page, from 1 through 100. Defaults to 30. type "integer" · minimum 1 · maximum 100 · default 30
Show input JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "page": {
      "default": 0,
      "description": "Zero-based inventory page. Keep page_size unchanged when continuing.",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "page_size": {
      "default": 30,
      "description": "Maximum items per page, from 1 through 100. Defaults to 30.",
      "format": "uint64",
      "maximum": 100,
      "minimum": 1,
      "type": "integer"
    }
  },
  "type": "object"
}

Output

The registered output schema covers structured results and tool errors.

SchedulePage
evidence_limit, has_more, items, next_page, page, page_size
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/SchedulePage"
    },
    {
      "$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"
    },
    "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"
    },
    "Fields": {
      "properties": {
        "alert": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "enabled": {
          "type": "boolean"
        },
        "expression": {
          "type": "string"
        },
        "expression_truncated": {
          "type": "boolean"
        },
        "format": {
          "$ref": "#/$defs/Format"
        },
        "timezone": {
          "type": "string"
        },
        "timezone_source": {
          "type": "string"
        },
        "timezone_truncated": {
          "type": "boolean"
        }
      },
      "required": [
        "expression",
        "expression_truncated",
        "format",
        "timezone",
        "timezone_truncated",
        "timezone_source",
        "enabled",
        "alert"
      ],
      "type": "object"
    },
    "Format": {
      "enum": [
        "cron",
        "english"
      ],
      "type": "string"
    },
    "Owner": {
      "properties": {
        "id": {
          "type": "string"
        },
        "kind": {
          "$ref": "#/$defs/OwnerKind"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "kind",
        "id",
        "name"
      ],
      "type": "object"
    },
    "OwnerKind": {
      "enum": [
        "action",
        "procedure"
      ],
      "type": "string"
    },
    "SchedulePage": {
      "properties": {
        "evidence_limit": {
          "type": "string"
        },
        "has_more": {
          "type": "boolean"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/ScheduleSummary"
          },
          "type": "array"
        },
        "next_page": {
          "description": "Null if the lookahead observed exhaustion; this is not a snapshot token.",
          "format": "uint64",
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        },
        "page": {
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        },
        "page_size": {
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "items",
        "page",
        "page_size",
        "has_more",
        "next_page",
        "evidence_limit"
      ],
      "type": "object"
    },
    "ScheduleSummary": {
      "properties": {
        "fields": {
          "$ref": "#/$defs/Fields"
        },
        "last_run_at": {
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "next_scheduled_run": {
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "owner": {
          "$ref": "#/$defs/Owner"
        },
        "schedule_error": {
          "type": [
            "string",
            "null"
          ]
        },
        "schedule_error_truncated": {
          "type": "boolean"
        }
      },
      "required": [
        "owner",
        "fields",
        "next_scheduled_run",
        "last_run_at",
        "schedule_error",
        "schedule_error_truncated"
      ],
      "type": "object"
    }
  }
}

Operator guides

All built-in tools