Search tasks across all records
search_tasksAI Agents (inside one system): Use to find tasks across a whole AI agent's system, such as every open task or what one user still has to do. Not for the tasks of one record you already know (use list_related_records). Where a task names the contact it is on, update_task needs that contact.
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": {
"system": "<system>"
},
"name": "search_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | No | True for finished tasks only, false for open tasks only; both when left out. | |
| text | No | Words the task has to hold. | |
| limit | No | How many to return per page, 1 to 100. | |
| users | No | Only the tasks of these users, by the ids describe_record_type gives with include users. | |
| cursor | No | The cursor of the previous answer, to read the next page. | |
| system | Yes | Which AI agent: the system's id from get_ai_agent_options, or the name of the system or its connection. Ask the person which AI agent they mean unless they named it in this conversation; never pick one yourself. | |
| contacts | No | Only the tasks on these contacts, by their ids. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | Yes | ||
| result | Yes | ||
| status | Yes | ||
| systemId | Yes | ||
| operation | Yes | ||
| truncated | Yes | ||
| systemName | Yes |