Prepare vendor message text
draft_vendor_communicationUse this when preparing a message for a vendor linked to a job; this never sends the message. Prepare durable message text for an active vendor linked to an authorized work order immediately if your vendor-message approval preference is off; otherwise prepare a proposal for manager/admin review. Sending remains manual. Never emails a supplier, dispatches a contractor or changes purchasing approval.
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": {
"idempotencyKey": "<idempotencyKey>",
"rationale": "<rationale>",
"workOrderId": "<workOrderId>",
"vendorId": "<vendorId>",
"subject": "<subject>",
"body": "<body>"
},
"name": "draft_vendor_communication"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| subject | Yes | ||
| vendorId | Yes | ||
| rationale | Yes | ||
| workOrderId | Yes | ||
| idempotencyKey | Yes | ||
| expectedApprovalRequired | No |