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
Name | Required | Description | Default |
---|---|---|---|
activeOnly | No | ||
agentExternalId | No | Format - int64. Agent external ID (number) | |
agentId | No | Format - int64. Agent ID (number) | |
agentIsExternal | No | Is agent external flag (boolean) | |
agentName | No | Agent name (string) | |
campaignId | No | Format - int64. Campaign ID | |
createdAfter | No | Format - date-time (as date-time in RFC3339). | |
createdBefore | No | Format - date-time (as date-time in RFC3339). | |
createdOnOrAfter | No | Format - date-time (as date-time in RFC3339). Created on or after a certain date/time (as date-time in RFC3339), inclusive | |
ids | No | ||
minDuration | No | Format - int32. Minimum call duration (number) | |
modifiedAfter | No | Format - date-time (as date-time in RFC3339). Modified after a certain date/time (as date-time in RFC3339), not inclusive | |
modifiedBefore | No | Format - date-time (as date-time in RFC3339). Modified before a certain date/time (as date-time in RFC3339), not inclusive | |
modifiedOnOrAfter | No | Format - date-time (as date-time in RFC3339). Modified on or after a certain date/time (as date-time in RFC3339), inclusive | |
orderBy | No | Sorting (string with possible values Id (default), createdOn, or modifiedOn) | |
orderByDirection | No | Sorting direction (string with possible values asc (default) or desc) | |
page | No | Format - int32. | |
pageSize | No | Format - int32. | |
phoneNumberCalled | No | The phone number that was called (string) | |
tenant | Yes | Format - int64. Tenant ID |