> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# open ai

> Generate text using OpenAI GPT models (embedded, no API key required)

**Server path:** `/embedded-openai` | **Type:** Embedded | **PCID required:** No

## Tools

| Tool                                                    | Description                           |
| ------------------------------------------------------- | ------------------------------------- |
| [`embedded-openai_generate`](#embedded-openai_generate) | Generate text using OpenAI GPT models |

***

## embedded-openai\_generate

Generate text using OpenAI GPT models

**Parameters:**

| Parameter      | Type      | Required | Default        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| -------------- | --------- | -------- | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `model`        | string    | No       | `"GPT-5-Mini"` | <br />Select the appropriate GPT model:<br />- GPT-5.4: Latest frontier model<br />- GPT-5.2: Smartest frontier model with configurable reasoning<br />- GPT-5.1: High-performance reasoning and coding<br />- GPT-5: Best model for coding and agentic tasks across domains<br />- GPT-5-Mini: Faster, cost-efficient version of GPT-5<br />- GPT-5-Nano: Fastest, most cost-efficient version of GPT-5<br />- GPT-4.1: Advanced coding, long context<br />- GPT-4.1-Mini: Fast coding, scalable tasks<br />- GPT-4.1-Nano: Ultra-fast, simple tasks<br /> |
| `systemPrompt` | string    | No       | —              | System prompt to set behavior and context                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `userPrompt`   | string    | Yes      | —              | User prompt containing the main request or conversation                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `fileUrls`     | string\[] | No       | —              | Optional array of file URLs for analysis. GPT supports Images (.jpg, .jpeg, .png). Always include file URLs when analyzing specific files.                                                                                                                                                                                                                                                                                                                                                                                                                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "model": {
        "type": "string",
        "enum": [
          "GPT-5.4",
          "GPT-5.2",
          "GPT-5.1",
          "GPT-5",
          "GPT-5-Mini",
          "GPT-5-Nano",
          "GPT-4.1",
          "GPT-4.1-Mini",
          "GPT-4.1-Nano"
        ],
        "description": "\n    Select the appropriate GPT model:\n    - GPT-5.4: Latest frontier model\n    - GPT-5.2: Smartest frontier model with configurable reasoning\n    - GPT-5.1: High-performance reasoning and coding\n    - GPT-5: Best model for coding and agentic tasks across domains\n    - GPT-5-Mini: Faster, cost-efficient version of GPT-5\n    - GPT-5-Nano: Fastest, most cost-efficient version of GPT-5\n    - GPT-4.1: Advanced coding, long context\n    - GPT-4.1-Mini: Fast coding, scalable tasks\n    - GPT-4.1-Nano: Ultra-fast, simple tasks\n  ",
        "default": "GPT-5-Mini"
      },
      "systemPrompt": {
        "type": "string",
        "description": "System prompt to set behavior and context"
      },
      "userPrompt": {
        "type": "string",
        "description": "User prompt containing the main request or conversation"
      },
      "fileUrls": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Optional array of file URLs for analysis. GPT supports Images (.jpg, .jpeg, .png). Always include file URLs when analyzing specific files."
      }
    },
    "required": [
      "userPrompt"
    ]
  }
  ```
</Expandable>
