Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Sf ai agentforce/Metadata-reference
Reference · Sf ai agentforce

Metadata-reference

Part of Sf ai agentforce. Install the skill and your agent reads this page when it needs the depth.

Agentforce Metadata Reference

Use this document for the metadata-heavy parts of sf-ai-agentforce that do not need to live in the activation path.

GenAiFunction

A GenAiFunction registers one callable agent action.

Common target types

Validate before deploy

GenAiPlugin

A GenAiPlugin groups related GenAiFunction records.

Use it when:

Prompt Builder template integration

Use Prompt Builder templates when:

Do not use prompt templates as a substitute for deterministic business logic.

Current source format

For modern metadata work, use:

High-signal rules

Models API

Use aiplatform.ModelsAPI when:

Custom Lightning Types

Use LightningTypeBundle when actions need:

Deployment rule of thumb

Supporting metadata first:

Deep references

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.