# List Salesforce objects

Tool: `veryfront__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. Requires project.integrations.read.

## Arguments

| Name                | Type                                    | Required | Description                                                                                            |
| ------------------- | --------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------ |
| `project_reference` | string · min length 1                   |          | Project ID or slug.                                                                                    |
| `limit`             | integer · min 1 · max 100               |          | Opt in to paging: objects per page, 1 to 100. Omit limit and cursor to read every object.              |
| `cursor`            | string · min length 1 · max length 4096 |          | Opaque continuation from page\_info, at most 4096 characters. A cursor without limit reads 20 objects. |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_salesforce_objects",
    "arguments": {}
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"total\":0,\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"},\"data\":[{\"name\":\"string\",\"label\":\"string\",\"custom\":false,\"queryable\":false,\"createable\":false,\"updateable\":false,\"deletable\":false,\"deprecated_and_hidden\":false}]}"
      }
    ],
    "structuredContent": {
      "total": 0,
      "page_info": {
        "self": "string",
        "first": null,
        "next": "string",
        "prev": "string"
      },
      "data": [
        {
          "name": "string",
          "label": "string",
          "custom": false,
          "queryable": false,
          "createable": false,
          "updateable": false,
          "deletable": false,
          "deprecated_and_hidden": false
        }
      ]
    }
  }
}
```
