find_stale_deals
Find open deals that have not moved in at least days days, oldest first. stale_by sets what moving means: activity (default) is the linked account's last email or meeting, not deal edits; stage is the deal's last stage change (renaming or reordering a stage also counts as one). A deal is never counted as staler than it is old: with no account activity, or no recorded stage change, since it was created, it counts from its creation date, so it is included once it is older than days. So an empty or short result does NOT mean the other deals had recent activity: a deal created within days is simply too new to count. Do not claim activity the result does not show. Won and lost deals are left out. Pass days as a plain integer (e.g. 14) - do NOT compute a cutoff date yourself, the tool does the date math. Use when asked for stale, dormant, neglected, stuck or forgotten deals ("no activity in 2 weeks", "stuck in a stage for a month", "what's gone quiet"). Omit pipeline_name to search every pipeline in the org; a pipeline with exactly that name wins over partial matches, and matched_pipelines lists the pipelines searched. Each deal carries days_stale and stale_since_source, which says what it was measured from. Returns a page of deals (limit sets its size) with total_count and total_amount over every match; pass offset to page through the rest.
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": {
"days": "<days>"
},
"name": "find_stale_deals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Deals that have not moved in at least this many days, as a plain integer. | |
| limit | No | Deals per page (1-50, default 10). | |
| offset | No | 0-indexed row offset for paging. Start at 0, then increase by the number of results returned until `offset + results.length >= total_count`. Ordering is stable across pages, so tied sort values do not repeat or skip records. | |
| stale_by | No | `activity` (default): the linked account's last email or meeting. `stage`: the deal's last stage change. | activity |
| session_id | No | The ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task. | |
| pipeline_name | No | Restrict to one pipeline (name or partial name). Omit to search every pipeline. |