Delete a message
delete_messageDelete a chat message by providing its message_id. Optionally specify the oase_id to target a specific chat; defaults to the last joined oase. The message is soft-deleted, showing as removed.
Instructions
Delete a chat message (soft delete — it shows as removed in the app). Get the message_id from send_message or read_messages output. Omit oase_id to use the default (last joined) oase. You can delete your own messages; deleting someone else's requires being an oase admin/owner, otherwise the backend rejects it.
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": {
"message_id": "<message_id>"
},
"name": "delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oase_id | No | Target oase id. Defaults to the last joined oase. | |
| message_id | Yes | Id of the message to delete. |