macaroni

invoke

Description:
The invoke executor is used to invoke a published function from another command.

Parent: execute, then, else

Value (simple form): string specifying the name of the function
Value (key/value form):

# simple form
- invoke: (string)

# simple example
- invoke: openAiCompleteSelectedTextPutOnClipboard

# key/value form
- invoke: (string, required)
  properties: (mapping, optional)

# key/value example
- invoke: openAiCompleteText
  properties:
    text: {clipboard.text}

Additional information: