change_letter_status
Update a letter's status to draft, sent, or deleted, with an optional timestamp for the change.
Instructions
Changes status of specified letter
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": {
"letter_id": "<letter_id>",
"status": "<status>"
},
"name": "change_letter_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| letter_id | Yes | letter ID | |
| status | Yes | status of letter, possible values: DR - draft, S - sent, D - deleted (but still visible) | |
| date_time | No | optional date time of a change in Y-m-d H:i:s format (if none specified current date time will be taken) |