본문으로 건너뛰기

ActorCreate

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

하나 이상(anyOf)
collection_idstring필수
nameName (string)필수

Possible values: non-empty and <= 128 characters, Value must match regular expression ^[a-z][a-z0-9_]{0,127}(?![\s\S])

alias object
하나 이상(anyOf)
string
descriptionDescription (string)필수

Description of the actor's functionality

function object필수

Execution function schema

sourceSource (string)필수
inputs object
property name*any
기본값: {}
outputs object
property name*any
기본값: {}
dependenciesstring[]
기본값: []
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)필수

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

    nameName (string)필수

    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]

    기본값: confirm
    is_builtinIs Builtin (boolean)
    기본값: 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": {}
    }