Query CRM tasks
query_crm_tasksThe follow-ups Sliq suggested to the user (the Tasks view's suggested follow-ups, waiting
for the user to add or dismiss them) come only with status='suggested', and the ones they
dismissed only with 'dismissed', newest dismissal first; both cover only the user's own
suggestions. A suggestion's data.trigger says why Sliq made it: 'stalled_conversation'
(the person went quiet after the user's last message), 'follow_up_requested' (they asked to
be contacted later) or 'stage_stalled' (its deal has sat in one stage too long).
Dict with paging info and the tasks page.
{total, has_more, tasks: [{id, title, notes, due_at, status, completed_at,
assignee_email, person_profile_id, company_profile_id, deal_id, person_profile,
company_profile, deal (the linked deal, or null; its open_task_count and next_task
aren't filled in here — use query_deals for those), data, created_at, archived_at}]}.
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": "query_crm_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Text match on the task title, or the linked contact, company, or deal name. | |
| limit | No | Max tasks (default 25, capped at 200). | |
| offset | No | Tasks to skip for paging; re-call with offset += limit while has_more is true. | |
| status | No | 'open' (default), 'done', 'all' (open and done), 'suggested' or 'dismissed'. | open |
| deal_id | No | Only tasks on this deal. | |
| person_id | No | Only tasks linked to this person (a query_people `id`). | |
| company_id | No | Only tasks linked to this company (a query_companies `id`). | |
| due_before | No | Only tasks due before this day (YYYY-MM-DD). For "overdue" pass today. | |
| on_behalf_of | No | A teammate's email, or an agency client's from list_agency_clients, to run this call in that account: their agents, settings, connected accounts, and credits. Omit it to act on your own account. | |
| assignee_email | No | Only tasks assigned to this teammate (ignored for 'suggested' and 'dismissed', which cover only the user's own). For "my tasks" pass the user's own email. |