# `Jido.Agent.Directive.AdoptChild`
[🔗](https://github.com/agentjido/jido/blob/v2.3.0/lib/jido/agent/directive.ex#L379)

Attach an orphaned or unattached child agent to the current parent.

This directive is the explicit reattachment path for Jido's logical
hierarchy. It updates the live child runtime so the child can resume
parent-directed communication with `emit_to_parent/3`.

Adoption is explicit. Jido does not automatically reconnect children
when a logical parent restarts.

Adoption updates the live runtime and the instance `Jido.RuntimeStore`
binding, so later child restarts rehydrate the adopted parent relationship.

## Fields

- `child` - Child PID or child agent id to adopt
- `tag` - Tag for tracking this adopted child
- `meta` - Metadata to write into the child's new parent reference

# `t`

```elixir
@type t() :: %Jido.Agent.Directive.AdoptChild{child: any(), meta: map(), tag: any()}
```

# `schema`

```elixir
@spec schema() :: Zoi.schema()
```

Returns the Zoi schema for AdoptChild.
