decline_lead
Mutation/readOnly:false, script-tier/no-model-token action. Decline a pending RequestedQuote. Only PENDING quotes can be declined; repeated calls after the lead leaves PENDING return {success:false,error:"LEAD_NOT_PENDING",detail} instead of changing state again. Once declined, the lead exits the contractor inbox. Pass a reason when you know it (recorded for analytics + responsiveness): TOO_FAR, WRONG_SERVICE, PRICE, LOOKS_FAKE, ALREADY_BOOKED, OTHER. Other errors include LEAD_NOT_FOUND, INVALID_DECLINE_REASON, CROSS_TENANT, UNAUTHORIZED, or RATE_LIMITED.
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": {
"quoteId": "<quoteId>",
"proAccessToken": "<proAccessToken>"
},
"name": "decline_lead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why the contractor is passing — optional but valuable. | |
| quoteId | Yes | ||
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |