Interface AgentExampleResource

A resource an AgentExample needs: bind it in resource_bindings under slot, or let create_missing_resources create it when creatable.

interface AgentExampleResource {
    creatable: boolean;
    description: string;
    kind: string;
    label: string;
    memory_bank_type: null | string;
    named_in_create_of: string[];
    named_in_definition: boolean;
    named_in_trigger: boolean;
    placeholder: string;
    slot: string;
}

Properties

creatable: boolean

Whether create_missing_resources can create it. When false it must be bound to an existing resource.

description: string

What the slot is used for.

kind: string

Resource kind: knowledge_base, memory_bank, source_connection, mcp_client or cloud_drive_connection.

label: string

Display name of the slot.

memory_bank_type: null | string

For a memory_bank slot, the bank type a bound bank must have.

named_in_create_of: string[]

Slots whose creation uses this one.

named_in_definition: boolean

Whether the steps in definition name this slot.

named_in_trigger: boolean

Whether the entry's trigger names this slot; it applies only when the agent keeps the entry's trigger type.

placeholder: string

The id that stands for this resource in definition.

slot: string

Slot name, the key in resource_bindings.