Execute an OpenAI request with optional built-in tools enabled (web search, file search, code interpreter, etc.). Returns AI-generated content with response metadata attached as attributes.
Usage
openai_with_tools(
prompt,
sys_prompt = NULL,
tools = list(),
ml = NULL,
temp = 1,
store = FALSE
)See also
Other openai-tools:
tool_code_interpreter(),
tool_computer_use(),
tool_file_search(),
tool_mcp(),
tool_web_search()
