MCPcopy
hub / github.com/openai/openai-agents-python / add

Function add

tests/test_function_schema.py:527–531  ·  view source on GitHub ↗
(
        a: Annotated[int, "First number to add"],
        b: Annotated[int, "Second number to add"],
    )

Source from the content-addressed store, hash-verified

525 """Test that Annotated metadata populates parameter descriptions when docstrings are ignored."""
526
527 def add(
528 a: Annotated[int, "First number to add"],
529 b: Annotated[int, "Second number to add"],
530 ) -> int:
531 return a + b
532
533 fs = function_schema(add, use_docstring_info=False)
534

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected