Header menu logo Nao

AgentAction Type

An action the agent decides to take after reasoning about user input. The orchestrator parses LLM output into one of these actions.

Union cases

Union case Description

DelegateToAgent(agentName, input)

Full Usage: DelegateToAgent(agentName, input)

Parameters:
    agentName : string
    input : string

Delegate the task to another agent by name

agentName : string
input : string

InvokeTool(toolName, input)

Full Usage: InvokeTool(toolName, input)

Parameters:
    toolName : string
    input : string

Invoke a tool by name with the given input

toolName : string
input : string

Respond string

Full Usage: Respond string

Parameters:
    Item : string

Respond directly to the user with the given text

Item : string

Think string

Full Usage: Think string

Parameters:
    Item : string

Internal reasoning step (chain-of-thought) — not shown to user

Item : string

Instance members

Instance member Description

this.IsDelegateToAgent

Full Usage: this.IsDelegateToAgent

Returns: bool
Returns: bool

this.IsInvokeTool

Full Usage: this.IsInvokeTool

Returns: bool
Returns: bool

this.IsRespond

Full Usage: this.IsRespond

Returns: bool
Returns: bool

this.IsThink

Full Usage: this.IsThink

Returns: bool
Returns: bool

Type something to start searching.