koru-shield
v1.0.1Manage Koru Shield DNS filtering: profiles, rules, categories, schedules, and logs.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_profiles
List all DNS protection profiles on the account (e.g. Kids, Work, IoT).
get_profile
Get details of a single profile.
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Profile ID (use list_profiles to discover IDs) |
list_rules
List custom allow/deny rules for a profile.
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Profile ID (use list_profiles to discover IDs) |
create_rule
Create a custom allow or deny rule for a domain on a profile. Use kind=deny to block a domain, kind=allow to explicitly permit it.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain to match, e.g. tiktok.com (matches subdomains) |
kind * | string | allow to permit, deny to block |
profile_id * | string | Profile ID (use list_profiles to discover IDs) |
note | string | Human-readable note for why this rule exists |
delete_rule
Delete a custom rule from a profile. Destructive: the rule stops applying immediately.
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Profile ID (use list_profiles to discover IDs) |
rule_id * | string | Rule ID (use list_rules to discover IDs) |
list_filter_categories
List filter categories (adult content, gambling, social media, etc.) and whether each is enabled on a profile.
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Profile ID (use list_profiles to discover IDs) |
set_filter_category
Enable or disable a filter category on a profile.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | true to enable blocking, false to disable |
profile_id * | string | Profile ID (use list_profiles to discover IDs) |
slug * | string | Category slug, e.g. adult, gambling, social-media (see list_filter_categories) |
simulate_policy
Check what the profile policy would do for a domain right now: allowed, blocked, and why. Does not change anything.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain to test, e.g. example.com |
profile_id * | string | Profile ID (use list_profiles to discover IDs) |
get_logs
Get recent DNS query logs: what was queried, allowed or blocked, and when. Useful for reviewing activity or investigating a block.
| Parameter | Type | Description |
|---|---|---|
action | string | Filter by action |
limit | integer | Max entries to return |
profile_id | string | Filter to one profile (omit for all) |
analytics_summary
Summary of DNS activity: total queries, blocked vs allowed counts, blocked percentage, IPv4/IPv6, encrypted queries.
| Parameter | Type | Description |
|---|---|---|
from | string | Start of window, RFC3339 timestamp (default: last 24h) |
profile_id | string | Filter to one profile (omit for account-wide) |
to | string | End of window, RFC3339 timestamp |
list_schedules
List time-based schedules on a profile (e.g. bedtime 21:00-07:00 on weekdays).
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Profile ID (use list_profiles to discover IDs) |
create_schedule
Create a time-based schedule on a profile. Rules and filter categories can reference schedules to apply only during the window.
| Parameter | Type | Description |
|---|---|---|
days * | array | Days of week, e.g. ["mon","tue","wed","thu","fri"] |
end * | string | HH:MM 24h, e.g. 21:00 |
name * | string | Schedule name, e.g. Bedtime |
profile_id * | string | Profile ID (use list_profiles to discover IDs) |
start * | string | HH:MM 24h, e.g. 21:00 |
timezone * | string | IANA timezone, e.g. America/Chicago |
delete_schedule
Delete a schedule from a profile. Destructive: rules referencing it lose their time window.
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Profile ID (use list_profiles to discover IDs) |
schedule_id * | string | Schedule ID (use list_schedules to discover IDs) |
list_devices
List devices enrolled on a profile and their protection status.
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Profile ID (use list_profiles to discover IDs) |
get_entitlements
Get the account plan, limits (max rules, profiles, devices), and current usage.
get_referral_code
Get the account referral code and link for the give-a-month-get-a-month program.