diff --git a/schema.json b/schema.json index 5ba0a700f59e75f89ce147316057930edfe5a453..41809010df84ba774d734d81403a0cebb1579375 100644 --- a/schema.json +++ b/schema.json @@ -484,6 +484,10 @@ "$OPENAI_API_KEY" ] }, + "oauth": { + "$ref": "#/$defs/Token", + "description": "OAuth2 token for authentication with the provider" + }, "disable": { "type": "boolean", "description": "Whether this provider is disabled", @@ -625,6 +629,30 @@ "completions" ] }, + "Token": { + "properties": { + "access_token": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "expires_in": { + "type": "integer" + }, + "expires_at": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "access_token", + "refresh_token", + "expires_in", + "expires_at" + ] + }, "ToolLs": { "properties": { "max_depth": {