use_preset_schema
Apply a bundled preset schema to your config.toml to activate schema validation. Optionally copy the schema file for editable customization.
Instructions
Wire a bundled preset schema into the user's config.toml.
By default this just sets schema = "<preset_name>" in config.toml
(lowest friction; keeps using the version-controlled bundled file).
Pass copy=true to copy the preset into output_path (or the user
config dir) and reference that copy via schema_path — use this when
the user wants a personal, editable copy.
Refuses to overwrite an existing target file when copy=true unless overwrite=true.
role is the MCP permission level to persist in config.toml. Pass
one of CONTRIBUTOR / GENERATOR / MANAGER (see propose_initialization_options
for descriptions). When omitted, CONTRIBUTOR is persisted so the server
leaves onboarding mode on next restart. Without persisting a role the
server stays stuck on the onboarding tool surface.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset_name | Yes | ||
| taxonomy_path | No | ||
| output_path | No | ||
| role | No | ||
| copy | No | ||
| overwrite | No | ||
| update_config | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |