MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / toolGetWeather

Function toolGetWeather

examples/remix/baseai/tools/weather.ts:5–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3};
4
5const toolGetWeather = () => ({
6 run: getWeather,
7 type: 'function',
8 function: {
9 name: 'getWeather',
10 description: 'Get the current weather of a given location',
11 parameters: {
12 type: 'object',
13 required: ['location'],
14 properties: {
15 location: {
16 type: 'string',
17 description: 'The city and state, e.g. San Francisco, CA',
18 },
19 },
20 },
21 },
22});
23export default toolGetWeather;

Callers 1

getPipeWithToolFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected