langchain.tools.file_management.copy.FileCopyInput¶
- class langchain.tools.file_management.copy.FileCopyInput(*, source_path: str, destination_path: str)[source]¶
Bases:
BaseModelInput for CopyFileTool.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- param destination_path: str [Required]¶
Path to save the copied file
- param source_path: str [Required]¶
Path of the file to copy