Voice
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| ClaudeCodeBaseModel clawd_code_sdk.models.base Base model for all Claude Code Pydantic models. |
⋔ Inheritance diagram¶
graph TD
1815362896["settings.Voice"]
2604142835["base.ClaudeCodeBaseModel"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
2604142835 --> 1815362896
3879467795 --> 2604142835
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: ClaudeCodeBaseModel
Voice dictation settings: enabled turns dictation on, mode selects "hold" or "tap", and autoSubmit sends the prompt on key release in hold mode. Written automatically when you run /voice. Requires a Claude.ai account. See https://code.claude.com/docs/en/voice-dictation.
Source code in src/clawd_code_sdk/models/settings.py
auto_submit
class-attribute
instance-attribute
¶
In hold mode, auto-submit the prompt on key release when the transcript is at least three words long
enabled
class-attribute
instance-attribute
¶
Enable push-to-talk voice dictation input
mode
class-attribute
instance-attribute
¶
Recording mode: "hold" (default) is push-to-talk; "tap" taps once to start and again to stop and submit