ServiceTitan MCP Server

technician_shifts_get_list

Retrieve a list of technician shifts from ServiceTitan, filtering by creation/modification dates, shift type, technician ID, or specific keywords in titles and notes.

Input Schema

NameRequiredDescriptionDefault
activeNoWhat kind of items should be returned (only active items will be returned by default) Values: [True, Any, False]
createdBeforeNoFormat - date-time (as date-time in RFC3339). Return items created before certain date/time (in UTC)
createdOnOrAfterNoFormat - date-time (as date-time in RFC3339). Return items created on or after certain date/time (in UTC)
endsOnOrBeforeNoFormat - date-time (as date-time in RFC3339). When the End of shift should be at or before
includeTotalNoWhether total count should be returned
modifiedBeforeNoFormat - date-time (as date-time in RFC3339). Return items modified before certain date/time (in UTC)
modifiedOnOrAfterNoFormat - date-time (as date-time in RFC3339). Return items modified on or after certain date/time (in UTC)
noteContainsNoText that must appear in the Note
pageNoFormat - int32. The logical number of page to return, starting from 1
pageSizeNoFormat - int32. How many records to return (50 by default)
shiftTypeNoValue to match ShiftType to Values: [Normal, OnCall, TimeOff]
sortNoApplies sorting by the specified field: "?sort=+FieldName" for ascending order, "?sort=-FieldName" for descending order. Available fields are: Id, CreatedOn, ModifiedOn.
startsOnOrAfterNoFormat - date-time (as date-time in RFC3339). When the Start of shift should be at or after
technicianIdNoFormat - int64. Unique Id of technician shift must apply to
tenantYesFormat - int64. Tenant ID
titleContainsNoText that must appear in the Title

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "active": { "description": "What kind of items should be returned (only active items will be returned by default)\nValues: [True, Any, False]", "type": [ "string", "null" ] }, "createdBefore": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Return items created before certain date/time (in UTC)" }, "createdOnOrAfter": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Return items created on or after certain date/time (in UTC)" }, "endsOnOrBefore": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). When the End of shift should be at or before" }, "includeTotal": { "description": "Whether total count should be returned", "type": [ "boolean", "null" ] }, "modifiedBefore": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Return items modified before certain date/time (in UTC)" }, "modifiedOnOrAfter": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Return items modified on or after certain date/time (in UTC)" }, "noteContains": { "description": "Text that must appear in the Note", "type": [ "string", "null" ] }, "page": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int32. The logical number of page to return, starting from 1" }, "pageSize": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int32. How many records to return (50 by default)" }, "shiftType": { "description": "Value to match ShiftType to\nValues: [Normal, OnCall, TimeOff]", "type": [ "string", "null" ] }, "sort": { "description": "Applies sorting by the specified field:\n\"?sort=+FieldName\" for ascending order,\n\"?sort=-FieldName\" for descending order.\n\nAvailable fields are: Id, CreatedOn, ModifiedOn.", "type": [ "string", "null" ] }, "startsOnOrAfter": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). When the Start of shift should be at or after" }, "technicianId": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int64. Unique Id of technician shift must apply to" }, "tenant": { "description": "Format - int64. Tenant ID", "type": "integer" }, "titleContains": { "description": "Text that must appear in the Title", "type": [ "string", "null" ] } }, "required": [ "tenant" ], "type": "object" }

You must be authenticated.

Other Tools from ServiceTitan MCP Server

Related Tools

ID: mrnu4dtu2r