I’m using the official Pyright bridge provided by Anthropic, but the tools take arguments that are really unwieldy for Claude to use. E.g. instead of: findReferences(“main.py::my_function”) The tool requires: findReferences(“main.py”, line_number, column_number) Claude is really bad at giving column numbers (I’d assume because claude sees tokens and not characters), and the error if you land the cursor on “def” instead of “my_function” is uninformative. It’s an interface that makes sense for a human with a cursor hovering over code but really unwieldy for Claude to use. (Obviously I understand there’s reasons for using cursor-position to eliminate ambiguity. In foo = do_bar(foo) the symbol foo can have two different place-of-definitions depending on which usage you’re clicking. But that’s an edge case and even in that case I think there has to be better methods than column-positioning!) submitted by /u/SageAStar
Originally posted by u/SageAStar on r/ClaudeCode
