ServiceTitan MCP Server

calls_get_calls

Retrieve call data filtered by parameters like agent ID, campaign ID, call duration, or date ranges. Use this tool to access and analyze call records within the ServiceTitan MCP Server.

Input Schema

NameRequiredDescriptionDefault
activeOnlyNo
agentExternalIdNoFormat - int64. Agent external ID (number)
agentIdNoFormat - int64. Agent ID (number)
agentIsExternalNoIs agent external flag (boolean)
agentNameNoAgent name (string)
campaignIdNoFormat - int64. Campaign ID
createdAfterNoFormat - date-time (as date-time in RFC3339).
createdBeforeNoFormat - date-time (as date-time in RFC3339).
createdOnOrAfterNoFormat - date-time (as date-time in RFC3339). Created on or after a certain date/time (as date-time in RFC3339), inclusive
idsNo
minDurationNoFormat - int32. Minimum call duration (number)
modifiedAfterNoFormat - date-time (as date-time in RFC3339). Modified after a certain date/time (as date-time in RFC3339), not inclusive
modifiedBeforeNoFormat - date-time (as date-time in RFC3339). Modified before a certain date/time (as date-time in RFC3339), not inclusive
modifiedOnOrAfterNoFormat - date-time (as date-time in RFC3339). Modified on or after a certain date/time (as date-time in RFC3339), inclusive
orderByNoSorting (string with possible values Id (default), createdOn, or modifiedOn)
orderByDirectionNoSorting direction (string with possible values asc (default) or desc)
pageNoFormat - int32.
pageSizeNoFormat - int32.
phoneNumberCalledNoThe phone number that was called (string)
tenantYesFormat - int64. Tenant ID

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "activeOnly": { "type": "boolean" }, "agentExternalId": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int64. Agent external ID (number)" }, "agentId": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int64. Agent ID (number)" }, "agentIsExternal": { "description": "Is agent external flag (boolean)", "type": [ "boolean", "null" ] }, "agentName": { "description": "Agent name (string)", "type": "string" }, "campaignId": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int64. Campaign ID" }, "createdAfter": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339)." }, "createdBefore": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339)." }, "createdOnOrAfter": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Created on or after a certain date/time (as date-time in RFC3339), inclusive" }, "ids": { "items": { "type": "integer" }, "type": "array" }, "minDuration": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int32. Minimum call duration (number)" }, "modifiedAfter": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Modified after a certain date/time (as date-time in RFC3339), not inclusive" }, "modifiedBefore": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Modified before a certain date/time (as date-time in RFC3339), not inclusive" }, "modifiedOnOrAfter": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Modified on or after a certain date/time (as date-time in RFC3339), inclusive" }, "orderBy": { "description": "Sorting (string with possible values Id (default), createdOn, or modifiedOn)", "type": "string" }, "orderByDirection": { "description": "Sorting direction (string with possible values asc (default) or desc)", "type": "string" }, "page": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int32." }, "pageSize": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int32." }, "phoneNumberCalled": { "description": "The phone number that was called (string)", "type": "string" }, "tenant": { "description": "Format - int64. Tenant ID", "type": "integer" } }, "required": [ "tenant" ], "type": "object" }

You must be authenticated.

Other Tools from ServiceTitan MCP Server

Related Tools

ID: mrnu4dtu2r