Задачи · Чтение
Найти рабочую задачу
Ищет задачи по тексту с учётом доступных пользователю записей.
tasks_search
Попробуйте три запроса
Получить данные
- Вы указываетеЛид
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Найти рабочую задачу» выполни чтение по выбранной записи (лид). Выведи кратко: список позиций, следующая страница.
- items
- Список позиций
- nextCursor
- Следующая страница
Следующая страница
- Вы указываетеПредыдущий ответ
- ПомощникПродолжение
- Вы получаетеСледующая страница
Запрос в чат
Продолжи «Найти рабочую задачу» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Найти рабочую задачу» объясни список позиций, следующая страница. Отметь отсутствующие значения.
- items
- Список позиций
- nextCursor
- Следующая страница
Пример вызова через sabsus_action_call
{
"name": "tasks_search",
"arguments": {
"query": "доставка",
"limit": 5
}
}Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. При постраничном чтении используйте продолжение ответа с теми же фильтрами.
Описание разработчика
Search existing tasks. Tasks related to a customer, lead or order are checked against its location; ambiguous unscoped tasks require all-location access. Use returned taskId for task details.
Параметры запроса
- query
- Поисковое выражение для этой операции. необязательно · string · до символов 120
- limit
- Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 20 · минимум 1 · максимум 50
- cursor
- Продолжение из предыдущего ответа при тех же фильтрах. необязательно · string · до символов 236
- leadId
- Optional canonical lead ID. Requires leads.read and CRM access; narrows results to tasks with this native lead reference. необязательно · string · до символов 160
Что вернёт команда
- items
- Записи, которые вернул этот запрос. обязательно по схеме · array
- nextCursor
- Курсор для получения следующей страницы. обязательно по схеме · string / null
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"query": {
"description": "Case-insensitive name or text filter within the paginated result. Continue using nextCursor to search later records.",
"type": "string",
"maxLength": 120
},
"limit": {
"default": 20,
"description": "Maximum matching records returned, from 1 to 50. Large records may produce a shorter page; continue with nextCursor.",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"cursor": {
"description": "Opaque continuation cursor returned by this same action and workspace. Do not construct one.",
"type": "string",
"maxLength": 236
},
"leadId": {
"description": "Optional canonical lead ID. Requires leads.read and CRM access; narrows results to tasks with this native lead reference.",
"type": "string",
"minLength": 1,
"maxLength": 160,
"pattern": "^[A-Za-z0-9_~:@+.-]+$"
}
},
"required": [
"limit"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"taskId": {
"type": "string",
"description": "Canonical Companies/{company}/Task document identifier."
},
"title": {
"type": "string",
"description": "Task document.name."
},
"description": {
"type": "string",
"description": "Task document.comment."
},
"priority": {
"type": "string",
"description": "Stored priority value. This API does not invent or convert priority enums."
},
"assigneeIds": {
"type": "array",
"items": {
"type": "string",
"description": "Canonical assigned users identifier."
},
"description": "User identifiers assigned to the task."
},
"scheduledAt": {
"$ref": "#/$defs/_mcp1"
},
"finishAt": {
"$ref": "#/$defs/_mcp1"
},
"leadId": {
"description": "Related company lead identifier, when present.",
"type": [
"string",
"null"
]
},
"orderId": {
"description": "Related company order identifier, when present.",
"type": [
"string",
"null"
]
},
"customerId": {
"description": "Stored task contact identifier, when present.",
"type": [
"string",
"null"
]
}
},
"required": [
"taskId",
"title",
"description",
"priority",
"assigneeIds",
"scheduledAt",
"finishAt",
"leadId",
"orderId",
"customerId"
],
"additionalProperties": false
},
"description": "Accessible matching records in this page; tenant and location restrictions have already been applied."
},
"nextCursor": {
"description": "Continuation cursor, or null when no later records remain. An empty page can still have a cursor because inaccessible records are omitted.",
"type": [
"string",
"null"
]
}
},
"required": [
"items",
"nextCursor"
],
"additionalProperties": false,
"$defs": {
"_mcp1": {
"anyOf": [
{
"$ref": "#/$defs/_mcp0"
},
{
"type": "null"
}
],
"description": "Stored event time represented in UTC, or null when absent."
},
"_mcp0": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
}
}