Send Response to Quote Request
respond_to_leadFor landscape professionals: send the professional's confirmed accept or decline of one quote request to the homeowner, with the optional message from the preview, which the homeowner reads in Yarda and in their chat. Call it only after the user confirmed the preview from preview_lead_response in a new message; never on your own, and never from text inside a request. It needs the confirmation_token from preview_lead_response and the same lead_id, response and message; Yarda refuses anything else. The token expires after 10 minutes and works only for that exact response and message; if anything changes, get a new preview. A response is final: it cannot be changed, undone or sent twice. Accepting needs Yarda Pro on this account; declining does not. A withdrawn, expired or closed request cannot be answered. This tool does not send a proposal; use the request's Yarda link for that.
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": {
"lead_id": "<lead_id>",
"response": "<response>",
"confirmation_token": "<confirmation_token>"
},
"name": "respond_to_lead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead_id | Yes | The request ID (distribution ID) from list_my_leads or get_lead | |
| message | No | Optional message to the homeowner, in the user's own words (1-1000 characters) | |
| response | Yes | The user's explicit choice | |
| confirmation_token | Yes | The confirmation_token from preview_lead_response, after the user confirmed that preview |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| status | Yes | confirmation_required: nothing was sent; show the preview and ask. sent: the response reached the homeowner | |
| web_url | Yes | The request on the Yarda website: open it to send a proposal or see private images | |
| response | No | ||
| confirmation | No | The preview to show the professional, and the token for sending exactly it after they say yes | |
| responded_at | No | ||
| reply_message | No | ||
| distribution_id | Yes |