Apply a service template
template_applyWrite missing services for a multi-service stack into the local registry after template_plan review; return created/skipped counts. Existing names stay untouched; installs daemon unless disabled.
Instructions
Write a fixed built-in multi-service stack's missing services into the local registry; return per-service created-or-skipped actions and counts. Use template_apply after reviewing template_plan; recipe_apply registers one app-specific recipe with overrides instead. Existing names stay untouched. Installs the background service when absent unless no_daemon_install is true; never installs or starts third-party applications.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template name from template_list. | |
| no_daemon_install | No | Save configuration without installing the background service. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| applied | Yes | True only when the registry was written; template_plan always reports false. | |
| created | Yes | ||
| dry_run | Yes | ||
| skipped | Yes | ||
| summary | Yes | ||
| services | Yes | ||
| schema_version | Yes | ||
| daemon_installed | No | Present only when this call installed TSLink's background service, a persistent OS autostart entry; absent when the service already ran or no_daemon_install was true. |