runtime generate
Print a runtime create template (YAML or JSON).
Description
Print a commented agent-runtime create template to stdout. Save it, fill it in,
and apply with grn agentbase runtime create --file <file>.
The template ships with imageAuth: {enabled: false} — the API requires the
field, and enabled: false is the public-image default. For a private
registry, enable it and fill in username/password (send-only) or set
useAgentBaseRegistryCredentials. The same file (minus the create-only poc,
keeping name) feeds runtime update --file.
Defaults to YAML (with comments); pass -o json for a JSON skeleton.
Synopsis
Options
This command takes no command-specific options. Use the global -o, --output
flag to switch the emitted template format: default table (YAML template) or
json (JSON skeleton).
Global options
All grn agentbase commands accept:
-o, --output json|table|id— output format (defaulttable)-i, --interactive— prompt for missing required parameters- The shared
grnglobal options:--profile,--region,--query,--endpoint-url,--debug
Examples
Print the default YAML template and save it:
Print a JSON skeleton: