MCPcopy
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)
42def 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

getMethod · 0.45

Tested by

no test coverage detected