Apply criteria changes (spends credits)
revise_searchApplies chosen proposals of diagnose_search. SPENDS CREDITS: show the price of that combination and pass it as confirm_credits after the user's yes, with the diagnosis' version. For a finished search whose people ran out, more (and stop_at_target) say how many more leads to find with the changes. [REST: POST /api/tasks/{id}/revise]
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>",
"accept": "<accept>",
"confirm_credits": "<confirm_credits>"
},
"name": "revise_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| more | No | ||
| accept | Yes | ||
| task_id | Yes | The search id (task id), e.g. from list_searches or create_search. | |
| version | No | The spec version from get_search (optional: protects against an edit made meanwhile in the web). | |
| stop_at_target | No | ||
| confirm_credits | Yes | The price in credits the matching quote returned, shown to the user and confirmed by them. |