Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:Elevenlabs Elevenlabs python WorkflowStandaloneAgentNodeModelInput

From Leeroopedia
Revision as of 12:27, 16 February 2026 by Admin (talk | contribs) (Auto-imported from implementations/Elevenlabs_Elevenlabs_python_WorkflowStandaloneAgentNodeModelInput.md)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Attribute Value
Page Type Implementation
Language Python
SDK elevenlabs
Class WorkflowStandaloneAgentNodeModelInput
Source File src/elevenlabs/types/workflow_standalone_agent_node_model_input.py
Auto-Generated Yes (Fern API Definition)

Overview

Description

WorkflowStandaloneAgentNodeModelInput is a Pydantic model representing the input configuration for a standalone agent transfer node within a conversational AI workflow. It defines how a conversation is transferred to a completely separate agent, with options for an artificial delay, a pre-transfer message, and whether the receiving agent should send its first message after the transfer.

Usage

This model is used when defining or updating a standalone agent node in a workflow graph. Unlike the override agent node, a standalone agent node transfers the conversation to an entirely different agent identified by its ID. This is useful for routing conversations between distinct agents that may have different configurations, knowledge bases, and tools.

Code Reference

Source Location

src/elevenlabs/types/workflow_standalone_agent_node_model_input.py

Class Signature

class WorkflowStandaloneAgentNodeModelInput(UncheckedBaseModel):
    ...

Import Statement

from elevenlabs.types import WorkflowStandaloneAgentNodeModelInput

I/O Contract

Field Name Type Required Description
position typing.Optional[PositionInput] No Position of the node in the workflow.
edge_order typing.Optional[typing.List[str]] No The IDs of outgoing edges in the order they should be evaluated.
agent_id str Yes The ID of the agent to transfer the conversation to.
delay_ms typing.Optional[int] No Artificial delay in milliseconds applied before transferring the conversation.
transfer_message typing.Optional[str] No Optional message sent to the user before the transfer is initiated.
enable_transferred_agent_first_message typing.Optional[bool] No Whether to enable the transferred agent to send its configured first message after the transfer.

Model Configuration:

  • Frozen (immutable) model
  • Allows extra fields
  • Supports both Pydantic v1 and v2

Usage Examples

Minimal standalone agent node

from elevenlabs.types import WorkflowStandaloneAgentNodeModelInput

node = WorkflowStandaloneAgentNodeModelInput(
    agent_id="agent_abc123",
)

Standalone agent node with transfer options

from elevenlabs.types import WorkflowStandaloneAgentNodeModelInput

node = WorkflowStandaloneAgentNodeModelInput(
    agent_id="agent_billing_dept",
    delay_ms=2000,
    transfer_message="Please hold while I transfer you to our billing department.",
    enable_transferred_agent_first_message=True,
    edge_order=["edge_complete", "edge_fallback"],
)

Standalone agent node with position

from elevenlabs.types import (
    WorkflowStandaloneAgentNodeModelInput,
    PositionInput,
)

node = WorkflowStandaloneAgentNodeModelInput(
    agent_id="agent_tech_support",
    position=PositionInput(x=250, y=400),
    transfer_message="Connecting you to technical support now.",
)

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment