Skip to main content
Get a valid OAuth access token for a connected provider. Automatically refreshes expired tokens when possible.

Tool details

FieldValue
Nameget_project_oauth_token
GroupOAuth

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "provider": {
      "type": "string",
      "description": "OAuth provider name (e.g., \"github\", \"slack\", \"google\")"
    }
  },
  "required": [
    "project_reference",
    "provider"
  ],
  "additionalProperties": false,
  "description": "Input schema for the get_project_oauth_token tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "description": "OAuth provider name"
    },
    "access_token": {
      "type": "string",
      "description": "Valid access token"
    }
  },
  "required": [
    "provider",
    "access_token"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the get_project_oauth_token tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}