> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Handoff Tool Policy • AI Agent SDK

> HandoffToolPolicy: Policy for tool boundary enforcement during handoff.

# HandoffToolPolicy

> Defined in the [**handoff**](../modules/handoff) module.

<Badge color="blue">AI Agent</Badge>

Policy for tool boundary enforcement during handoff.

Defines how tools are filtered when handing off to a target agent.
Default mode is 'intersect' for security by default - sub-agents only
get tools that both they and the source agent have access to.

Attributes:
mode: Tool filtering mode

* "intersect": Target gets intersection of source and target tools (DEFAULT - secure)
* "passthrough": Target keeps its full tool set (legacy behavior - opt-in)
  blocked\_tools: List of tool names to always strip, regardless of intersection

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%

graph LR
    agent["Agent"] -- "uses" --> tool["Tool: HandoffToolPolicy"]
    tool -- "returns" --> result["Result"]
    style tool fill:#189AB4,color:#fff
    style agent fill:#8B0000,color:#fff
    style result fill:#8B0000,color:#fff
```

## Properties

<ResponseField name="mode" type="Literal">
  No description available.
</ResponseField>

<ResponseField name="blocked_tools" type="List[str]">
  No description available.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/handoff.py#L52">
  `praisonaiagents/agent/handoff.py` at line 52
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Tools Concept" icon="wrench" href="/docs/docs/concepts/tools" />

  <Card title="Create Custom Tools" icon="plus" href="/docs/docs/guides/tools/create-custom-tools" />

  <Card title="Tool Development" icon="code" href="/docs/docs/tutorials/advanced-tool-development" />

  <Card title="Handoffs Concept" icon="hand-holding" href="/docs/docs/concepts/handoffs" />

  <Card title="Handoffs Feature" icon="arrow-right-arrow-left" href="/docs/docs/features/handoffs" />
</CardGroup>
