Summary
The toolFormat = "native" field in getEnvironmentDetails.ts is dead code and should be removed. We no longer need to tell models about the tool format since native tool calling is the only protocol we support (XML-based tool calling has been retired).
Location
src/core/environment/getEnvironmentDetails.ts
Current Code
const toolFormat = "native"
details += `\n\n# Current Mode\n`
details += `<slug>${currentMode}</slug>\n`
details += `<name>${modeDetails.name}</name>\n`
details += `<model>${modelId}</model>\n`
details += `<tool_format>${toolFormat}</tool_format>\n`
Suggested Action
Remove the toolFormat constant and the <tool_format> line from the environment details output.