Refine a lead search
refine_lead_searchCreates a new private lead search from a completed one by replacing target, brief, geography, and fields while keeping the original job unchanged.
Instructions
Create a new private search job by changing the brief or criteria of a completed job. The original job stays unchanged.
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": {
"id": "<id>",
"jobToken": "<jobToken>"
},
"name": "refine_lead_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Completed source job id returned by an earlier durable search call. | |
| brief | No | Replacement natural-language brief for the new job. | |
| limit | No | Maximum prospects retained by the new job. | |
| fields | No | Business fields to retain. Website and source evidence remain available for verification. | |
| target | No | Replacement business target for the new job. | |
| jobToken | Yes | Private token belonging to the source job. | |
| geography | No | Replacement city, region, country, or Worldwide. | |
| qualifier | No | Replacement public requirements and exclusions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Stable job identifier. Use it with jobToken in every lifecycle call. | |
| status | Yes | Current durable job state. | |
| cacheHit | No | ||
| jobToken | No | Private bearer token required to read, refine, or export this job. | |
| retryUrl | Yes | Authenticated REST URL for creating a replacement after retryable failure. | |
| cancelUrl | Yes | Authenticated REST URL for canceling queued or running work. | |
| exportUrl | Yes | Authenticated CSV export URL. Add format=json for JSON. | |
| statusUrl | Yes | Authenticated REST URL for job status and result pages. | |
| resultCount | No | ||
| expiresInSeconds | Yes | Seconds until the private job and token expire. |