Skip to content
Hyperpocket documentation
Toggle navigation menu
⌘
K
Hyperpocket documentation
/
hyperpocket_openai.util.tool_to_open_ai_spec
hyperpocket_openai.util.tool_to_open_ai_spec
#
Functions
#
tool_to_open_ai_spec
(→ dict)
Module Contents
#
hyperpocket_openai.util.tool_to_open_ai_spec.
tool_to_open_ai_spec
(
tool
:
hyperpocket.tool.Tool
,
use_profile
:
bool
)
→
dict
#