[FunctionInvoker Error] Calling function 'get_file' failed: System.ArgumentException: endLine (310) must be >= startLine (770). #191520
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Visual Studio
Body
Copilot Agent (using Claude Sonnet 4.6), is showing "couldn't run get_file".
Searching the output shows lines line this:
[FunctionInvoker Error] Calling function 'get_file' failed: System.ArgumentException: endLine (310) must be >= startLine (770).
Seems like the MCP call is sending/receiving the start and end lines reversed.
Using updated Visual Studio 2026 (18.4.3)
Beta Was this translation helpful? Give feedback.
All reactions