---
type: email
from: Wen-Tien Chang <notifications@github.com>
subject: Re: [openai/openai-agents-python] Expose Tool Call ID to Lifecycle

 Hooks (Issue #1849)
received: 2026-03-06 07:55:48
date_header: Thu, 02 Oct 2025 19:19:59 -0700
priority: normal
status: awaiting_approval
uid: 31809
---

## Email Content

**From:** Wen-Tien Chang <notifications@github.com>
**Subject:** Re: [openai/openai-agents-python] Expose Tool Call ID to Lifecycle

 Hooks (Issue #1849)
**Date:** Thu, 02 Oct 2025 19:19:59 -0700

### Body (preview)

ihower left a comment (openai/openai-agents-python#1849)



@ElliotAtKlaviyo You can refer to https://github.com/openai/openai-agents-python/blob/main/examples/basic/lifecycle_example.py example.



In both on_tool_start and on_tool_end hooks, you already have access to `context.tool_call_id`, which lets you distinguish between different tool calls. That should meet your requirement.



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/issues/1849#issuecomment-3363908938

You are receiving this because you are subscribed to this thread.



Message ID: <openai/openai-agents-python/issues/1849/3363908938@github.com>

---

## Suggested Actions
- [ ] Reply
- [ ] Archive
- [ ] Escalate
