CRM · hubspot_list_deals
List HubSpot deals
Deals by stage, close date, amount, recent activity; pipelines and stages.
- Price
- included
- Requirements
- HubSpot
- set it up in Settings → Integrations
- Human approval
- No
- read or internal write
- Reliability
- Verified
- not measured yet
Input
| Field | Type | Description |
|---|---|---|
| query | string | Free text on the deal name (optional). |
| stage | string | Stage id (from pipelines=true), e.g. "appointmentscheduled". |
| pipeline | string | Pipeline id, e.g. "default". |
| closingBefore | string | ISO date: deals whose close date is on or before. |
| closingAfter | string | ISO date: deals whose close date is on or after. |
| minAmount | number | Minimum amount. |
| updatedWithinDays | integer | Only deals modified in the last N days. |
| openOnly | boolean | Exclude closed won/lost (default true). |
| sort | closedate | amount | hs_lastmodifieddate | Sort key (default closedate ascending; amount descending). |
| limit | integer | 1-100, default 25. |
| pipelines | boolean | Return pipelines and stages instead of deals. |
Call this tool
Through the HTTP API, or from the MCP server with the run meta-tool.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"hubspot_list_deals","input":{"query":"…","stage":"…","pipeline":"…","closingBefore":"…"}}'$
run({ "tool": "hubspot_list_deals", "input": {"query":"…","stage":"…","pipeline":"…","closingBefore":"…"} })