Inspect i3 Configuration
get_configInspect the i3/Sway configuration state: version, compositor type, loaded config path, and binding modes. Optionally include the full config text.
Instructions
Inspect i3/Sway configuration state in one call: version, whether the compositor is Sway, the loaded config path and (optionally) its full text, plus configured and active binding modes. Read-only. Set include_config_text=false to skip the potentially large config body. This is the only config-introspection tool; live layout comes from get_tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_config_text | No | Include the full config file text (can be large). Default true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_sway | Yes | True when the running compositor identifies as Sway. | |
| version | Yes | Human-readable i3/Sway version, e.g. '4.25.1'. | |
| config_text | No | Full text of the loaded config, or null when not requested. | |
| binding_modes | No | Names of all configured binding modes. | |
| loaded_config_path | No | Path of the loaded config file, if reported. | |
| active_binding_mode | No | Currently active binding mode name, or null if unsupported by the WM. |