---
schema_version: "1"
id: e4b31d29465e069b94c173c56b93af53040729cd3948534e38e3b5242245257c
title: FunctionReference
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_functionreference.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_functionreference.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5bb4afc23f3580ced9c98467a3d009ac377212071aac00c0bf662de0eb657a85
description: Represents information about a deployed Salesforce Function that can be invoked from the org. This type extends the Metadata metadata type and inherits its fullName field.
---
# FunctionReference

Represents information about a deployed Salesforce Function that can be invoked from the org. This type extends the Metadata metadata type and inherits its fullName field.

## File Suffix and Directory Location

FunctionReference does not support direct access and should be managed using Salesforce CLI commands associated with Functions. A FunctionReference component file has the suffix .functions and is stored in the functions directory.

## Version

FunctionReference components are available in API version 52.0 and later.

## Special Access Rules

FunctionReference components can’t be used directly. Always use Salesforce CLI commands associated with Functions to properly deploy Functions and associate Functions with orgs. Attempting to manipulate FunctionReference components directly without using Functions CLI commands is not supported.

## Fields

| Field Name | Field Type | Description |
| --- | --- | --- |
| description | string | Represents the description of the Salesforce Function. |
| label | string | Represents the label for the Salesforce Function. |
| permissionSet | string | Represents a set of permissions that's used to control org resources that the Function has access to. |