---
name: "files_ocr_settings"
area: "files"
title: "Set how scans are read"
price: "$0.001"
method: "POST"
url: "https://api.conecto.chat/v1/tools/files_ocr_settings"
mcp_server: "https://api.conecto.chat/mcp/files"
auth: "Authorization: Bearer <conecto_sk_ key>"
docs_url: "https://conecto.chat/tools/files/files_ocr_settings"
---

# Set how scans are read (`files_ocr_settings`)

Sets whether new scans are read with OCR as they arrive, and the languages OCR reads in.

auto_ocr: read every new scan (an image, or a PDF without text) with OCR as it arrives, $0.005 a page, charged from the balance; a scan the balance can't cover stays unread and says why. Off by default: scans are then read when you ask (files_ocr). languages: the ones OCR reads in, up to 3 ([] goes back to the account's language: its website's, else its country's, else English). $0.001.

Price: $0.001 a call. A call that fails costs nothing.

## Use it when

Scans come in often (receipts, delivery notes) and should be searchable without asking.

## Say this to your agent

> Read every scan that comes in automatically, in German and English.

## Inputs

| Name | Type | Required | Description | Allowed values | Default |
|---|---|---|---|---|---|
| `auto_ocr` | boolean | no |  |  |  |
| `languages` | array of strings | no | Up to 3 of eng, deu, fra, spa, ita, nld, por, swe. Up to 3 items. | `"eng"`, `"deu"`, `"fra"`, `"spa"`, `"ita"`, `"nld"`, `"por"`, `"swe"` |  |

## Example

Written for Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon.

MCP: call `files_ocr_settings` on the MCP server `https://api.conecto.chat/mcp/files` with these arguments:

```json
{
  "auto_ocr": true,
  "languages": [
    "deu",
    "eng"
  ]
}
```

REST:

```bash
curl https://api.conecto.chat/v1/tools/files_ocr_settings \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"auto_ocr": true, "languages": ["deu", "eng"]}'
```

## Response

```json
{
  "call_id": "5f0c8a2e-3b7d-4c1e-9a64-2d8e1f7b0c93",
  "tool": "files_ocr_settings",
  "status": "succeeded",
  "replayed": false,
  "cost_usd": "$0.001",
  "balance_usd": "$19.75",
  "result": {
    "ocr": {
      "auto_ocr": true,
      "languages": [
        "deu",
        "eng"
      ],
      "languages_chosen": true,
      "available": true,
      "price_per_page": "$0.005",
      "languages_supported": [
        "eng",
        "deu"
      ]
    }
  }
}
```

`result`: The OCR settings: auto_ocr and the languages.

## Errors

| Code | Status | When | Fix |
|---|---|---|---|
| `invalid_input` | 400 | A language is not one OCR reads here, or there are more than 3. | Use up to 3 of eng, deu, fra, spa, ita, nld, por, swe. |
| `invalid_input` | 400 | Neither auto_ocr nor languages was given. | Send one of them. |

The refusals every tool can give (401 key, 402 balance, 429 limits) are on the errors page: https://conecto.chat/docs/errors.md

## Related

- [files_upload](https://conecto.chat/tools/files/files_upload.md): Stores a file in the business's file store from its bytes, its text or a public link, with a download link. $0.001 a call.
- [files_upload_link](https://conecto.chat/tools/files/files_upload_link.md): A one-time link to upload one file of up to 25 MB, to use yourself or hand to a person. Free.
- [files_list](https://conecto.chat/tools/files/files_list.md): The business's files, newest first, filtered by name, words inside, tags, type, correspondent, document date or fields. Free up to 1,000,000 reads a month.
- [files_get](https://conecto.chat/tools/files/files_get.md): One file's details and a fresh download link, with the text of a small text file if asked. Free up to 1,000,000 reads a month.
- [files_read_text](https://conecto.chat/tools/files/files_read_text.md): The words in a file as Conecto read them: text files, PDFs, office files, HTML, and scans once read with OCR. Free up to 1,000,000 reads a month.
- [files_edit](https://conecto.chat/tools/files/files_edit.md): Says what one file is, or up to 100 at once: title, notes, document date, correspondent, type, tags and fields. $0.005 per file changed.
- [files_define](https://conecto.chat/tools/files/files_define.md): Adds, renames or deletes a tag, a document type, a custom field or a correspondent to file things with. $0.001 a call.
- [files_definitions](https://conecto.chat/tools/files/files_definitions.md): The tags, document types, custom fields and correspondents the business files with, each with how many files use it, and the OCR settings. Free up to 1,000,000 reads a month.
- [files_ocr](https://conecto.chat/tools/files/files_ocr.md): Reads the words in a scan with OCR: an image, or the pages of a PDF without text; the text is kept. $0.005 per page read.
- [files_delete](https://conecto.chat/tools/files/files_delete.md): Deletes a file for good; every download link to it stops working. Free.
- [files_add_storage](https://conecto.chat/tools/files/files_add_storage.md): Rents 10 GB more file storage, renewed monthly from the balance; this call pays the first month. $1.00 a call.
- [files_remove_storage](https://conecto.chat/tools/files/files_remove_storage.md): Stops renting one 10 GB block of storage, if the files still fit. Free.
