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

Function buildBody

apps/sim/tools/azure_devops/azure-devops.test.ts:76–78  ·  view source on GitHub ↗
(tool: ToolConfig<P, R>, params: P)

Source from the content-addressed store, hash-verified

74}
75
76function buildBody<P, R>(tool: ToolConfig<P, R>, params: P): unknown {
77 return tool.request.body?.(params)
78}
79
80function responseJson(body: unknown): Response {
81 return new Response(JSON.stringify(body))

Callers 6

hunter.test.tsFile · 0.50
executor.test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected