Message the trader
message_traderSay something for the customer to the trader's Assistant and get its reply: ask for a quote, answer its questions, give an address, phone or timing, change a visit, or chase an update. text is the customer's own words. Signed out it still works, with no jobId: it starts or continues a quote request with Tradehand's own Assistant (find a trade, price a job, get a quote, book), like the chat on tradehand.com; quote_uploadUrl and quote_addPhoto add photos, and if replied is false signed out, quote_get with the quoteToken shows the reply shortly after. Pass jobId for a job (signed in; add photos from upload_photo to show a picture), quoteToken to continue a quote request, or neither to start a new request (originTraderId from search_traders names the trader). The reply comes back as replied true; if replied is false, get_job shows it shortly after.
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": {
"text": "<text>"
},
"name": "message_trader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| jobId | No | A job from list_my_jobs. | |
| photos | No | Photos from upload_photo (signed in, jobId or Assistant messages). | |
| quoteToken | No | The quoteToken message_trader returned for a quote request. | |
| originTraderId | No | A trader from search_traders, only when starting a new request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| outcome | Yes | ||
| blockers | Yes | ||
| revision | No | ||
| nextActions | Yes | ||
| continuation | Yes | ||
| missingFacts | Yes | ||
| schemaVersion | Yes |