MCPcopy Index your code
hub / github.com/simstudioai/sim / createDiscoveredTool

Function createDiscoveredTool

apps/sim/lib/mcp/tool-validation.test.ts:113–118  ·  view source on GitHub ↗
(overrides?: Partial<DiscoveredTool>)

Source from the content-addressed store, hash-verified

111 })
112
113 const createDiscoveredTool = (overrides?: Partial<DiscoveredTool>): DiscoveredTool => ({
114 serverId: 'server-1',
115 name: 'test-tool',
116 inputSchema: { type: 'object' },
117 ...overrides,
118 })
119
120 describe('server_not_found', () => {
121 it.concurrent('returns server_not_found when server does not exist', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected