Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/openai/openai-agents-python
/ function_with_context
Function
function_with_context
tests/test_function_schema.py:225–226 ·
view source on GitHub ↗
(ctx: RunContextWrapper[str], a: int, b: int = 5)
Source
from the content-addressed store, hash-verified
223
224
225
def
function_with_context(ctx: RunContextWrapper[str], a: int, b: int = 5):
226
return
a + b
227
228
229
def
test_function_with_context():
Callers
1
test_function_with_context
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected