Tomorrow.io, Weather Intelligence

Vand ID: vand-198bac9b-1ba2-492a-a1a8-0d65eb8e5dd5

Learn how to easily use the Tomorrow.io, Weather Intelligence tool with the OpenAI API.

Allows you to predict, plan, and adapt to weather via contextualized insights about the forecast.

OpenAI function calls:

{
  "name": "handleWeatherQuestion",
  "description": "Answer weather and climate related questions",
  "parameters": {
    "type": "object",
    "properties": {
      "question": {
        "type": "string",
        "description": "The users question related to weather or climate."
      }
    },
    "required": [
      "question"
    ]
  }
}

Auth Type

none

Servers

https://api.tomorrow.io

OpenAPI:

{
  "openapi": "3.0.0",
  "info": {
    "title": "Tomorrow.io, Weather Intelligence",
    "description": "Allows you to predict, plan, and adapt to weather via contextualized insights about the forecast.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.tomorrow.io"
    }
  ],
  "paths": {
    "/v4/chat": {
      "post": {
        "operationId": "handleWeatherQuestion",
        "summary": "Answer weather and climate related questions",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "question": {
                    "type": "string",
                    "description": "The users question related to weather or climate."
                  }
                },
                "required": [
                  "question"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "answer": {
                          "type": "string",
                          "description": "The answer to the users question."
                        },
                        "id": {
                          "type": "string",
                          "description": "Unique identifier of question/answer."
                        }
                      }
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "error response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "number"
                    },
                    "message": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "message",
                    "type"
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}