I only had to look at the above postings and know what was going on. I tried exactly once, and received the expected behavior, of the file url link being written correctly producing the annotation.
It was on gpt-4.1. Here is o4-mini doing exactly the same (but doing a better job of writing the python to just return file names, and not python code that outputs the markdown the AI was supposed to use):
