-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
opral/monorepo
#3763Description
Context
hm i get this a lot
Output
Invalid input for tool read_file: Type validation failed: Value: {"version_id":"MYeCL6O3ccVZ1FcUHdXyp","path":"/AGENTS.md","fileId":"/AGENTS.md","byteOffset":0,"byteLength":500000,"lineOffset":0,"lineLimit":200,"maxBytes":200000,"maxChars":15000}.
Error message: [
{
"code": "custom",
"path": [],
"message": "Provide only one of 'path' or 'fileId'"
}
]
Proposal
The read file tool shouldn't have an overload.
We can split it into two functions
read_file_by_path
read_file_by_id
mehmetozguldev
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done