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

# search (ChatGPT) - MCP

> Search tool on the ChatGPT search and fetch endpoint

The `search` tool on `https://mcp.sacra.com/openai/mcp`, the endpoint that follows OpenAI's search and fetch tool shape. It always includes documents private to your organization. On the main endpoint, use [`search`](https://docs.sacra.com/mcp-tools/search) instead.

## Parameters

**query** `string` *required*

Text to search for. Keep it to one or two words.

## Response

**query** `string`

The search text.

**total\_results** `integer`

Total matches.

**results** `object[]`

Matches, each with `id`, `title`, `text`, `url`, `type`, `date`, and `is_org_private`. Pass `id` to `fetch`.

```json tools/call theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search",
    "arguments": {
      "query": "stablecoins"
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.