Skip to content

FileSuggestion

Base classes

Name Children Inherits
ClaudeCodeBaseModel
clawd_code_sdk.models.base
Base model for all Claude Code Pydantic models.

⋔ Inheritance diagram

graph TD
  1498502271["settings.FileSuggestion"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  2604142835 --> 1498502271
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeCodeBaseModel

Configure a custom script for @ file autocomplete. See https://code.claude.com/docs/en/settings#file-suggestion-settings.

Source code in src/clawd_code_sdk/models/settings.py
class FileSuggestion(ClaudeCodeBaseModel):
    """Configure a custom script for @ file autocomplete. See https://code.claude.com/docs/en/settings#file-suggestion-settings."""

    model_config = ConfigDict(
        extra="forbid",
    )
    type: Literal["command"] = "command"
    """
    The type of file suggestion handler; must be set to "command" to execute a custom shell script that generates file suggestions for the @ file picker.
    """
    command: str
    """
    Shell command to execute for file suggestions
    """

command instance-attribute

command: str

Shell command to execute for file suggestions

type class-attribute instance-attribute

type: Literal['command'] = 'command'

The type of file suggestion handler; must be set to "command" to execute a custom shell script that generates file suggestions for the @ file picker.

:fa-brands-github: Show source on GitHub