DocsCommontoolsHandoffToolInput
Package: @hexos/common

Input schema for auto-generated handoff tools (handoff_to_<agentId>).

The LLM provides a reason for the handoff and optional context to pass to the target agent. This schema is validated via Zod before execution.

Related: HandoffResult is the output, generateHandoffTools creates these tools.

interface HandoffToolInput {
    reason: string;
    context?: string;
}

reason

string

context

string