Pause, resume, stop or answer a search
control_searchA started search: pause, resume, stop (the leads found are kept and charged), or continue — the answer to a search that asks about a higher price (status asking): it SPENDS the extra credits of get_search's ask.continue_credits; show them and pass them as confirm_credits after the user's yes. [REST: POST /api/tasks/{id}/control]
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>",
"action": "<action>"
},
"name": "control_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| task_id | Yes | The search id (task id), e.g. from list_searches or create_search. | |
| confirm_credits | No | The price in credits the matching quote returned, shown to the user and confirmed by them. |