# integrationTools

```graphql
query IntegrationTools {
  integrationTools {
    tools {
      name
      description
      inputSchema
    }
    total
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
      prev
    }
  }
}
```

List the integration tools the caller can run in a project to discover tool names and input schemas before a run; returns the complete list in one response when no limit or cursor is sent, or one page with total and page information otherwise.

## Arguments

| Name               | Type                     | Required | Description                                                                                                                                |
| ------------------ | ------------------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `projectReference` | String                   |          | Project ID or slug. Required unless the credential is bound to a project; the caller then needs project.integrations.read on that project. |
| `integration`      | String                   |          | Exact integration filter, applied before paging.                                                                                           |
| `name`             | String                   |          | Case-sensitive substring of qualified tool names, 1 to 256 characters.                                                                     |
| `sortBy`           | IntegrationToolSortBy    |          | Field to sort by: the qualified tool name. Sending it or sortOrder sorts the tools. One of `name`.                                         |
| `sortOrder`        | IntegrationToolSortOrder |          | Qualified tool-name order. Defaults to asc when the tools are sorted. One of `asc`, `desc`.                                                |
| `limit`            | Int                      |          | Opt in to paging: tools per page, 1 to 100. Omit limit and cursor to read the complete list.                                               |
| `cursor`           | String                   |          | Opaque continuation from pageInfo, at most 4096 characters. A cursor without limit reads 20 tools.                                         |

## Responses

| Status | Description                                        |
| ------ | -------------------------------------------------- |
| 200    | The IntegrationToolList! in data.integrationTools. |

## Call it

```bash
curl -X POST "https://api.veryfront.com/graphql" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "query IntegrationTools {\n  integrationTools {\n    tools {\n      name\n      description\n      inputSchema\n    }\n    total\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n      prev\n    }\n  }\n}"
}'
```

## Example response

```json
{
  "data": {
    "integrationTools": {
      "tools": [
        {
          "name": "string",
          "description": "string",
          "inputSchema": {}
        }
      ],
      "total": 0,
      "pageInfo": {
        "hasNextPage": false,
        "hasPreviousPage": false,
        "startCursor": "string",
        "endCursor": "string",
        "prev": "string"
      }
    }
  }
}
```
