set_active_schema
Switch the active task schema using a preset name or custom TOML file path. Validate inputs with dry_run before applying changes.
Instructions
Switch the active task schema.
Exactly one of schema_name (a bundled preset such as
'minimal' / 'gtd' / 'kanban' / 'scrum') or schema_path
(an absolute path to a custom TOML schema) must be provided.
Set dry_run=true to validate the inputs and preview the
config write without touching config.toml — useful for
confirming a preset name spells correctly or a schema_path
exists before committing. Returns code="dry_run" per ADR 14.
Updates config.toml and triggers an in-process reload so the change takes effect immediately (ADR 19). Does not mutate any Taskwarrior tasks. Available at CONTRIBUTOR level and above — switching the validation lens is a horizontal move, not a privilege change (ADR 17).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_name | No | ||
| schema_path | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |