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

Function tool

apps/sim/lib/mcp/service.test.ts:152–160  ·  view source on GitHub ↗
(name: string, serverId: string)

Source from the content-addressed store, hash-verified

150}
151
152function tool(name: string, serverId: string) {
153 return {
154 name,
155 description: name,
156 inputSchema: { type: 'object' },
157 serverId,
158 serverName: serverId,
159 }
160}
161
162describe('McpService.discoverTools per-server caching', () => {
163 beforeEach(async () => {

Callers 2

service.test.tsFile · 0.70
POSTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected