MCPcopy
hub / github.com/CodebuffAI/codebuff / closeXml

Function closeXml

common/src/util/xml.ts:6–8  ·  view source on GitHub ↗
(toolName: string)

Source from the content-addressed store, hash-verified

4 * @returns Closing XML tag string
5 */
6export function closeXml(toolName: string): string {
7 return `</${toolName}>`
8}
9
10/**
11 * Generate stop sequences (closing XML tags) for a list of tool names

Callers 13

prompts.tsFile · 0.90
getProjectFileTreePromptFunction · 0.90
getSystemInfoPromptFunction · 0.90
getGitChangesPromptFunction · 0.90
asUserMessageFunction · 0.90
withSystemTagsFunction · 0.90
castAssistantMessageFunction · 0.90
ask.tsFile · 0.90
baseAgentSystemPromptFunction · 0.90
baseAgentUserInputPromptFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected