MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / codeBlock

Function codeBlock

e2e/scenarios/tool-descriptions.test.ts:230–230  ·  view source on GitHub ↗
(lang: string, body: string)

Source from the content-addressed store, hash-verified

228}
229
230const codeBlock = (lang: string, body: string): string => `\`\`\`${lang}\n${body}\n\`\`\``;
231
232const renderTool = (tool: ToolSnapshot): string => {
233 const lines: string[] = [`### \`${tool.name}\``, "", `> ${tool.listDescription || "(empty)"}`];

Callers 2

renderToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected