Skip to content

ReadNotificationsOutput

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  1028226809["output_types.ReadNotificationsOutput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 1028226809
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Output of the ReadNotifications tool.

Source code in src/clawd_code_sdk/models/output_types.py
class ReadNotificationsOutput(TypedDict):
    """Output of the ReadNotifications tool."""

    notifications: list[ReadNotificationsNotification]
    remaining: float
    """Notifications still queued after this drain (drains are size-budgeted); call the tool again
    to read them.
    """
    read_at: NotRequired[str]
    """RFC3339 timestamp, by this machine's clock, of when this call read the queue.

    Missing from results saved before this field existed.
    """

read_at instance-attribute

read_at: NotRequired[str]

RFC3339 timestamp, by this machine's clock, of when this call read the queue.

Missing from results saved before this field existed.

remaining instance-attribute

remaining: float

Notifications still queued after this drain (drains are size-budgeted); call the tool again to read them.

:fa-brands-github: Show source on GitHub