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

# List Salesforce objects

> List the objects of the Salesforce org connected to a project to choose the objects an integration may access; returns every object the connected user can see, or one page when a limit or cursor is sent.

`veryfront__list_salesforce_objects`

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`. |
| `limit` | `integer` | No | Opt in to paging: objects per page, 1 to 100. Omit limit and cursor to read every object. Minimum: `1`. Maximum: `100`. |
| `cursor` | `string` | No | Opaque continuation from `page_info`, at most 4096 characters. A cursor without limit reads 20 objects. Minimum length: `1`. Maximum length: `4096`. |

## 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" theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_salesforce_objects",
    "arguments": {}
  }
}
```

## 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 |
| - | - | - | - |
| `total` | `integer` | No | Minimum: `0`. |
| `page_info` | `object` | No | Pagination cursor values for traversing the result set. |
| `data` | `object[]` | Yes | Primary result records returned by the tool. |

## Full schemas

```json title="input-schema.json" theme={null}
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "minLength": 1,
      "description": "Project ID or slug."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "Opt in to paging: objects per page, 1 to 100. Omit limit and cursor to read every object."
    },
    "cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Opaque continuation from page_info, at most 4096 characters. A cursor without limit reads 20 objects."
    }
  },
  "additionalProperties": false,
  "description": "Arguments for the list_salesforce_objects tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

```json title="output-schema.json" theme={null}
{
  "type": "object",
  "properties": {
    "total": {
      "type": "integer",
      "minimum": 0
    },
    "page_info": {
      "type": "object",
      "properties": {
        "self": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor that refers to the current page."
        },
        "first": {
          "type": "null"
        },
        "next": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the next page when pagination is available."
        },
        "prev": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the previous page when pagination is available."
        }
      },
      "required": [
        "self",
        "first",
        "next",
        "prev"
      ],
      "additionalProperties": false,
      "description": "Pagination cursor values for traversing the result set."
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Human-readable name for the returned record."
          },
          "label": {
            "type": "string"
          },
          "custom": {
            "type": "boolean"
          },
          "queryable": {
            "type": "boolean"
          },
          "createable": {
            "type": "boolean"
          },
          "updateable": {
            "type": "boolean"
          },
          "deletable": {
            "type": "boolean"
          },
          "deprecated_and_hidden": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "label",
          "custom",
          "queryable",
          "createable",
          "updateable",
          "deletable",
          "deprecated_and_hidden"
        ],
        "additionalProperties": false
      },
      "description": "Primary result records returned by the tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the list_salesforce_objects tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

<details>
  <summary>Try this tool</summary>

  Replace sample arguments with values for your project or connected account. Calls run only when you select Run tool.

  MCP tool call

  Call `veryfront__list_salesforce_objects` against the Veryfront MCP endpoint.

  Bearer token or API key

  Arguments (JSON)

  Run tool

  Output JSON

  <pre />
</details>


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