---
title: "Function-calling schemas for OpenAI"
method: GET
path: "/tools/openai"
tags: ["Tools"]
---

# Function-calling schemas for OpenAI

`GET /tools/openai`

Returns the full Urantia Papers API tool catalog as ready-to-use OpenAI function-calling schemas.

Drop into any OpenAI Chat Completions or Assistants call:

```ts
const { tools } = await fetch("https://api.urantia.dev/tools/openai").then(r => r.json());
const completion = await openai.chat.completions.create({
  model: "gpt-5",
  messages,
  tools, // ready to go
});
```

Each tool corresponds 1:1 with an MCP tool exposed at /mcp; you can run the call yourself against the relevant REST endpoint or use the published `@urantia/api` SDK to dispatch.

## Response `200`

OpenAI tool definitions

- object
  - `server` object, required
    - `name` string, required
    - `base_url` string, required
  - `tools` object[], required
    - `type` 'function', required
    - `function` object, required
      - `name` string, required
      - `description` string, required
      - `parameters` object, required
        - `type` string, required
        - `properties` object
        - `required` string[]
        - `description` string

---

[API](https://skmtc.dev/urantia/apis/urantia-papers-api.md) · [All operations](https://skmtc.dev/urantia/apis/urantia-papers-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/urantia/urantia-papers-api/revisions/6a8c13929fda/schema)
