Export the leads (download link)
export_searchA download link for the search's leads as Excel (xlsx) or PDF: chosen kinds (default fit and partial), with the facts and the brief. The link works for one hour without signing in; give it to the user. [REST: GET /api/tasks/{id}/export.xlsx|pdf?kinds= (signed link /api/dl/{token})]
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": {
"task_id": "<task_id>"
},
"name": "export_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | ||
| format | No | xlsx | |
| task_id | Yes | The search id (task id), e.g. from list_searches or create_search. |