"vscode:/vscode.git/clone" did not exist on "41f9d4b0a48249cd159e98a14f5cce8e18c8e384"
tools.json 695 Bytes
Newer Older
Michael Yang's avatar
Michael Yang committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[
  {
    "type": "function",
    "function": {
      "name": "get_current_weather",
      "description": "Get the current weather",
      "parameters": {
        "type": "object",
        "properties": {
          "location": {
            "type": "string",
            "description": "The city and state, e.g. San Francisco, CA"
          },
          "format": {
            "type": "string",
            "enum": [
              "celsius",
              "fahrenheit"
            ],
            "description": "The temperature unit to use. Infer this from the users location."
          }
        },
        "required": [
          "location",
          "format"
        ]
      }
    }
  }
]