# Search integrations

`veryfront__search_integrations`

Requires project.integrations.read.

## Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

**Call type:** Read-only.

## Arguments

| Field               | Type     | Required | Description and constraints                                                                                                                                                                          |
| ------------------- | -------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference` | `string` | No       | Project ID or slug. Minimum length: `1`.                                                                                                                                                             |
| `query`             | `string` | Yes      | The app the user named, such as notion or google drive, or what they want to do, such as send email. Use it before saying an app is or is not available. Minimum length: `1`. Maximum length: `200`. |

## Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See [MCP client setup](/docs/cloud/getting-started/connect-mcp.md).

```json title="request.json"
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__search_integrations",
    "arguments": {
      "query": "example"
    }
  }
}
```

## Result

The published output shape is summarized below. Inspect both the MCP response content and `isError` when handling a call.

| Field        | Type             | Required | Description and constraints                                                                                         |
| ------------ | ---------------- | -------- | ------------------------------------------------------------------------------------------------------------------- |
| `in_catalog` | `boolean`        | Yes      | False when no catalog app matches the query. Then the app is not available on Veryfront: do not offer to connect it |
| `message`    | `string`         | Yes      | What the result means and what to do next                                                                           |
| `app`        | `object or null` | Yes      | The app the query names, with its tools, or null when the query names no single app                                 |
| `matches`    | `object[]`       | Yes      | Up to 5 catalog apps that match the query, best first. Empty when app is set or nothing matches                     |

## Full schemas

```json title="input-schema.json"
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "minLength": 1,
      "description": "Project ID or slug."
    },
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The app the user named, such as notion or google drive, or what they want to do, such as send email. Use it before saying an app is or is not available."
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false,
  "description": "Arguments for the search_integrations tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

```json title="output-schema.json"
{
  "type": "object",
  "properties": {
    "in_catalog": {
      "type": "boolean",
      "description": "False when no catalog app matches the query. Then the app is not available on Veryfront: do not offer to connect it"
    },
    "message": {
      "type": "string",
      "description": "What the result means and what to do next"
    },
    "app": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "description": "Integration identifier. Its tools are named <name>__<tool>"
            },
            "display_name": {
              "type": "string",
              "description": "Human-readable name"
            },
            "description": {
              "type": "string",
              "description": "What the app does"
            },
            "status": {
              "type": "string",
              "enum": [
                "connected",
                "not_connected",
                "reconnect_required",
                "account_choice_required"
              ],
              "description": "Whether you can use the app in this project now: connected; not_connected; reconnect_required when its connection expired; or account_choice_required when more than one account could be used and the user must pick one in the project integration settings"
            },
            "tool_count": {
              "type": "integer",
              "minimum": 0,
              "description": "Number of tools the app has"
            },
            "tools": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Names of up to 10 of its tools, to call next"
            }
          },
          "required": [
            "name",
            "display_name",
            "description",
            "status",
            "tool_count",
            "tools"
          ],
          "additionalProperties": false,
          "description": "Structured app details associated with this tool result."
        },
        {
          "type": "null",
          "description": "The app returned by the tool."
        }
      ],
      "description": "The app the query names, with its tools, or null when the query names no single app"
    },
    "matches": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "$ref": "#/properties/app/anyOf/0/properties/name",
            "description": "Human-readable name for the returned record."
          },
          "display_name": {
            "$ref": "#/properties/app/anyOf/0/properties/display_name",
            "description": "The display name returned by the tool."
          },
          "description": {
            "$ref": "#/properties/app/anyOf/0/properties/description",
            "description": "Human-readable description returned by the tool."
          },
          "status": {
            "$ref": "#/properties/app/anyOf/0/properties/status",
            "description": "Lifecycle status for the returned record."
          }
        },
        "required": [
          "name",
          "display_name",
          "description",
          "status"
        ],
        "additionalProperties": false
      },
      "maxItems": 5,
      "description": "Up to 5 catalog apps that match the query, best first. Empty when app is set or nothing matches"
    }
  },
  "required": [
    "in_catalog",
    "message",
    "app",
    "matches"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the search_integrations tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```
