send_chatwork_message
Post a message to a Chatwork room — sends for real, at most once per draft. Requires draft_fingerprint from create_chatwork_draft for this exact account/room/body; a missing or mismatching fingerprint is refused before anything is sent. Before calling, show the final body to the user and get an explicit yes. The same message (same account, room, text and reply target — even from a NEW draft) is refused for 24 hours after it was sent (chatwork_duplicate_send), and while an earlier attempt is in progress or ended unknown (chatwork_prior_send_unknown); re-drafting does not get around this. If the result is chatwork_delivery_unknown (timeout, dropped connection, unreadable response, server error) the message MAY have been posted: do NOT resend — open the room (read_chatwork_room) to check, and tell the user. allow_duplicate: true sends another copy: set it ONLY after checking the room AND getting the user's explicit confirmation that another copy is wanted — never on your own. chatwork_send_not_attempted means nothing went out (a step before sending failed) and trying again is safe.
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": {
"room_id": "<room_id>",
"body": "<body>",
"draft_fingerprint": "<draft_fingerprint>"
},
"name": "send_chatwork_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The FINAL body exactly as returned by create_chatwork_draft and shown to the user. | |
| account | No | Chatwork account label (see list_accounts). Required when more than one Chatwork account is connected and connection_id is not given. | |
| room_id | Yes | Chatwork room id (digits, from list_chatwork_rooms). | |
| connection_id | No | Connection id from list_chatwork_rooms / list_accounts. Takes precedence over `account` when two connections share a label. | |
| allow_duplicate | No | Set true ONLY after the user has checked the room AND explicitly confirmed a second send is wanted (after an unknown or duplicate result). Never set it on your own. | |
| draft_fingerprint | Yes | REQUIRED: draft_fingerprint from create_chatwork_draft for this exact account/room/body. |