class EditFileToolSchema(ToolSchema, name="edit_file"):
path: Path = Field(
...,
description="The target file to modify. Use an absolute path.",
)
content: str = Field(
...,
description="The new content for the file.",
)
instruction: str = Field(
...,
description="Brief description of the edit being made.",
)
class DeleteFileToolSchema(ToolSchema, name="delete_file"):
path: Path = Field(
...,
description="The file to delete. Use an absolute path.",
)
class RenameFileToolSchema(ToolSchema, name="rename_file"):
old_path: Path = Field(
...,
description="Current file path. Use an absolute path.",
)
new_path: Path = Field(
...,
description="New file path. Use an absolute path.",
)