Find stale leads
stale_leadsList the caller's stale CRM leads in their active workspace: leads still in status 'new' with no contact for at least N days ('days'; defaults to the workspace's auto-triage threshold, else 7; clamped 1..365), oldest-touch first. These are exactly the leads the daily auto-triage would move to 'waiting_response'. Read-only; only the caller's own workspace is scanned. Paged: 'limit' (default 20, max 100), 'cursor' (next_cursor); 'total' is the full count. 'fields' keeps only those keys; mode='summary' gives counts by source + the oldest rows.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stale_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| mode | No | 'summary' = counts + the top rows only (a few KB). | |
| limit | No | ||
| cursor | No | next_cursor from the previous page. | |
| fields | No | Only these keys in each row ('id' always kept). |