# OpenTable

```json
{
  "name": "OpenTable",
  "slug": "open_table",
  "url": "https://composio.dev/toolkits/open_table",
  "markdown_url": "https://composio.dev/toolkits/open_table.md",
  "logo_url": "https://logos.composio.dev/api/opentable",
  "categories": [
    "scheduling & booking"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-12-03T05:52:07.262Z"
}
```

![OpenTable logo](https://logos.composio.dev/api/opentable)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with OpenTable MCP or direct API to search restaurant availability, lock booking slots, create reservations, and manage booking policies through natural language.

## Summary

OpenTable is a restaurant discovery and reservation service for finding dining options and booking tables.
It helps diners and hospitality partners manage availability, reservations, policies, and dining experiences in one place.

## Categories

- scheduling & booking

## Toolkit Details

- Tools: 22

## Images

- Logo: https://logos.composio.dev/api/opentable

## Authentication

- **S2s Oauth2**
  - Type: `custom`
  - Description: S2s Oauth2 authentication for OpenTable.
  - Setup:
    - Configure S2s Oauth2 credentials for OpenTable.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Find available tables at a nearby Italian restaurant
- Lock a dinner slot for four guests
- Review cancellation policies for my reservation

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `OPEN_TABLE_CALCULATE_EXPERIENCE_TOTAL` | Calculate Experience Total | Calculate a non-booking cost estimate for an experience selection. This does not lock inventory or create a reservation. |
| `OPEN_TABLE_CANCEL_RESERVATION` | Cancel Reservation | Cancel a Consumer API reservation by setting OpenTable's only supported cancellation status, CancelledWeb. |
| `OPEN_TABLE_CONFIRM_RESERVATION` | Confirm Reservation | Confirm an existing reservation on behalf of the diner. This operation requires a separate OpenTable partner entitlement and may return 403 even when standard Booking Partner actions work. |
| `OPEN_TABLE_CREATE_PARTNER_RESERVATION_NOTE` | Create Partner Reservation Note | Create the connected partner's note on a Consumer API reservation using the toolkit's S2S OAuth2 scheme. A partner can have only one note: calling this again replaces the existing note and returns a new note ID. OpenTable returns 403 unless the partner has the Partner Notes subscription or entitlement. |
| `OPEN_TABLE_CREATE_PRIVATE_DINING_LEAD` | Create Private Dining Lead | Submit a private-dining inquiry using the toolkit's S2S OAuth2 scheme. OpenTable exposes no operation to delete the resulting lead. Requires an active Private Dining subscription for the restaurant. |
| `OPEN_TABLE_CREATE_RESERVATION` | Create Reservation | Consume a fresh slot-lock token to create a reservation before the lock's five-minute expiry. Card-secured reservations are unsupported because this action never accepts tokenized-card credential payloads. |
| `OPEN_TABLE_CREATE_REVIEW_REPLY` | Create Review Reply | Post a public or private restaurant reply to a confirmed seated diner's review using the toolkit's S2S OAuth2 scheme. Only one public reply is allowed; private replies may be multiple, and OpenTable exposes no delete operation. Requires an active Reviews API subscription. |
| `OPEN_TABLE_CREATE_SLOT_LOCK` | Create Slot Lock | Lock a selected availability slot for five minutes and return the token needed by CREATE_RESERVATION or MODIFY_RESERVATION. Call DELETE_SLOT_LOCK if the booking flow is abandoned. |
| `OPEN_TABLE_DELETE_SLOT_LOCK` | Delete Slot Lock | Release an unused five-minute slot lock immediately when a create or modify flow is abandoned, instead of waiting for expiry. |
| `OPEN_TABLE_GET_AVAILABILITY_METADATA` | Get Availability Metadata | Get a restaurant's documented seating attributes, environments, and dining areas for interpreting availability and selecting a slot. |
| `OPEN_TABLE_GET_BOOKING_POLICIES` | Get Booking Policies | Get restaurant policy text for a proposed date, time, and party size before locking a slot or creating a reservation. |
| `OPEN_TABLE_GET_CANCELLATION_POLICY` | Get Cancellation Policy | Expand a cancellation-policy ID returned by availability into its deposit, hold, cutoff, and schedule terms before booking. |
| `OPEN_TABLE_GET_RESERVATION` | Get Reservation | Retrieve a reservation created through the Consumer API using its restaurant ID and diner confirmation number. |
| `OPEN_TABLE_GET_RESTAURANT_MENU` | Get Restaurant Menu | Get one structured menu by restaurant ID and menu UUID using the toolkit's S2S OAuth2 scheme. Requires Menus Access and restaurant distribution rights. |
| `OPEN_TABLE_GET_RESTAURANT_REVIEW_SUMMARY` | Get Restaurant Review Summary | Get OpenTable review summaries for one restaurant or multiple restaurants identified by comma-separated IDs using the toolkit's S2S OAuth2 scheme. Requires a Reviews API subscription. |
| `OPEN_TABLE_LIST_ACTIVE_EXPERIENCES` | List Active Experiences | Return active bookable dining experiences for a restaurant, including documented price types, add-ons, fees, and policy references. An empty data list is a valid result. |
| `OPEN_TABLE_LIST_PARTNER_REVIEWS` | List Partner Reviews | List reviews for one OpenTable restaurant with documented date, moderation, rating, reply, sort, and offset filters. This uses the toolkit's S2S OAuth2 scheme and requires a Reviews API subscription. |
| `OPEN_TABLE_LIST_RESTAURANT_MENUS` | List Restaurant Menus | Get a restaurant's hosted menu URL or structured native menus, including groups, items, modifier groups, and modifiers, using the toolkit's S2S OAuth2 scheme. Requires Menus Access and restaurant distribution rights. |
| `OPEN_TABLE_MODIFY_RESERVATION` | Modify Reservation | Modify a Consumer API reservation using replacement availability and a fresh slot-lock token before its five-minute expiry. This action does not search for availability or create the replacement lock. Card-secured modifications are unsupported because tokenized-card credentials are never accepted. |
| `OPEN_TABLE_SEARCH_AVAILABILITY` | Search Availability | Search real-time availability for one restaurant around a local 15-minute-aligned time. Use a returned slot to create a five-minute slot lock before creating or modifying a reservation. |
| `OPEN_TABLE_SEARCH_RESTAURANTS` | Search Restaurants | List OpenTable restaurants or narrow the Directory endpoint by country or restaurant ID. Returns one documented offset page and a continuation cursor. |
| `OPEN_TABLE_UPDATE_PARTNER_RESERVATION_NOTE` | Update Partner Reservation Note | Update or delete the connected partner's note on an OpenTable reservation. Send an empty note to delete it. This uses the toolkit's S2S OAuth2 scheme; OpenTable returns 403 without the Partner Notes subscription or entitlement. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to OpenTable
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["open_table"])
tools = session.tools()
```

```typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["open_table"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run OpenTable tools with your agent

Send a request, execute the OpenTable tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Search OpenTable availability for a table for two at The Modern in New York on December 15, 2026 at 7:00 PM."}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Search OpenTable availability for a table for two at The Modern in New York on December 15, 2026 at 7:00 PM." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to OpenTable and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["open_table"], mcp=True)
```

```typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["open_table"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a OpenTable request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to OpenTable tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Search OpenTable availability for a table for two at The Modern in New York on December 15, 2026 at 7:00 PM.")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Search OpenTable availability for a table for two at The Modern in New York on December 15, 2026 at 7:00 PM.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native OpenTable Integration

- Supports both OpenTable MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for reading, writing, and querying your OpenTable data

### 2. Managed Auth

- Built-in OAuth handling with automatic token refresh and rotation
- Central place to manage, scope, and revoke OpenTable access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access OpenTable
- Scoped, least privilege access to OpenTable resources
- Full audit trail of agent actions to support review and compliance

## Use OpenTable with any AI Agent Framework

Choose a framework you want to connect OpenTable with:

- [ChatGPT](https://composio.dev/toolkits/open_table/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/open_table/framework/claude-cowork)

## Related Toolkits

- [Google Calendar](https://composio.dev/toolkits/googlecalendar) - Google Calendar is a time management service for scheduling meetings, events, and reminders. It streamlines personal and team organization with integrated notifications and sharing options.
- [Acuity Scheduling](https://composio.dev/toolkits/acuity_scheduling) - Acuity Scheduling is an online appointment platform for managing bookings, calendars, clients, forms, and orders. It helps businesses simplify scheduling and give clients an easy way to book appointments.
- [Apaleo](https://composio.dev/toolkits/apaleo) - Apaleo is a cloud-based property management platform for hospitality businesses. It centralizes reservations, billing, and daily operations for smoother hotel management.
- [Appointo](https://composio.dev/toolkits/appointo) - Appointo is an appointment booking platform for Shopify stores. It lets businesses add online scheduling to their websites with zero coding.
- [AviationStack](https://composio.dev/toolkits/aviationstack) - AviationStack is an aviation data API for real-time, historical, and scheduled flight information. It provides global flight records and reference catalogs for airports, airlines, routes, and more.
- [Bart](https://composio.dev/toolkits/bart) - Bart is the Bay Area Rapid Transit system, providing fast public transportation across the San Francisco Bay Area. It helps commuters and travelers get real-time schedule info, plan routes, and stay updated on service changes.
- [Blue Pillow Hotels & Stays](https://composio.dev/toolkits/bluepillow) - Blue Pillow Hotels & Stays is a hotel and stay discovery platform offering live offers, recommendations, and booking handoff. It helps surface and compare real-time deals and validate bookings for smoother reservations.
- [Bookingmood](https://composio.dev/toolkits/bookingmood) - Bookingmood is commission-free booking software for rental businesses. It lets you manage reservations and sync bookings directly on your website.
- [Booqable](https://composio.dev/toolkits/booqable) - Booqable is a rental software platform for managing inventory, bookings, and reservations. It helps businesses streamline rentals and keep track of every item with ease.
- [Cal](https://composio.dev/toolkits/cal) - Cal is a meeting scheduling platform that offers shareable booking links and real-time calendar syncing. It streamlines the process of finding mutual availability to make scheduling effortless.
- [Calendarhero](https://composio.dev/toolkits/calendarhero) - Calendarhero is a powerful scheduling platform that streamlines your calendar management across multiple services. It helps you efficiently schedule, reschedule, and organize meetings without the back-and-forth.
- [Calendly](https://composio.dev/toolkits/calendly) - Calendly is an appointment scheduling tool that automates meeting invitations, availability checks, and reminders. It helps individuals and teams avoid endless email back-and-forth when booking meetings.
- [Calendly MCP](https://composio.dev/toolkits/calendly_mcp) - Calendly is an appointment scheduling platform that manages event types, availability, and invites. Use it to automate booking, reduce back-and-forth, and surface open times quickly.
- [Check Cherry](https://composio.dev/toolkits/check_cherry) - Check Cherry is a business management platform for photography and event service companies. It helps teams manage leads, bookings, appointments, offerings, payments, and workflows in one place.
- [Cronfree Time Scheduler](https://composio.dev/toolkits/cronfree_time_scheduler) - Cronfree Time Scheduler is an API-based scheduler for recurring webhook calls. Use it to create and remove timezone-aware schedules without running cron.
- [EquipDash](https://composio.dev/toolkits/equip_dash) - EquipDash is rental management software for equipment and experience businesses. It brings products, availability, customers, bookings, and pricing into one place.
- [Etermin](https://composio.dev/toolkits/etermin) - eTermin is an online appointment scheduling platform for businesses to manage bookings. It streamlines client appointments, saving time and reducing scheduling conflicts.
- [Evenium](https://composio.dev/toolkits/evenium) - Evenium is an all-in-one platform for managing professional events, from planning to analysis. It helps teams simplify event logistics, boost engagement, and track every detail in one place.
- [Eventee](https://composio.dev/toolkits/eventee) - Eventee is a user-friendly event management platform for mobile and web. It boosts attendee engagement for in-person, virtual, and hybrid events.
- [Eventzilla](https://composio.dev/toolkits/eventzilla) - Eventzilla is an event management platform for creating, promoting, and running events. It streamlines ticketing, registration, and attendee coordination for organizers.

## Frequently Asked Questions

### Do I need my own developer credentials to use OpenTable with Composio?

Yes, OpenTable requires you to configure your own S2S OAUTH2 credentials. Once set up, Composio handles secure credential storage and management for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
