set_booking_default_event_type
Choose which event type the availability helper draws free slots from.
# MCP tool reference
1 callable tools.
Use tools/call at https://mcp.schedulerzero.com/mcp with the exact tool name and arguments below. The /tools/ paths in this view are documentation identifiers, not HTTP endpoints. Request execution is disabled for this reference.
Inputs are shown for personal API keys (bound) and for OAuth/delegated agents. Output schemas describe MCP structuredContent: native objects pass through; arrays, scalars and null use a data wrapper. Text content retains the native JSON result.
[Connect a client](/mcp/connect) · [Authentication and authorization](/authentication) · [Generated auth guide](/auth.md) · [Download tool catalog](/mcp-catalog.json) · [Agent documentation](/llms.txt)
## set_booking_default_event_type
Choose which event type the availability helper draws free slots from.
Use after list_booking_event_types, passing that call's `connectionId` so a replaced connection conflicts.
Do not reuse a stale connection id from an earlier session; refresh the event types first.
Scopes: integration:update
Risk: write; confirmation: none; idempotency: required.
### Input schema (personal API key)
```json
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"provider": {
"type": "string",
"enum": [
"calendly",
"cal_com"
]
},
"input": {
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"eventTypeRef": {
"$ref": "#/$defs/OpaqueId"
},
"eventTypeName": {
"$ref": "#/$defs/ShortText"
},
"durationMinutes": {
"type": "integer",
"exclusiveMinimum": 0
},
"schedulingUrl": {
"$ref": "#/$defs/HttpUrl"
}
},
"required": [
"connectionId",
"eventTypeRef",
"eventTypeName"
],
"patternProperties": {
"^(?!(?:connectionId|eventTypeRef|eventTypeName|durationMinutes|schedulingUrl)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"connectionId",
"eventTypeRef",
"eventTypeName",
"durationMinutes",
"schedulingUrl"
]
}
}
},
"required": [
"workspaceId",
"provider",
"input"
],
"patternProperties": {
"^(?!(?:workspaceId|provider|input)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"workspaceId",
"provider",
"input"
]
},
"$defs": {
"OpaqueId": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"ShortText": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"HttpUrl": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^https?:\\/\\/[^\\s/$.?#][^\\s]*$"
}
}
}
```
### Input schema (OAuth / delegated agent)
```json
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"provider": {
"type": "string",
"enum": [
"calendly",
"cal_com"
]
},
"input": {
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"eventTypeRef": {
"$ref": "#/$defs/OpaqueId"
},
"eventTypeName": {
"$ref": "#/$defs/ShortText"
},
"durationMinutes": {
"type": "integer",
"exclusiveMinimum": 0
},
"schedulingUrl": {
"$ref": "#/$defs/HttpUrl"
}
},
"required": [
"connectionId",
"eventTypeRef",
"eventTypeName"
],
"patternProperties": {
"^(?!(?:connectionId|eventTypeRef|eventTypeName|durationMinutes|schedulingUrl)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"connectionId",
"eventTypeRef",
"eventTypeName",
"durationMinutes",
"schedulingUrl"
]
}
}
},
"required": [
"workspaceId",
"provider",
"input"
],
"patternProperties": {
"^(?!(?:workspaceId|provider|input)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"workspaceId",
"provider",
"input"
]
},
"$defs": {
"OpaqueId": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"ShortText": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"HttpUrl": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^https?:\\/\\/[^\\s/$.?#][^\\s]*$"
}
}
}
```
### Output schema (structuredContent)
```json
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": [
"calendly",
"cal_com"
]
},
"connectionId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"eventTypeRef": {
"$ref": "#/$defs/OpaqueId"
},
"eventTypeName": {
"$ref": "#/$defs/ShortText"
},
"durationMinutes": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"schedulingUrl": {
"anyOf": [
{
"$ref": "#/$defs/HttpUrl"
},
{
"type": "null"
}
]
},
"updatedAt": {
"$ref": "#/$defs/UtcDateTimeEncoded"
}
},
"required": [
"provider",
"connectionId",
"eventTypeRef",
"eventTypeName",
"durationMinutes",
"schedulingUrl",
"updatedAt"
],
"patternProperties": {
"^(?!(?:provider|connectionId|eventTypeRef|eventTypeName|durationMinutes|schedulingUrl|updatedAt)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"provider",
"connectionId",
"eventTypeRef",
"eventTypeName",
"durationMinutes",
"schedulingUrl",
"updatedAt"
]
},
"$defs": {
"OpaqueId": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"ShortText": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"HttpUrl": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^https?:\\/\\/[^\\s/$.?#][^\\s]*$"
},
"UtcDateTimeEncoded": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
}
}
}
```
### Underlying API operations
- `booking.eventTypes.setDefaultEventType`: `PUT /v1/workspaces/:workspaceId/booking/:provider/default-event-type`