🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@openpets/cal

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openpets/cal

Cal.com plugin providing access to bookings, schedules, teams, and organization management through the Cal.com API v2.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Cal.com Pet

Cal.com plugin providing access to bookings, schedules, teams, and organization management through the Cal.com API v2.

Features

  • 266 auto-generated tools from the Cal.com OpenAPI specification
  • Full access to Cal.com API v2 endpoints
  • Bookings management (create, reschedule, cancel)
  • Schedules and availability management
  • Team and organization management
  • Event types configuration
  • Webhooks and integrations
  • OAuth client management

Setup

1. Get Your API Key

  • Go to Cal.com API Keys Settings
  • Create a new API key
  • Copy the key (starts with cal_live_ or cal_test_)

2. Configure Environment

Create a .env file in your project root:

CAL_API_KEY=cal_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

3. Test Connection

opencode run "test cal connection"

Available Tools

The Cal.com pet provides 266 tools organized into categories:

Bookings (17 tools)

  • Get all bookings
  • Create booking
  • Reschedule booking
  • Cancel booking
  • Mark no-show
  • Get booking recordings & transcripts

Event Types (11 tools)

  • List event types
  • Create/update/delete event types
  • Manage private links
  • Configure webhooks

Schedules (12 tools)

  • Get user schedules
  • Create/update/delete schedules
  • Get default schedule
  • Manage availability

Teams (22 tools)

  • List/create/update/delete teams
  • Manage team memberships
  • Team event types
  • Team bookings

Organizations (120+ tools)

  • Organization attributes
  • Organization memberships
  • Organization teams
  • Routing forms
  • Workflows
  • Roles & permissions

OAuth & Platform (18 tools)

  • Manage OAuth clients
  • Platform user management
  • Webhooks

Calendars & Conferencing (18 tools)

  • Calendar integrations
  • Conferencing apps
  • Busy time lookup

Example Queries

# Get user information
opencode run "get my cal.com user details"

# List all bookings
opencode run "show me all my cal bookings"

# Get schedules
opencode run "list my cal schedules"

# List teams
opencode run "show my cal teams"

# Get event types
opencode run "list my event types"

# Create a booking
opencode run "create a cal booking for tomorrow at 2pm"

Advanced Configuration

Custom API Host

If you're using a self-hosted Cal.com instance:

CAL_HOST=https://your-cal-instance.com

Tool Categories

The 266 generated tools cover these major areas:

CategoryToolsDescription
Orgs / Attributes14Organization custom attributes
Orgs / Bookings1Organization-wide booking views
Orgs / Teams100+Team management within orgs
Bookings17Booking lifecycle management
Event Types15Event type configuration
Schedules12Availability schedules
Teams18Team management
Calendars9Calendar integrations
Conferencing7Video conferencing apps
OAuth18Platform & OAuth management
Webhooks11Webhook management
Slots5Availability slots

Read-Only Mode

To enable read-only mode (disables write operations):

pets read-only cal on

This filters out all write operations (POST, PUT, PATCH, DELETE), leaving only read operations (GET).

Regenerating Tools

When Cal.com updates their API, regenerate the tools:

cd pets/cal
pets generate-openapi --verbose

API Documentation

FAQ

Q: How do I get my API key? A: Go to https://app.cal.com/settings/developer/api-keys and create a new API key.

Q: What's the difference between cal_live_ and cal_test_ keys? A: cal_test_ keys work with test data only, while cal_live_ keys work with production data.

Q: Can I use this with self-hosted Cal.com? A: Yes, set the CAL_HOST environment variable to your Cal.com instance URL.

Q: How do I know which tools are available? A: Run opencode run "list all available cal tools" or check the verbose output of pets generate-openapi --verbose.

Q: Some operations require an organization ID. How do I get it? A: Most organization endpoints require you to be part of a Cal.com organization. If you're not in an organization, use the non-org endpoints (e.g., /v2/bookings instead of /v2/organizations/{orgId}/bookings).

License

This pet is part of the OpenPets ecosystem. See the main repository for license information.

Keywords

opencode

FAQs

Package last updated on 05 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts