Job Completed Input • AI Agent SDK
JobCompletedInput: Input for JOB_COMPLETED hooks (a background job finished).
JobCompletedInput
Defined in the events module.
AI Agent
Input for JOB_COMPLETED hooks (a background job finished).
Emitted when a background subagent/job launched via `spawn_subagent(background=True)` reaches a terminal state (completed or failed). Carries the optional origin/delivery context captured at spawn time so a gateway can route the result back to the originating conversation without an active turn.
Properties
ResponseField
strNo description available.
ResponseField
strNo description available.
ResponseField
AnyNo description available.
ResponseField
Optional[str]No description available.
ResponseField
strNo description available.
ResponseField
strNo description available.
ResponseField
strNo description available.
ResponseField
strNo description available.
Internal & Generic Methods
- to_dict: Generic utility method.
Source
View on GitHubpraisonaiagents/hooks/events.py at line 556