If it's not a greenfield project, the Agent will go and look at the other endpoints and mimic the style as much as possible. Just like a human would.
"But we have documentati..." then give the Agent access to the same docs as humans and it'll use them.