new_file
Create and prepare a new file for editing by specifying the filepath. Automatically generates parent directories if missing and selects the first line for immediate editing.
Instructions
Creates a new file.
After creating new file, the first line is automatically selected for editing. Automatically creates parent directories if they don't exist.
Args: filepath (str): Path of the new file Returns: dict: Status message with selection info
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filepath | Yes |