list_opportunities
List opportunities by stage or status, newest first, with a cursor for the next page. Narrow with filter, for example filter: ['owner_actor_id:eq:act_...', 'expected_close_date:isNotNull'] and sort: '-expected_close_date'; get_crm_schema lists the fields each type accepts.
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_opportunities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| or | No | ||
| sort | No | ||
| limit | No | How many to return. The page bound is published in the schema call, and asking for more is refused rather than quietly truncated. | |
| cursor | No | The opaque marker from the previous page. Store it and hand it back; do not parse it. A cursor is only ever emitted when another row really exists, so a page you were given is never empty. | |
| filter | No | ||
| status | No | Only records with this status. Status is derived from the stage's kind rather than set separately, so a deal cannot be open and won at once. | |
| stageId | No | Only records in this stage. Stage ids come from the schema call, which lists every pipeline and its stages in order. | |
| updatedSince | No | Only rows changed after this instant. The incremental read: without it a service syncing a large workspace has to walk all of it every time. | |
| lastInteractionBefore | No | Only records whose most recent interaction is older than this, including those with none at all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | This page of results, in the order you asked for. | |
| nextCursor | Yes | Hand this back to get the next page, or null when there is no next page. Null is the end of the list and an empty `items` is not: a cursor is only emitted when another row really exists. |