It doesn't "navigate to the right place". It loads the entire thing as part of its prompt and then does the "predict the next word" trick it always does. It's basically bluff (as anything these models generate), but likely to be accurate as long as what you're asking is similar enough to something it has read in its documentation.
Possibly interesting experiment: try whether you can make it output nonsense about itself by asking creative questions that the documentation doesn't answer.