MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / createSqlTool

Function createSqlTool

packages/tools/src/definitions/analysis-tools.test.ts:23–27  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

21}
22
23function createSqlTool(name: string) {
24 const def = SQL_TOOL_DEFS.find((tool) => tool.name === name)
25 assert.ok(def, `Expected SQL tool definition for ${name}`)
26 return { def, tool: createSqlToolDefinition(def) }
27}
28
29describe('high-risk analysis tool definitions', () => {
30 it('search_messages passes filters to the provider and returns expanded context messages', async () => {

Callers 1

Calls 1

createSqlToolDefinitionFunction · 0.90

Tested by

no test coverage detected