BusinessHour_Create
Enables setting custom business hours for weekdays, Saturdays, and Sundays by specifying start and end times, tailored to specific tenant IDs within the ServiceTitan MCP Server.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
saturday | No | ||
sunday | No | ||
tenant | Yes | Format - int64. Tenant ID | |
weekdays | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"saturday": {
"items": {
"additionalProperties": false,
"properties": {
"fromHour": {
"type": "integer"
},
"toHour": {
"type": "integer"
}
},
"required": [
"fromHour",
"toHour"
],
"type": "object"
},
"type": "array"
},
"sunday": {
"items": {
"additionalProperties": false,
"properties": {
"fromHour": {
"type": "integer"
},
"toHour": {
"type": "integer"
}
},
"required": [
"fromHour",
"toHour"
],
"type": "object"
},
"type": "array"
},
"tenant": {
"description": "Format - int64. Tenant ID",
"type": "integer"
},
"weekdays": {
"items": {
"additionalProperties": false,
"properties": {
"fromHour": {
"type": "integer"
},
"toHour": {
"type": "integer"
}
},
"required": [
"fromHour",
"toHour"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"tenant"
],
"type": "object"
}