MCPcopy Index your code
hub / github.com/openai/openai-agents-python / FuncDocumentation

Class FuncDocumentation

src/agents/function_schema.py:80–88  ·  view source on GitHub ↗

Contains metadata about a Python function, extracted from its docstring.

Source from the content-addressed store, hash-verified

78
79@dataclass
80class FuncDocumentation:
81 """Contains metadata about a Python function, extracted from its docstring."""
82
83 name: str
84 """The name of the function, via `__name__`."""
85 description: str | None
86 """The description of the function, derived from the docstring."""
87 param_descriptions: dict[str, str] | None
88 """The parameter descriptions of the function, derived from the docstring."""
89
90
91DocstringStyle = Literal["google", "numpy", "sphinx"]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected