invokeDescription:
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):
invoke: string, required, specifying the name of the functionproperties: mapping, optional, specifying a set of name/value properties available to the published function# 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:
published and invoked function:
invoke.PROPERTY - e.g. {invoke.text}