List Salesforce object fields

List the fields of one Salesforce object in the org connected to a project to map or filter its data; returns every field the connected user can see, or one page when a limit or cursor is sent. Requires project.integrations.read.

Arguments

  • project_referencestring · min length 1

    Project ID or slug.

  • object_namestring · min length 1required

    Salesforce object API name, for example Account.

  • limitinteger · min 1 · max 100

    Opt in to paging: fields per page, 1 to 100. Omit limit and cursor to read every field.

  • cursorstring · min length 1 · max length 4096

    Opaque continuation from page_info, at most 4096 characters. A cursor without limit reads 20 fields.

Responses

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_object_fields",    "arguments": {      "object_name": "A"    }  }}'
{  "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\",\"type\":\"string\",\"reference_to\":[\"string\"],\"relationship_name\":\"string\",\"nillable\":false,\"createable\":false,\"updateable\":false,\"filterable\":false,\"sortable\":false,\"id_lookup\":false,\"external_id\":false,\"calculated\":false,\"name_field\":false}]}"      }    ],    "structuredContent": {      "total": 0,      "page_info": {        "self": "string",        "first": null,        "next": "string",        "prev": "string"      },      "data": [        {          "name": "string",          "label": "string",          "type": "string",          "reference_to": [            "string"          ],          "relationship_name": "string",          "nillable": false,          "createable": false,          "updateable": false,          "filterable": false,          "sortable": false,          "id_lookup": false,          "external_id": false,          "calculated": false,          "name_field": false        }      ]    }  }}

The tool ran; its output is result.structuredContent.