Inconsistent Path Format Requirements Across Tools
Before submitting your bug report
- [x] I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- [x] I'm not able to find a related conversation on GitHub discussions that reports the same bug
- [x] I'm not able to find an open issue that reports the same bug
- [x] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: any
- Continue version: 1.3.28 (verified against main branch)
- IDE version: any
- Model: any (all models receive conflicting instructions)
- config: any
Description
Inconsistent Path Format Requirements Across Tools
Summary
Different tools specify contradictory path format requirements. A model that successfully reads a file may fail to edit it using the same path format.
The Conflict
| Tool | Path Instruction |
|---|---|
read_file |
"Can be relative, absolute, tilde, or file:// URI" |
read_file_range |
"relative to workspace root (NOT uri or absolute path)" |
multi_edit |
"RELATIVE to the project/workspace root" |
edit_file |
"the relative filepath" |
create_new_file |
"Can be relative, absolute, tilde, or file:// URI" |
ls |
"Can be relative, absolute, tilde, or file:// URI" |
The Problem
- Model reads a file using
/absolute/path/to/file.ts(allowed byread_file) - Model tries to edit the same file using
/absolute/path/to/file.ts multi_editexpects relative path only → confusion or failure
The model has no clear guidance that different tools require different formats.
Proposed Fix
Option A: Standardize all tools to accept the same formats
"Path can be relative to workspace root (e.g., 'src/file.ts'), absolute,
tilde-prefixed (~/...), or file:// URI. Relative paths are recommended."
Option B: Make restrictions explicit and consistent If some tools truly require relative paths only, state this clearly:
"This tool requires paths relative to workspace root. Do not use absolute paths or URIs.
Use the same format shown in read_file results."
Related Issues
- #9045 - Path format failures with multi_edit on Windows
- #8936 - Dollar sign in paths breaks read_file/multi_edit
- #3255 - VS Code extension host file resolution issues
To reproduce
No response
Log output
Related Issues
- #9178 - model mistreat absolute path as relative path
- #9045 - Code writing to file failed (path format failures with multi_edit on Windows)
- #8936 - File system tools (read_file, multi_edit) fail on paths containing dollar signs ($) on Windows
- #8464 - file_path is required error
- #7495 - under Agent mode multiedit tool has error
- #3767 - Backslash instead of forward slash in chat file path
- #3255 - Continue causes VS Code extension host to fail resolving files
- #8931 - Windows file:// URI handling in uriToPath() causes "Invalid saved config URI" and path doubling
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!