switch_set_content_restriction_level
Set the age-rating content restriction level for all games on a Nintendo Switch device, choosing NONE, CHILDREN, YOUNG_TEENS, OLDER_TEENS, or CUSTOM to control which games may start.
Instructions
Set which games may start, by age rating, for all apps of a device.
Use it to change the age rating filter: NONE, CHILDREN, YOUNG_TEENS, OLDER_TEENS or CUSTOM. To allow one blocked app use switch_set_app_allow_list instead. Returns a confirmation.
Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.
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": {
"device_id": "<device_id>",
"level": "<level>"
},
"name": "switch_set_content_restriction_level"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Content restriction level: 'NONE' (no restriction), 'CHILDREN' (young child), 'YOUNG_TEENS', 'OLDER_TEENS' (teen), or 'CUSTOM'. | |
| device_id | Yes | The unique device ID. Use switch_list_devices to find it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |