set_engagement_control
End or restore engagement between one agent and a specific consumer without blocking their whole tenant, optionally returning a fixed message and applying a day-based expiry.
Instructions
End or restore the engagement between one agent and one consumer, without blocking the consumer tenant-wide. Evaluated after the tenant denylist and before session control
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": {
"agent_id": "<agent_id>",
"user_key": "<user_key>",
"action": "<action>"
},
"name": "set_engagement_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | canned stops engagement and returns the fixed message; engage resumes engagement | |
| reason | No | Short operational reason | |
| message | No | Required for canned mode. Plain text without links or HTML. | |
| agent_id | Yes | Agent UUID | |
| user_key | Yes | Consumer identity, using the same key as consumer_key and person-scoped memory | |
| expires_in_days | No | Control expiry in days; omit for no expiry |