# PreparedHookInvocation

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/hooks/runtime/PreparedHookInvocation)

Client-only materialization needed to build one hook wire envelope.

## Signature

```python
PreparedHookInvocation(
    self,
    invocation: HookInvocation,
    transcript_path: Path,
    transcript_revision: str,
    agent_transcript_path: Path | None = None,
    agent_transcript_revision: str | None = None,
)
```

## Constructors

```python
__init__(
    self,
    invocation: HookInvocation,
    transcript_path: Path,
    transcript_revision: str,
    agent_transcript_path: Path | None = None,
    agent_transcript_revision: str | None = None,
) -> None
```

| Name | Type |
|------|------|
| `invocation` | `HookInvocation` |
| `transcript_path` | `Path` |
| `transcript_revision` | `str` |
| `agent_transcript_path` | `Path \| None` |
| `agent_transcript_revision` | `str \| None` |


## Properties

- `invocation`
- `transcript_path`
- `transcript_revision`
- `agent_transcript_path`
- `agent_transcript_revision`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e4c1ffe9ee63d7854147de490ca27495ef157a7b/libs/code/deepagents_code/hooks/runtime.py#L37)