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

Function createStoredTool

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

Source from the content-addressed store, hash-verified

94
95describe('getMcpToolIssue', () => {
96 const createStoredTool = (
97 overrides?: Partial<StoredMcpToolReference>
98 ): StoredMcpToolReference => ({
99 serverId: 'server-1',
100 serverUrl: 'https://api.example.com/mcp',
101 toolName: 'test-tool',
102 schema: { type: 'object' },
103 ...overrides,
104 })
105
106 const createServerState = (overrides?: Partial<ServerState>): ServerState => ({
107 id: 'server-1',

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected