Newer Version Available

This content describes an older version of this product. View Latest

Tooling API Objects

Tooling API includes the following objects:

Object Description
ApexClass Represents the saved copy of an Apex class. ApexClass uses the cached version of the class unless one is unavailable.
ApexClassMember Represents the working copy of an Apex class for editing, saving or compiling in a MetadataContainer.
ApexCodeCoverage Represents code coverage test results for an Apex class or trigger.
ApexCodeCoverageAggregate Represents aggregate code coverage test results for an Apex class or trigger.
ApexComponent Represents the saved copy of aVisualforce component. ApexComponent uses the cached version of the class unless one is unavailable.
ApexComponentMember Represents the working copy of a Visualforce component for editing, saving or compiling in a MetadataContainer.
ApexExecutionOverlayAction Specifies an Apex code snippet or SOQL query to execute at a specific line of code in an Apex class or trigger and optionally generate a heap dump.
ApexExecutionOverlayResult Represents the result from the Apex code snippet or SOQL query defined in the associated ApexExecutionOverlayAction, and the resulting heap dump if one was returned.
ApexLog Represents a debug log.
ApexOrgWideCoverage Represents code coverage test results for an entire organization.
ApexPage Represents the saved copy of an Apex page. ApexPage uses the cached version of the class unless one is unavailable.
ApexPageMember Represents the working copy of a Visualforce page for editing, saving or compiling in a MetadataContainer.
ApexTestQueueItem Represents a single Apex class in the Apex job queue.
ApexTestResult Represents the result of an Apex test method execution.
ApexTrigger Represents the saved copy of an Apex page. ApexTrigger uses the cached version of the class unless one is unavailable.
ApexTriggerMember Represents the working copy of an Apex trigger for editing, saving or compiling in a MetadataContainer.
CompactLayout Represents the values that define a compact page layout.
ContainerAsyncRequest Allows you to compile and asynchronously deploy a MetadataContainer object to your organization.
CustomField Represents a custom field on a custom object that stores data unique to your organization.
CustomObject Represents a custom object that stores data unique to your organization. Includes access to the associated CustomObject object and related fields in Salesforce Metadata API.
EmailTemplate Represents an email template.
EntityDefinition Provides row based access to metadata about standard and custom objects.
FieldDefinition Provides row based access to metadata about standard and custom fields of standard and coustom objects.
FlexiPage Represents a Flexible Page. A Flexible Page is the home page for an app that appears as a menu item in the Salesforce1 navigation menu. Includes access to the associated FlexiPage object in the Salesforce Metadata API.
Layout Represents a page layout. For more information, see “Managing Page Layouts” in the Salesforce online help.
MenuItem Represents a menu item.
MetadataContainer Manages working copies of ApexClassMember, ApexTriggerMember, ApexPageMember and ApexComponentMember objects, including collections of objects that should be deployed together.
Profile Represents a user profile. A profile defines a user's permission to perform different functions within Salesforce.
ProfileLayout Represents a profile layout.
QuickActionDefinition Represents the definition of a quick action.
QuickActionList Represents a list of quick actions.
QuickActionListItem Represents an item in a quick action list.
RecordType Represents a custom record type.
StaticResource Represents the working copy of a static resource file for editing or saving. Static resources allow you to upload content that you can reference in a Visualforce page, including images, stylesheets, JavaScript, and other files.
TraceFlag Represents a trace flag that triggers an Apex debug log at the specified logging level.
User Represents a user.
ValidationRule Represents a formula that is used for specifying when a criteria is met. This includes both validation rules and workflow rules. Includes access to the associated ValidationRule object in the Salesforce Metadata API.
WorkflowAlert Represents a workflow alert. A workflow alert is an email generated by a workflow rule or approval process and sent to designated recipients.
WorkflowFieldUpdate Represents a workflow field update.
WorkflowOutboundMessage Represents an outbound message. An outbound message is a workflow, approval, or milestone action that sends the information you specify to an endpoint you designate, such as an external service. Outbound messaging is configured in the Salesforce setup menu. Then you must configure the external endpoint. You can create a listener for the messages using the SOAP API.
WorkflowRule Represents a workflow rule that is used to fire off a specific workflow action when the specified criteria is met. Includes access to the associated WorkflowRule object in Salesforce Metadata API.
WorkflowTask Represents a workflow task that is used to fire off a specific workflow action when the specified criteria is met. Includes access to the associated WorkflowRule object in Salesforce Metadata API.

This section also provides details on the following complex types:

Object Description
ApexResult A complex type that represents the result of Apex code executed as part of an ApexExecutionOverlayAction, returned in an ApexExecutionOverlayResult.
DeployDetails A complex type that contains detailed XML for any compile errors reported in the asynchronous request defined by a ContainerAsyncRequest object.
HeapDump A complex type that represents a heap dump in an ApexExecutionOverlayResult.
SOQLResult A complex type that represents the result of a SOQL query in an ApexExecutionOverlayResult.
SymbolTable A complex type that represents all user-defined tokens in the Body of an ApexClass, ApexClassMember, or ApexTriggerMember and their associated line and column locations within the Body.
The following Tooling API objects are used internally by the Developer Console.
  • IDEPerspective

  • IDEWorkspace

  • User.WorkspaceId