The file is already in the window — do you still need RAG
The contract PDF is already in the window, and retrieve still inserts the 30 seconds from the 2023 edition. The model sees both. When an attachment id is present, skip retrieve. The prompt keeps only that attachment id.