list_deals
List sales deals and filter them by status, pipeline, company, contact, or name, then sort by close date, amount, updated date, created date, or name.
Instructions
List deals. Filter by status (open, won, lost), pipeline, company, contact or name; sort by close_date, amount, updated, created or name.
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": "list_deals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | close_date, amount, updated, created or name | close_date |
| limit | No | ||
| query | No | Text in the deal name | |
| status | No | open, won or lost | open |
| company_id | No | Only this company's deals | |
| contact_id | No | Only deals this contact is on | |
| pipeline_id | No | Only this pipeline |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |