install_method_spec
Install an Open Facilitation Library method spec as a runnable Harmonica chain template. Supports dry-run preview and updating existing templates.
Instructions
Install an OFL method spec (the contents of a method.md file) as a runnable Harmonica chain template. Pass the full method.md text as method_md. Use dry_run to preview the generated chain_config without writing anything. Chain templates need a paid (Pro/LTD) account; Free is capped at 3 steps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Overwrite a template that has local admin edits since install. Default false. | |
| dry_run | No | If true, return the generated chain_config without creating a template. Default false. | |
| registry | No | Registry the spec came from. Default 'Open-Facilitation-Library/method-specs'. | |
| is_public | No | Make the installed template public. Default false — drafts and CC-licensed specs should stay private. | |
| method_md | Yes | Full contents of the method.md spec file (YAML frontmatter + body). | |
| template_id | No | Update this existing template (PATCH) instead of creating a new one. | |
| update_if_exists | No | If no template_id, update an owned chain template with the same title instead of creating a duplicate. Default false. |