Function calling and tool-augmented retrieval: the detective who knows which file to ask forJun 4, 2026