Connect OpenAI models to your AgentRPC tools
rpc.openai.agents.get_tools()
get_tools()
method returns your registered AgentRPC functions as OpenAI Agent tools.
rpc.openai.completions.get_tools()
get_tools()
method returns your registered AgentRPC functions formatted as OpenAI tools, ready to be passed to OpenAI’s API.
rpc.openai.completions.execute_tool(tool_call)
execute_tool()
method executes an OpenAI tool call against your registered AgentRPC functions.
rpc.OpenAI
object to get tools formatted for the OpenAI Completions SDK.