activity_codes_get_list
Retrieve a paginated list of activity codes from the ServiceTitan API, specifying tenant ID, page number, page size, and optional total count.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tenant": "<tenant>"
},
"name": "activity_codes_get_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeTotal | No | Whether total count should be returned | |
| page | No | Format - int32. The logical number of page to return, starting from 1 | |
| pageSize | No | Format - int32. How many records to return (50 by default) | |
| tenant | Yes | Format - int64. Tenant ID |