openai-tools

Get Schema

Get tool definitions in OpenAI function calling format.

Returns tools ready to use with OpenAI's chat completions API or Responses API.

Example usage with OpenAI:

import openai

# Get tools from this endpoint
tools_response = requests.get(
    "https://api.accurecord.io/tools/openai/schema",
    headers={"X-API-Key": "your_key"}
)
tools = tools_response.json()["tools"]

# Use with OpenAI
response = openai.chat.completions.create(
    model="gpt-4",
    messages=[{"role": "user", "content": "Code diabetes with CKD"}],
    tools=tools,
    tool_choice="auto"
)
get/tools/openai/schema

Request

  • Base URL: https://api.accurecord.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.accurecord.io/tools/openai/schema
  • Auth: none declared

Headers

x-api-keystring nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.