✅ Updated the ResponsesAPI Swift library with support for Connectors
pretty much a one-liner to give models inside your app access to your user's gmail, drive, dropbox & more!
ALT import ResponsesAPI
let client = ResponsesAPI(authToken: YOUR_OPENAI_API_TOKEN)
let response = try await client.create(Request(
model: .gpt5,
input: .text("Summarize the Q2 earnings report."),
tools: [.mcp(
label: "Dropbox",
connector: .dropbox,
authorization: "<oauth access token>"
)]
))
Two big updates to the Responses API today.
🖇️ Connectors — Pull context from Gmail, Google Calendar, Dropbox, and more in a single API call.
💬 Conversations — Persist chat threads for your users, without running your own database.
More below: