From Dev.to
Why Cursor Hallucinates API Calls Without a Spec
Short answer: An agent hallucinates an API call because it is predicting the next token, not reading your server. Without a contract, it fills in the endpoint, parameters, and body from patterns and p...
