Skip to content

SDKControlBackgroundTasksRequest

Base classes

Name Children Inherits
_ControlBase
clawd_code_sdk.models.control
Frozen base for all SDK control request models.

⋔ Inheritance diagram

graph TD
  3353440143["control.SDKControlBackgroundTasksRequest"]
  1268774935["control._ControlBase"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  1268774935 --> 3353440143
  3879467795 --> 1268774935
  2751680898 --> 3879467795

🛈 DocStrings

Bases: _ControlBase

Moves running foreground tasks (or one tool use) to the background.

Source code in src/clawd_code_sdk/models/control.py
class SDKControlBackgroundTasksRequest(_ControlBase):
    """Moves running foreground tasks (or one tool use) to the background."""

    subtype: Literal["background_tasks"] = "background_tasks"
    tool_use_id: str | None = None

:fa-brands-github: Show source on GitHub