最終更新:2026-05-14 (木) 19:27:16 (26d)  

agents.tool.FunctionTool
Top / agents.tool.FunctionTool

A tool that wraps a function.

https://openai.github.io/openai-agents-python/ref/tool/#agents.tool.FunctionTool

name
description
params_json_schemaThe JSON schema for the tool's parameters.
on_invoke_tool
strict_json_schema
is_enabled
tool_input_guardrails
tool_output_guardrails
needs_approval
timeout_seconds
timeout_behavior
timeout_error_function
defer_loading
qualified_name