Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/openai-agents-python
/ approval_echo
Function
approval_echo
tests/test_hitl_session_scenario.py:42–44 ·
view source on GitHub ↗
(query: str)
Source
from the content-addressed store, hash-verified
40
needs_approval=True,
41
)
42
def
approval_echo(query: str) -> str:
43
execute_counts[TOOL_ECHO] = execute_counts.get(TOOL_ECHO, 0) + 1
44
return
f
"approved:{query}"
45
46
47
@function_tool(
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected