RAG is not the answer
Docs, OpenAPI schemas, web fetch, and scripts to understand the request/response are used by models today. It works for any API over time.