koru-shield

v1.0.1
com.korushield/koru-shield Checked 1 day ago Published 1 month ago

Manage 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.

ParameterTypeDescription
profile_id *stringProfile ID (use list_profiles to discover IDs)

list_rules

List custom allow/deny rules for a profile.

ParameterTypeDescription
profile_id *stringProfile 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.

ParameterTypeDescription
domain *stringDomain to match, e.g. tiktok.com (matches subdomains)
kind *stringallow to permit, deny to block
profile_id *stringProfile ID (use list_profiles to discover IDs)
notestringHuman-readable note for why this rule exists

delete_rule

Delete a custom rule from a profile. Destructive: the rule stops applying immediately.

ParameterTypeDescription
profile_id *stringProfile ID (use list_profiles to discover IDs)
rule_id *stringRule 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.

ParameterTypeDescription
profile_id *stringProfile ID (use list_profiles to discover IDs)

set_filter_category

Enable or disable a filter category on a profile.

ParameterTypeDescription
enabled *booleantrue to enable blocking, false to disable
profile_id *stringProfile ID (use list_profiles to discover IDs)
slug *stringCategory 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.

ParameterTypeDescription
domain *stringDomain to test, e.g. example.com
profile_id *stringProfile 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.

ParameterTypeDescription
actionstringFilter by action
limitintegerMax entries to return
profile_idstringFilter to one profile (omit for all)

analytics_summary

Summary of DNS activity: total queries, blocked vs allowed counts, blocked percentage, IPv4/IPv6, encrypted queries.

ParameterTypeDescription
fromstringStart of window, RFC3339 timestamp (default: last 24h)
profile_idstringFilter to one profile (omit for account-wide)
tostringEnd of window, RFC3339 timestamp

list_schedules

List time-based schedules on a profile (e.g. bedtime 21:00-07:00 on weekdays).

ParameterTypeDescription
profile_id *stringProfile 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.

ParameterTypeDescription
days *arrayDays of week, e.g. ["mon","tue","wed","thu","fri"]
end *stringHH:MM 24h, e.g. 21:00
name *stringSchedule name, e.g. Bedtime
profile_id *stringProfile ID (use list_profiles to discover IDs)
start *stringHH:MM 24h, e.g. 21:00
timezone *stringIANA timezone, e.g. America/Chicago

delete_schedule

Delete a schedule from a profile. Destructive: rules referencing it lose their time window.

ParameterTypeDescription
profile_id *stringProfile ID (use list_profiles to discover IDs)
schedule_id *stringSchedule ID (use list_schedules to discover IDs)

list_devices

List devices enrolled on a profile and their protection status.

ParameterTypeDescription
profile_id *stringProfile 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.