Skip to content

FileWriteInput

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  2849167981["input_types.FileWriteInput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 2849167981
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Input for the Write tool. Writes a file to the local filesystem.

Source code in src/clawd_code_sdk/models/input_types.py
@_extra_allow
class FileWriteInput(TypedDict):
    """Input for the Write tool. Writes a file to the local filesystem."""

    file_path: str
    """The absolute path to the file to write."""
    content: str
    """The content to write to the file."""

content instance-attribute

content: str

The content to write to the file.

file_path instance-attribute

file_path: str

The absolute path to the file to write.

:fa-brands-github: Show source on GitHub