Skip to main content

builtin_ask

Function builtin_ask 

Source
pub async fn builtin_ask(
    args: &[DslValue],
    ctx: &ReasoningBuiltinContext,
) -> Result<DslValue>
Expand description

Execute the ask builtin: send a message to a named agent and wait for response.

Arguments:

  • agent: string — agent name
  • message: string

Returns the agent’s response as a string.