Skip to content

cub invocation invoke

cub invocation invoke

Execute a stored Invocation (get/set/vet by operation class)

Synopsis

Execute a stored Invocation, supplying values for its declared parameters.

The operation class is selected by the verb so that an AI agent's permissions can be constrained by the command, mirroring 'cub function get/set/vet':

cub invocation invoke get # non-mutating Invocations only cub invocation invoke set # mutating Invocations only cub invocation invoke vet # validating Invocations only

To execute fully-bound (non-parameterized) Invocations, possibly several at once, use 'cub function do --invocation' (and its verb-scoped forms).

Options

  -h, --help   help for invoke

Options inherited from parent commands

      --component string   the Component of --variant, when that names the variant alone; --variant <component>/<variant> says the same in one flag
      --context string     The context to use for this command
      --debug              Debug output
      --space string       space to operate in, by slug or UUID. Omitted, a list or bulk operation spans the organization and a single entity is named as <space>/<slug>
      --variant string     variant to operate in, as <component>/<variant>, or as <variant> with --component: the space naming that Component whose Variant label is <variant>. The same scope as --space, named by what it is rather than by the space's slug; the two cannot be combined

SEE ALSO