leads_getnotes
Retrieve and filter lead notes from the ServiceTitan MCP Server by ID, tenant, date range, pagination, and total count inclusion for efficient data management.
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": {
"id": "<id>",
"tenant": "<tenant>"
},
"name": "leads_getnotes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| createdBefore | No | Format - date-time (as date-time in RFC3339). Returns notes created before the requested date (in UTC) | |
| createdOnOrAfter | No | Format - date-time (as date-time in RFC3339). Returns notes created on or after the requested date (in UTC) | |
| id | Yes | Format - int64. | |
| includeTotal | No | Whether total count should be returned | |
| modifiedBefore | No | Format - date-time (as date-time in RFC3339). Returns notes modified before the requested date (in UTC) | |
| modifiedOnOrAfter | No | Format - date-time (as date-time in RFC3339). Returns notes modified after the requested date (in UTC) | |
| 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 |