Skip to main content

ActorCreate

Payload used to create Actor. Required fields are name, description, function.

nameName (string)required
alias object
anyOf
string
descriptionDescription (string)required

Description of the actor's functionality

function objectrequired

Execution function schema

sourceSource (string)required
inputs object
property name*any
Default value: {}
outputs object
property name*any
Default value: {}
dependenciesstring[]
Default value: []
decorators object[]

Decorator bindings declared in configuration. Configured bindings take precedence over source bindings with the same kind and name; an empty list uses source bindings only.

  • Array [
  • decoratorDecorator (string)required

    Decorator name, such as use_connector or use_llm. The name must identify a supported decorator.

    nameName (string)required

    Binding variable name injected into the namespace

    arguments object

    Decorator arguments, e.g. {'ref':...} or {'model':...}

    property name*any

    Decorator arguments, e.g. {'ref':...} or {'model':...}

  • ]
  • collection_id object

    Identifier of the containing collection.

    anyOf
    string

    Possible values: non-empty

    folder_id object
    anyOf
    string
    tags object
    anyOf
  • Array [
  • string
  • ]
  • confirmation_policyConfirmation Policy (string)

    Execution confirmation policy

    Possible values: [auto, confirm, deny]

    Default value: confirm
    is_builtinIs Builtin (boolean)
    Default value: false
    options object
    anyOf
    object
    ActorCreate
    {
    "name": "string",
    "alias": "string",
    "description": "string",
    "function": {
    "source": "string",
    "inputs": {},
    "outputs": {},
    "dependencies": [
    "string"
    ],
    "decorators": [
    {
    "decorator": "string",
    "name": "string",
    "arguments": {}
    }
    ]
    },
    "collection_id": "string",
    "folder_id": "string",
    "tags": [
    "string"
    ],
    "confirmation_policy": "confirm",
    "is_builtin": false,
    "options": {}
    }