Salesforce · Capability

Salesforce — Layout

Salesforce — Layout. 1 operations. Lead operation: Salesforce Get Record Layout Metadata. Self-contained Naftiko capability covering one Salesforce business surface.

Run with Naftiko SalesforceLayout

What You Can Do

GET
Getrecordlayoutmetadata — Salesforce Get Record Layout Metadata
/v1/data/v64-0/ui-api/layout/{sobject-api-name}

MCP Tools

salesforce-get-record-layout-metadata

Salesforce Get Record Layout Metadata

read-only idempotent

Capability Spec

salesforce-layout.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce — Layout
  description: 'Salesforce — Layout. 1 operations. Lead operation: Salesforce Get Record Layout Metadata. Self-contained Naftiko
    capability covering one Salesforce business surface.'
  tags:
  - Salesforce
  - Layout
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_API_KEY: SALESFORCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: salesforce-layout
    baseUri: https://login.salesforce.com
    description: Salesforce — Layout business capability. Self-contained, no shared references.
    resources:
    - name: data-v64.0-ui-api-layout-SOBJECT_API_NAME
      path: /data/v64.0/ui-api/layout/{SOBJECT_API_NAME}
      operations:
      - name: getrecordlayoutmetadata
        method: GET
        description: Salesforce Get Record Layout Metadata
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: SOBJECT_API_NAME
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.SALESFORCE_API_KEY}}'
  exposes:
  - type: rest
    namespace: salesforce-layout-rest
    port: 8080
    description: REST adapter for Salesforce — Layout. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/data/v64-0/ui-api/layout/{sobject-api-name}
      name: data-v64-0-ui-api-layout-sobject-api-name
      description: REST surface for data-v64.0-ui-api-layout-SOBJECT_API_NAME.
      operations:
      - method: GET
        name: getrecordlayoutmetadata
        description: Salesforce Get Record Layout Metadata
        call: salesforce-layout.getrecordlayoutmetadata
        with:
          SOBJECT_API_NAME: rest.SOBJECT_API_NAME
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: salesforce-layout-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce — Layout. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: salesforce-get-record-layout-metadata
      description: Salesforce Get Record Layout Metadata
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-layout.getrecordlayoutmetadata
      with:
        SOBJECT_API_NAME: tools.SOBJECT_API_NAME
      outputParameters:
      - type: object
        mapping: $.