add_order_note
File a triage note on an order. Business-rule checks validate the write, returning machine-readable errors for refusals and recording the attempt in the audit log.
Instructions
File a triage note against an order. Writes are gated: if a business rule rejects this call, the error is machine-readable ({ code, message }) and the attempt is recorded in the audit log.
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": {
"orderId": "<orderId>",
"noteId": "<noteId>",
"text": "<text>",
"author": "<author>"
},
"name": "add_order_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| author | Yes | ||
| noteId | Yes | ||
| orderId | Yes |