host_setup
Establish managed instruction configurations for supported agent hosts. Plan changes or apply rules to ensure consistent behavioral policies across all your AI workflows.
Instructions
Plan or apply managed instruction configuration for a supported agent host. Use after project initialization; use host_check to validate an existing configuration and sync_instructions to refresh active rules. force=false returns a plan; force=true applies managed changes through the snapshot/audit pipeline. It does not mean unrestricted overwrite of unmanaged files. Returns planned changes, validation, manual steps, warnings, and write references.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Apply managed host configuration when true. Defaults to false for planning; does not bypass unmanaged-content protections. | |
| host_id | Yes | Supported host registry ID, for example codex or claude_code; use the ID rather than a display name. | |
| max_chars | No | Maximum managed instruction block length in characters. Defaults to 4000; both line and character limits apply. | |
| max_lines | No | Maximum managed instruction block length in lines. Defaults to 100; used together with max_chars and host policy limits. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||