LangGraphDelegation
The root tool call that started a child graph. The middleware's binding event states the relation; without one the session infers it from the task text and from which calls are outstanding.
import type { LangGraphDelegation } from '@threadplane/langgraph';Declaration
export interface LangGraphDelegation {
readonly description?: string;
readonly name: string;
readonly status?: 'running' | 'complete' | 'error';
readonly toolCallId: string;
}Members
description
The task the root agent gave the child, from the call's description.
readonly description?: string;name
The subagent_type the root agent asked for.
readonly name: string;status
What the call itself says about the child: complete or error once the
call has a result, and running for a child restored from history whose
task is outstanding. Absent while only the child graph can tell.
readonly status?: 'running' | 'complete' | 'error';toolCallId
readonly toolCallId: string;