Reference
lg_broadcasts_update: Disable or limit a broadcast destination
Change a broadcast destination: disable it, or lower its sampling or monthly ceiling. Enabling or raising them is done by a person.
- Changes data: yes
- Credential scope:
gateway:write(an API key's scopes, or what you allowed when connecting with OAuth) - Assistant level: an assistant at Full; a lower level is refused
Inputs
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
body | object (enabled, sample_percent, monthly_ceiling, include_bodies) | no | |
body.enabled | boolean | no | |
body.sample_percent | integer | no | |
body.monthly_ceiling | integer | no | |
body.include_bodies | boolean | no |
Example MCP call
A tools/call request to https://manage.restolayer.com/mcp:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "lg_broadcasts_update",
"arguments": {
"id": "bd_01jabcdefghjkmnpqrstvwxyz0",
"body": {
"enabled": false
}
}
}
}Example REST call
The same thing over REST (PATCH /v1/broadcasts/:id):
curl -s -X PATCH "https://manage.restolayer.com/v1/broadcasts/bd_01jabcdefghjkmnpqrstvwxyz0" \
-H "Authorization: Bearer $LG_API_KEY" \
-H "Content-Type: application/json" \
-d '{"enabled":false}'All tools: MCP tools. Connecting: connect your assistant.