ServiceTitan MCP Server

calls_calls

Retrieve call details from ServiceTitan by filtering based on agent, campaign, duration, phone numbers, and creation/modification timestamps. Supports pagination and sorting for efficient data access.

Input Schema

NameRequiredDescriptionDefault
activeNoWhat kind of items should be returned (only active items will be returned by default) Values: [True, Any, False]
agentExternalIdNoFormat - int64. Agent external ID (number)
agentIdNoFormat - int64. Agent ID (number)
agentIsExternalNoIs agent external flag (boolean)
agentNameNoAgent name (string)
callerPhoneNumberNoThe caller's phone number (string)
campaignIdNoFormat - int64. Campaign ID
createdAfterNoFormat - date-time (as date-time in RFC3339). Return items created after certain date/time (in UTC)
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)
idsNoPerform lookup by multiple IDs (maximum 50)
includeTotalNoWhether total count should be returned
minDurationNoFormat - int32. Minimum call duration (number of seconds)
modifiedAfterNoFormat - date-time (as date-time in RFC3339). Return items modified after certain date/time (in UTC)
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)
pageNoFormat - int32. The logical number of page to return, starting from 1
pageSizeNoFormat - int32. How many records to return (50 by default)
phoneNumberCalledNoThe phone number that was called (string)
sortNoThe Sorting field, possible values: Id, CreatedOn, ModifiedOn. The Sorting is ascending by default, add the '-' character to use descending (for example -Id)
tenantYesFormat - int64. Tenant ID

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" }, "agentExternalId": { "description": "Format - int64. Agent external ID (number)", "type": "integer" }, "agentId": { "description": "Format - int64. Agent ID (number)", "type": "integer" }, "agentIsExternal": { "description": "Is agent external flag (boolean)", "type": "boolean" }, "agentName": { "description": "Agent name (string)", "type": "string" }, "callerPhoneNumber": { "description": "The caller's phone number (string)", "type": "string" }, "campaignId": { "description": "Format - int64. Campaign ID", "type": "integer" }, "createdAfter": { "description": "Format - date-time (as date-time in RFC3339). Return items created after certain date/time (in UTC)", "format": "date-time", "type": "string" }, "createdBefore": { "description": "Format - date-time (as date-time in RFC3339). Return items created before certain date/time (in UTC)", "format": "date-time", "type": "string" }, "createdOnOrAfter": { "description": "Format - date-time (as date-time in RFC3339). Return items created on or after certain date/time (in UTC)", "format": "date-time", "type": "string" }, "ids": { "description": "Perform lookup by multiple IDs (maximum 50)", "type": "string" }, "includeTotal": { "description": "Whether total count should be returned", "type": "boolean" }, "minDuration": { "description": "Format - int32. Minimum call duration (number of seconds)", "type": "integer" }, "modifiedAfter": { "description": "Format - date-time (as date-time in RFC3339). Return items modified after certain date/time (in UTC)", "format": "date-time", "type": "string" }, "modifiedBefore": { "description": "Format - date-time (as date-time in RFC3339). Return items modified before certain date/time (in UTC)", "format": "date-time", "type": "string" }, "modifiedOnOrAfter": { "description": "Format - date-time (as date-time in RFC3339). Return items modified on or after certain date/time (in UTC)", "format": "date-time", "type": "string" }, "page": { "description": "Format - int32. The logical number of page to return, starting from 1", "type": "integer" }, "pageSize": { "description": "Format - int32. How many records to return (50 by default)", "type": "integer" }, "phoneNumberCalled": { "description": "The phone number that was called (string)", "type": "string" }, "sort": { "description": "The Sorting field, possible values: Id, CreatedOn, ModifiedOn.\nThe Sorting is ascending by default, add the '-' character to use descending (for example -Id)", "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