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

Function buildUrl

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

Source from the content-addressed store, hash-verified

66] as const
67
68function buildUrl<P, R>(tool: ToolConfig<P, R>, params: P): string {
69 return typeof tool.request.url === 'function' ? tool.request.url(params) : tool.request.url
70}
71
72function buildHeaders<P, R>(tool: ToolConfig<P, R>, params: P): Record<string, string> {
73 return tool.request.headers(params)

Callers 4

get.test.tsFile · 0.50
hunter.test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected