I recently looked at source for Cline because I’m making my own coding agent and they use tools without using tools.
See how they request the agent to use xml to call tools: https://github.com/cline/cline/blob/main/src/core/prompts/sy...
And also: https://github.com/cline/cline/blob/main/src/core/Cline.ts