You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently each tool is a python function. We can expand this to OpenAPI spec so no code is required at all.
The solution could be either generating a python function from the json/yaml, or perform a dynamic request at runtime. API key should be handled properly.
{
"openapi": "3.1.0",
"info": {
"title": "Get weather data",
"description": "Retrieves current weather data for a location.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://weather.example.com"
}
],
"paths": {
"/location": {
"get": {
"description": "Get temperature for a specific location",
"operationId": "GetCurrentWeather",
"parameters": [
{
"name": "location",
"in": "query",
"description": "The city and state to retrieve the weather for",
"required": true,
"schema": {
"type": "string"
}
}
],
}
}
},
"components": {
"schemas": {}
}
}
The text was updated successfully, but these errors were encountered:
Currently each tool is a python function. We can expand this to OpenAPI spec so no code is required at all.
The solution could be either generating a python function from the json/yaml, or perform a dynamic request at runtime. API key should be handled properly.
The text was updated successfully, but these errors were encountered: