Skip to content

RemoteTriggerInput

Base classes

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

⋔ Inheritance diagram

graph TD
  2736684689["input_types.RemoteTriggerInput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 2736684689
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Input for the RemoteTrigger tool.

Source code in src/clawd_code_sdk/models/input_types.py
@_extra_allow
class RemoteTriggerInput(TypedDict):
    """Input for the RemoteTrigger tool."""

    action: Literal[
        "list",
        "get",
        "create",
        "update",
        "run",
        "create_webhook_trigger",
        "list_runs",
        "get_run_log",
    ]
    trigger_id: NotRequired[str]
    """Required for get, update, run, and list_runs"""
    session_id: NotRequired[str]
    """Required for get_run_log: a run session id (cse_… or session_…, from list_runs)"""
    cursor: NotRequired[str]
    """The next_cursor from the previous page of the same listing (list_runs with the same
    trigger_id, or get_run_log with the same session_id), passed back unchanged.

    Not an offset, a count or an event number.
    """
    body: NotRequired[dict[str, Any]]
    """Required for create and update; optional for run"""

body instance-attribute

body: NotRequired[dict[str, Any]]

Required for create and update; optional for run

cursor instance-attribute

cursor: NotRequired[str]

The next_cursor from the previous page of the same listing (list_runs with the same trigger_id, or get_run_log with the same session_id), passed back unchanged.

Not an offset, a count or an event number.

session_id instance-attribute

session_id: NotRequired[str]

Required for get_run_log: a run session id (cse_… or session_…, from list_runs)

trigger_id instance-attribute

trigger_id: NotRequired[str]

Required for get, update, run, and list_runs

:fa-brands-github: Show source on GitHub