Skip to main content

Workbook (reusable blocks) — Canonical v10

workbook is optional. In Canonical v10 it is reserved for a catalog of named reusable tasks/templates. It is not required for the canonical baseline.

Canonical placeholder shape:

workbook:
tasks:
fetch_assessments:
kind: http
method: GET
url: "{{ workload.api_url }}/api/v1/assessments"

How workbook entries are expanded/invoked is runtime/compiler-defined. Keep workbook entries in the same kind: task shape used in step.tool so they can be inlined/compiled safely.

See also

  • documentation/docs/reference/dsl/playbook_structure.md