Delete message
nextcloud_delete_messageDelete a specific chat message in Nextcloud Talk using its token and message ID.
Instructions
Delete one chat message.
DELETE /ocs/v2.php/apps/spreed/api/v1/chat/{token}/{message_id}
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": {
"token": "<token>",
"message_id": "<message_id>"
},
"name": "nextcloud_delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| confirm | No | Explicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt. | |
| message_id | Yes |