Log a finished job and get the review link to send
job_doneRecords a finished job, whether the customer seemed happy or not (asking every customer, not only happy ones, keeps the reviews fair), for example when the trade says "job done for Mrs Patel". Returns a one-time review link, a ready-to-send neutral message (message_to_send), and WhatsApp and SMS share links. Nero sends nothing: the trade sends the message to the customer, ideally the same day. The customer taps 1 to 5 stars and can add a sentence. Calling it twice for the same customer and job within 24 hours returns the same link. Rules enforced here: there is no option to ask only happy customers (that is review gating, banned by UK law), and a custom message_intro is refused if it asks for a particular rating, steers unhappy customers elsewhere, or offers any reward. Limit 30 jobs a day per business.
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": {
"trade_key": "<trade_key>",
"customer_name": "<customer_name>",
"job_summary": "<job_summary>"
},
"name": "job_done"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trade_key | Yes | The trade_key that register_trade returned for this business (starts with nrk_). | |
| finished_on | No | Date the job finished, YYYY-MM-DD. Defaults to today. Must be within the last 90 days. | |
| job_summary | Yes | A few words on the job, shown with the review, for example "Consumer unit swap" or "Boiler service". No addresses or phone numbers. | |
| customer_name | Yes | How the trade refers to the customer, for example "Mrs Patel" or "John Smith". Used in the message. Publicly only the first word and an initial show ("Mrs P."), and the customer can change it. | |
| message_intro | No | Optional first sentence of the message in the trade's own words, for example "Hi Mrs Patel, thanks for having me round today." The link and a neutral ask are always added after it. |