Block App
safelagoon_block_appBlock one app on a SafeLagoon child's device. Identify it by package name (most reliable) or by the name shown on the device.
If the name matches more than one app, this returns the candidates and changes nothing, so you can ask which was meant.
This is a permanent block until it is removed. To restrict an app only during certain hours, create a blocking window with safelagoon_create_schedule instead.
The parent portal renders this result as a card. Do not repeat the card data as a table or list; one short insight is enough.
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": {
"profile_id": "<profile_id>",
"app": "<app>"
},
"name": "safelagoon_block_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| profile_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| blocked | No | ||
| package | No | ||
| enforcement | No | ||
| profile_name | No | ||
| already_blocked | No |