Create a lead search
create_searchCreates a new lead search («поиск лидов») from the onboarding answers and starts compiling its requirements (~1-2 minutes; nothing is charged in credits, but it spends the onboarding's brief if no assistant did). Then poll get_search every 20-30 s until status is ready, review the spec with the user (get_search detail=spec), and only then quote and run it. company and icp are required. [REST: POST /api/tasks]
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": {
"company": "<company>",
"icp": "<icp>"
},
"name": "create_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icp | Yes | Whom to find: the customer profile (step 3). | |
| goal | No | What the outreach should achieve (step 2). | |
| company | Yes | What the user's company does (step 1). | |
| language | No | Language of the outreach messages (default english). | |
| source_task | No | The earlier onboarding this one was filled from (get_onboarding_prefill). | |
| exclude_urls | No | LinkedIn profile links of people to leave out. | |
| exclude_scope | No | From those searches: everyone analysed (all) or only leads. | |
| exclude_tasks | No | Earlier searches whose people to leave out. | |
| onboarding_id | No | The onboarding id that ties the assistant calls and create_search into ONE brief. Omit it on the first call: the answer gives one; pass it to every later assistant call and to create_search of the same new search. | |
| exclude_companies | No | Also leave out the companies of those people. | |
| exclude_company_urls | No |