Table of Contents

Class HandoffTarget

Namespace
Emissary
Assembly
Emissary.dll

Another agent this agent may transfer a conversation to. Unlike AsTool(string, string) — where a sub-agent answers a question and control returns — a handoff passes the whole conversation on: the target continues it with its own system prompt, tools, and contracts, and produces the final answer.

public sealed record HandoffTarget : IEquatable<HandoffTarget>
Inheritance
HandoffTarget
Implements
Inherited Members

Constructors

HandoffTarget(string, ClaudeAgent, string)

Another agent this agent may transfer a conversation to. Unlike AsTool(string, string) — where a sub-agent answers a question and control returns — a handoff passes the whole conversation on: the target continues it with its own system prompt, tools, and contracts, and produces the final answer.

public HandoffTarget(string Name, ClaudeAgent Agent, string Description)

Parameters

Name string

A short identifier, e.g. "billing"; becomes the tool handoff_to_billing.

Agent ClaudeAgent

The agent that takes over.

Description string

When to transfer, shown to the model choosing the target.

Properties

Agent

The agent that takes over.

public ClaudeAgent Agent { get; init; }

Property Value

ClaudeAgent

Description

When to transfer, shown to the model choosing the target.

public string Description { get; init; }

Property Value

string

Name

A short identifier, e.g. "billing"; becomes the tool handoff_to_billing.

public string Name { get; init; }

Property Value

string