Skip to main content

run_rename_file

Function run_rename_file 

Source
async fn run_rename_file(
    arguments: &Value,
    name: &str,
    cx: &ToolCtx<'_>,
) -> Result<String>
Expand description

rename with target file: srv renames the file or folder in its folder, as the Files pane and an Editor tab do, so every Editor tab open on it follows (a rename in the agent’s own shell leaves them on the old path). A refusal is srv’s own sentence.