MCPcopy Create free account
hub / github.com/chatbotkit/node-sdk / simulateWeatherAPI

Function simulateWeatherAPI

examples/sdk/function-channel-dispatch.js:211–221  ·  view source on GitHub ↗

* Simulates a weather API call. In production, this would call a real weather service. * * @param {string} [location] * @returns {Promise<{temperature: number, conditions: string, humidity: number, location: string}>}

(location)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected