PreSkillShellCommandHookInput
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| dict builtins dict() -> new empty dictionary |
|
⋔ Inheritance diagram¶
graph TD
527024610["hooks.PreSkillShellCommandHookInput"]
2645524081["builtins.dict"]
2751680898["builtins.object"]
2645524081 --> 527024610
2751680898 --> 2645524081
🛈 DocStrings¶
Bases: BaseHookInput
Input data for PreSkillShellCommand hook events.
Fires for each inline shell command of a skill or slash command as it loads.
Source code in src/clawd_code_sdk/models/hooks.py
command_name
instance-attribute
¶
The skill or command whose text holds the shell command.
invoked_by
instance-attribute
¶
Who started the load (user: typed or sent by an SDK host, claude: the Skill tool).
tool_name
instance-attribute
¶
The shell tool that runs the command: Bash or PowerShell.
tool_use_id
instance-attribute
¶
Identifies this command. It names no tool call in the transcript.