Bloquear promoções
aspa_block_promotionsTurn 'Bloquear Promoções' on or off for a contact to block or allow promotional messages, only after explicit user approval.
Instructions
Turn 'Bloquear Promoções' on or off for a contact. This is a real action visible to the customer or the team. Only call it after the user explicitly approved this exact action in the conversation.
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": {
"contact": "<contact>",
"blocked": "<blocked>"
},
"name": "aspa_block_promotions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Index from aspa_list_conversations, only to tell apart contacts with the same name. | |
| blocked | Yes | ||
| contact | Yes | Contact name exactly as listed. Required for every action that changes a conversation. | |
| conversation_id | No | conversation_id returned by aspa_read_conversation. When given, the action is refused if the open conversation is a different one. |