Add a data source, or stop reading one
set_platform_senderMarks a sender's domain as a data source whose email Sergio reads and files, as Data Sources does: domain is the sender's domain, or one full email address to read only that mailbox (a personal Gmail forwarding lead alerts) while every other sender at its domain stays ordinary mail; action 'preview' returns the leads its recent mail would produce and writes nothing; action 'tick' (the default) adds it; action 'untick' stops reading it. purpose says what it sends: 'booking_updates' (the default) or 'leads'. This is inbound only; nothing is sent. Pass the same idempotency_key when retrying; a repeat returns the first result.
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": {
"domain": "<domain>",
"idempotency_key": "<idempotency_key>"
},
"name": "set_platform_sender"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | tick | |
| domain | Yes | ||
| purpose | No | booking_updates | |
| idempotency_key | Yes | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |