list_rules
Show Karabiner-Elements complex modification rules for a profile, including enabled status, source file, and optional uninstalled rules, to review and manage keyboard remappings.
Instructions
List Karabiner-Elements complex modification rules for a profile.
Returns each rule's description, enabled/disabled status, whether it's installed in karabiner.json, and its source asset file. Rules are listed in priority order (first match wins in Karabiner).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_index | No | Profile index (0-based). Omit to use the currently selected profile. | |
| include_available | No | Also show rules from asset files not yet installed in the profile. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |