1. Conduid
  2. Science
  3. Afls For Claude
MCP server · Science

Afls For Claude

A Claude Code plugin bringing AFLS (Agentforce for Life Sciences) implementation expertise into your terminal — skills, specialized agents, and MCP tools to configure, validate, audit, and troubleshoot AFLS Customer Engagement orgs.

53Fair

Scored 22 hours ago · breakdown

About Afls For Claude

Afls For Claude is an MCP server published by SalesforceLabs in the Science category: a Claude Code plugin bringing AFLS (Agentforce for Life Sciences) implementation expertise into your terminal — skills, specialized agents, and MCP tools to configure, validate, audit, and troubleshoot AFLS Customer Engagement orgs. Conduid read 163 tools from its source: add_navigation_tab, add_visit_engagement_sidebar_item, analyze_sync_telemetry, assign_permission_set, assign_presentation_content, audit_mobile_config and 157 more. No package is published for it, so it installs from a source checkout.

The repository has 10 stars and 7 forks, and its last commit was on 30 Nov 2026. Conduid has no tagged release on record for it. Its topics include afls, agentforce, life-sciences, salesforce and salesforce-life-sciences.

Install

From source
git clone https://github.com/SalesforceLabs/lsc-for-claude

Tools (163)

add_navigation_tabAdd a new navigation tab to LSC Mobile via Admin Console > Mobile > UI Settings. Creates a LifeSciConfigRecord of type Tab with field values and optional profile assignments.
ParameterTypeDescription
developerName *stringUnique API name (DeveloperName), e.g. 'NavTab_Accounts'. Convention: NavTab_{ObjectName}
isActivebooleanWhether the tab is active on creation (default: true)
label *stringDisplay name for the component (MasterLabel), e.g. 'Accounts Tab'
profilesarrayOptional: profile names to assign (e.g. ['Field Sales Representative'])
tabName *stringText shown on the tab in the mobile app, e.g. 'Accounts'
tabOrder *numberPosition number — lower values appear further left (e.g. 1, 2, 3)
targetOrgstringOptional: specific org to create in
add_visit_engagement_sidebar_itemAdd a custom object as a related list on a Visit page layout so it appears in the visit engagement sidebar on mobile. Retrieves the layout XML, inserts the related list, and deploys it back. Maximum 10 related lists (8 OOB + 2 custom). If layoutName is omitted, lists available Visit layouts for the user to choose from.
ParameterTypeDescription
layoutNamestringSpecific Visit page layout name (e.g., 'Visit-Visit Layout'). If omitted, lists available Visit layouts.
objectName *stringAPI name of the custom object to add (e.g., MyCustomObject__c). Must have a lookup/master-detail relationship to Visit.
targetOrgstringOptional: specific org to use. Uses current target org if not specified.
analyze_sync_telemetryAnalyze real-device sync performance from DeviceSyncSummary records uploaded by the LSC iOS app after every sync. Reports p50/p90/p95/max for initial and delta sync duration, download/upload phases, metadata cache download, records downloaded, device DB size, failure rate, and breakdowns by network and app version, plus the slowest syncs. Read-only; safe in production.
ParameterTypeDescription
daysnumberLook-back window in days (default 30)
profileNamestringOptional: restrict to users with this profile name
usersarrayOptional: restrict to these usernames
assign_permission_setAssign a permission set to one or more users. Looks up the permission set by label or API name, resolves usernames to IDs if needed, skips users who already have the assignment, and creates PermissionSetAssignment records.
ParameterTypeDescription
permissionSetName *stringPermission set label (e.g., 'LSC User') or API name (e.g., 'lsc4ce__LifeSciencesCloudUser')
targetOrgstringOptional: specific org. Uses current target org if not specified.
userIdsarrayArray of User IDs to assign the permission set to
usernamesarrayArray of usernames (email format) to assign the permission set to. Will be resolved to User IDs.
assign_presentation_contentAssign topics to a presentation and/or products to its pages. Creates TopicAssignment and PresentationPageProduct records. Skips duplicates automatically.
ParameterTypeDescription
presentationIdstringPresentation record ID (18-char). Provide this OR presentationName.
presentationNamestringPresentation name to look up. Provide this OR presentationId.
productIdForAllPagesstringShortcut: assign this single product ID to every page in the presentation.
productsarrayPage number (PageNumber field) to assign the product to.
targetOrgstringOptional: specific org to use. Uses current target org if not specified.
topicIdsarrayArray of Topic record IDs to assign to the presentation.
topicNamesarrayArray of Topic names to look up and assign to the presentation.
audit_mobile_configAudit LSC Mobile configuration against best practices. Runs validation rules to identify misconfigurations that cause login failures, sync issues, and other common problems.
bulk_create_recordsCreate multiple records from a JSON array. Processes records sequentially and reports results. Useful for loading seed data (products, time periods, territory assignments) without Data Loader.
ParameterTypeDescription
records *stringJSON array of record objects to create. Each object contains field name/value pairs.
sobjectType *stringThe SObject type (e.g., 'Product2', 'TimePeriod', 'ObjectTerritory2Association')
targetOrgstringOptional: specific org. Uses current target org if not specified.
bulk_update_recordsUpdate multiple records from a JSON array. Each record must include an 'Id' field. Processes records sequentially and reports results.
ParameterTypeDescription
records *stringJSON array of record objects to update. Each must include an 'Id' field plus the fields to update.
sobjectType *stringThe SObject type (e.g., 'Account', 'Contact', 'Visit')
targetOrgstringOptional: specific org. Uses current target org if not specified.
check_account_configCheck LSC Account Management configuration. Queries accounts, healthcare providers, addresses, business licenses, affiliations, territory info, DCR managed fields, and mobile cache. CORRECT object names: Account, HealthcareProvider, ContactPointAddress, BusinessLicense, ProviderAffiliation, ProviderAcctTerritoryInfo, LifeSciDataChgDefMngFld. WRONG names (DO NOT USE): HealthcareProvider__c, ContactPointAddress__c, BusinessLicense__c, ProviderAffiliation__c, AccountAddress__c.
check_activity_plan_configCheck LSC Activity Plan configuration. Queries time periods, activity plans, territory assignments, provider activity goals, goal measures, product goals, territory info, and mobile cache. CORRECT object names: ActivityPlan, ActivityPlanTerritory, TimePeriod, ProviderActivityGoal, ProviderActivityGoalMeasure, PrvdActvtyGoalMeasureProdt, ProviderAcctTerritoryInfo. WRONG names (DO NOT USE): ActivityPlan__c, ProviderActivityGoal__c, AccountGoal__c, TimePeriod__c, GoalMeasure__c.
check_briefings_configCheck Briefings (Daily Podcasts) configuration. Validates toggle, licenses, permissions (StoriesUser/StoriesAdmin), account summarization, content definitions, scheduled flows, DB Schema records, and mobile cache. CORRECT object names: PrstContentDefinition, PrstCntntDefAssignment, PrstCntntUsageSummary, PrvdAccountTerritorySummary. WRONG names: PresentationContentDefinition, PresentationContentDefinitionAssignment, PresentationContentUsageSummary.
check_eppv_configCheck Account Compliance (Japan EPPV/MID, Provider Engagement Compliance) configuration: Care Programs and products, compliance Action Plans (target HCO, cycles generated), the four cloned flows, the 11 DB Schema records, the Account Compliance tab, the Capture Compliance Activity quick action and the mobile cache. CORRECT object names: CareProgram, CareProgramProduct, ActionPlan, ActionPlanTemplate, ActionPlanTemplateVersion, ActionPlanTemplateAssignment, PrvdEngmtComplianceCycle, AssessmentTask. WRONG names (DO NOT USE): EPPV__c, ComplianceCycle__c, AccountCompliance__c.
ParameterTypeDescription
profileNamestringOptional: rep profile name. When given, DB Schema, tab and quick action must be assigned to this profile.
targetOrgstringOptional: specific org to check. Uses current target org if not specified.
check_lsc_setupCheck if Salesforce CLI is installed and orgs are authenticated. Run this first to ensure everything is set up correctly.
check_mobile_cache_statusTHE ONLY WAY to check LSC mobile metadata cache status. NEVER use run_soql - objects like MobileMetadataCache__c, MobileApplicationDetail, lsc4ce__MobileMetadataCache__c DO NOT EXIST. The correct object is LifeSciMobileMetadataRecord (standard SOQL).
ParameterTypeDescription
targetOrgstringOptional: specific org to query
check_om_configCheck Order Management (quoted orders, Store Check) configuration against the known setup mistakes: DB Schema pairs (Quote/QuoteLineItem, Pricebook2/PricebookEntry) half assigned to a profile, price adjustment schedules with no EffectiveFrom, the Life Sciences Commercial pricing recipe mappings, StagePathPermissionsHandler, the Submitted quote stage lock, unpublished Quote product alignments (ProductTerritoryAvailability with no ProductTerrDtlAvailability), quote owners with no manager for Request for Unlock, locked stages with no View Line Items, Store Check visit routing, Quote status and document permissions of quote owners, Revenue Management, Product Configurator, Store Check and Translation Workbench settings, pricing procedure selection, rounding and price adjustment matrix steps, approval flow run-as, standard price book entries, Quote status values, and required licences. Causes with no automatic check are listed with the reason. Read-only. CORRECT object names: Quote, QuoteLineItem, Pricebook2, PricebookEntry, ProductTerritoryAvailability, ProductTerrDtlAvailability, PriceAdjustmentSchedule, LifeSciStagePath, LifeSciStageOperation. WRONG names (DO NOT USE): Order__c, QuotedOrder__c, ProductAvailability__c.
ParameterTypeDescription
targetOrgstringOptional: specific org to check. Uses current target org if not specified.
check_sample_configCheck LSC Sample Management configuration. Queries products, locations, inventory, production batches, sample limits, and related configuration. CORRECT object names: Product2, LifeSciMarketableProduct, Location, ProductionBatch, ProductItem, ProductBatchItem, InventoryOperation, ProductRequest, InventoryCountAssessment, ProductDisbursement, ProviderSampleLimit. WRONG names (DO NOT USE): SampleTransaction__c, SampleInventory__c, SampleLimit__c, SampleProduct__c, SampleLot__c.
check_territory_configCheck LSC Territory Alignment configuration. Queries Territory2 model, ObjectTerritory2Association (explicit assignments), TerrGeoAssignmentRule (zip/brick rules), TerrProvAffilAssignRule (affiliation rules), and ProviderAcctTerritoryInfo records. CORRECT object names: Territory2, ObjectTerritory2Association, TerrGeoAssignmentRule, TerrProvAffilAssignRule, ProviderAcctTerritoryInfo. WRONG names (DO NOT USE): AccountTerritory__c, TerritoryAssignment__c, TerritoryInfo__c, AffiliationAlignmentRule__c.
check_user_accessCheck one rep's setup end to end and find the first broken link: active user, license, LSC permission set license, permission sets, territory, the accounts that reach them, what DB Schema syncs to their iPad, actions, metadata cache and last sync. Use it for "why can't <rep> see/do X" about one named rep. It is a full trace (many queries), so never loop it over users: for "reps can't see X" check what reps share (the profile's navigation tabs, DB Schema, permission sets, metadata cache) and check at most one or two reps, asking the user which. It does not check navigation tabs. Read-only. Returns JSON (the user trace plus resolvedUser); when several users match it returns { matches } and nothing is traced, so ask which one.
ParameterTypeDescription
featurestringNarrow the check to one feature by id or title, e.g. 'samples' or 'Sample Management'
user *stringThe rep's name, username, email or user Id
check_user_configCheck LSC User Management configuration. Queries PackageLicense capacity, PermissionSetLicense (PSL) capacity, permission set assignments, user profiles, role hierarchy, and user-territory associations. CORRECT object names: User, Profile, UserRole, PermissionSet, PermissionSetAssignment, PermissionSetLicense, PermissionSetLicenseAssign, UserTerritory2Association, PackageLicense. WRONG names (DO NOT USE): User__c, UserProfile__c, PermissionSetAssignment__c, PSLAssignment__c, UserTerritory__c.
check_visit_configCheck LSC Visit Management configuration. Queries visit record types, ProviderVisit record types, trigger handlers, compliance statements, territory info, and Admin Console settings. CORRECT object names: Visit, ProviderVisit, ProviderVisitProdDetailing, ProviderVisitProdDiscussion, ProviderAcctTerritoryInfo, ComplianceStatementDef. WRONG names (DO NOT USE): Visit__c, ProviderVisit__c, VisitSetting__c, VisitConfiguration__mdt, VisitRecordType__c, VisitType__c.
create_admin_settingCreate a new Admin Console setting (LifeSciConfigRecord + LifeSciConfigFieldValue records). Use list_admin_settings to see existing settings before creating duplicates.
ParameterTypeDescription
category *stringThe category name (e.g., 'Visit', 'DataChangeRequest', 'Sample'). Must match an existing LifeSciConfigCategory.
developerName *stringUnique developer name for the setting (alphanumeric + underscore only)
fieldsarrayField name
isActivebooleanWhether the setting is active (default: true)
isOrgLevelbooleanWhether this is an org-level setting (default: false)
label *stringDisplay label for the setting
targetOrgstringOptional: specific org to create in
create_custom_actionCreate an LSC Custom Action via Tooling API. Custom actions invoke Lightning components, flows, URLs, or Agentforce utterances.
ParameterTypeDescription
actionTarget *stringThe target: URL for URL type, component/flow name for App type, or utterance text for Utterance type
actionType *stringType of action: URL opens a URL, App invokes a component/flow, Utterance sends to Agentforce
developerName *stringThe developer name suffix (e.g., 'SearchGoogle'). The 'CustomAction_' prefix is added automatically.
entityNamestringFor SObject entityType: the object API name (e.g., 'Account')
entityType *stringWhere the action is available
isActivebooleanWhether the action is active
label *stringThe display label for the custom action (e.g., 'Search Google', 'Launch Flow')
profilesarrayProfile names that can see this action
targetOrgstringOptional: specific org to create in
targetParametersstringURL parameters (e.g., 'q=$record.Name' to pass record field values)
targetTypestringFor URL type: Internal opens in app, External opens in browser
create_db_schemaCreate a new DB Schema record for mobile object sync. Creates the LifeSciConfigRecord and all standard LifeSciConfigFieldValue records with correct data types. Names it DbSchema_{objectName} automatically.
ParameterTypeDescription
attachmentsSupportstringHow attachments are handled: CACHE (during sync), BACKGROUND (after sync), or empty (none). Default: none
isActivebooleanWhether the record is active (default: true)
objectName *stringSalesforce object API name (e.g., 'Product2', 'CustomObject__c')
oneWaySyncbooleanIf true, data flows web→mobile only (read-only on mobile). Default: false
permissionSetsarrayOptional: permission set API names (NOT labels) that gate this object's sync (e.g., ['LSC_Field_Sales']). Stored as a semicolon-delimited list in the PermissionSets field. The mobile app syncs the object for users who hold any listed permission set, in addition to the assigned profiles.
profilesarrayOptional: profile names to assign (e.g., ['Field Sales Representative', 'System Administrator'])
targetOrgstringOptional: specific org to create in
typestringRecord type: DATA (synced objects) or CONFIGURATION (metadata-like records). Default: DATA
whereSoqlstringOptional SOQL WHERE clause filter. Must be wrapped in parentheses, e.g., '(IsActive = true)'
create_quick_actionCreate an LSC Quick Action via Tooling API. Quick actions appear on the floating action button on mobile and in quick action menus on web.
ParameterTypeDescription
actionName *stringThe predefined action to invoke
developerName *stringThe developer name suffix (e.g., 'HomeEmail'). The 'QuickAction_' prefix is added automatically.
isActivebooleanWhether the action is active
label *stringThe display label for the quick action (e.g., 'Home Email', 'Home Visit')
location *stringWhere the quick action appears
profilesarrayProfile names that can see this action (e.g., ['Field Sales Representative', 'District Manager'])
sortOrder *numberDisplay order (lower numbers appear first). Use 1-5 for Home page actions.
targetOrgstringOptional: specific org to create in
create_recordCreate a new record in Salesforce
ParameterTypeDescription
objectName *stringThe API name of the object
targetOrgstring
values *objectField values as key-value pairs (e.g., {Name: 'Test'})
delete_lsc_actionDelete an LSC Quick/Custom Action. Accepts a record ID or a MasterLabel/DeveloperName. NEVER use run_soql or delete_record — they will FAIL.
ParameterTypeDescription
actionId *stringThe record ID (from list_lsc_actions) OR the MasterLabel/DeveloperName of the action to delete
actionNamestringOptional: The action name/label for confirmation message
targetOrgstringOptional: specific org to delete from
delete_recordDelete a record from Salesforce
ParameterTypeDescription
objectName *stringThe API name of the object
recordId *stringThe record ID to delete
targetOrgstring
deploy_metadataDeploy metadata to the target Salesforce org from a local source directory. Wraps `sf project deploy start`. Use for pushing permission sets, page layouts, flows, and other metadata from a local project.
ParameterTypeDescription
sourcePath *stringPath to the local source directory containing metadata to deploy (e.g., 'force-app/main/default')
targetOrgstringOptional: specific org to deploy to. Uses current target org if not specified.
describe_sobjectGet metadata about a Salesforce object (fields, types, picklist values, lookup targets). LSC objects are standard objects without __c (Visit, ProviderVisit, HealthcareProvider). Not for Admin Console or DB Schema records.
ParameterTypeDescription
fieldsarrayOptional: only these fields, with their picklist values or lookup targets. Use it to check field names before a query or a field past the first 100.
objectName *stringThe API name of the object (e.g., Account, Contact, Visit__c)
targetOrgstringOptional: specific org to query
diagnose_lsc_issueDiagnose an LSC error or symptom. Matches it against known causes (misconfigurations found in support investigations) and validation rules, then runs their checks against the connected org and reports which causes are present, with the fix for each. Paste the exact error text when there is one.
ParameterTypeDescription
checkOrgbooleanRun the checks against the connected org (default true). Read-only.
formatstringmarkdown (default) for a readable report; json for { items, checkedOrg, orgNote? }, the form the app renders as a card
suggestedarrayKnown cause ids that may fit, checked and listed as possible causes beside the word matches. Unknown ids are ignored.
symptom *stringThe error message or symptom, ideally the exact text (e.g., "No such column 'LastModifiedDate' on entity 'ContentDocumentLink'", 'Coming Soon tab on the iPad', 'accounts missing on the iPad')
diff_orgsCompare LSC configuration between two Salesforce orgs. Produces a detailed per-record report comparing trigger handlers, admin settings, DB Schema records, and actions (with profile assignments) to identify configuration drift. Both orgs must be authenticated via SF CLI.
ParameterTypeDescription
scopestringWhat to compare. Defaults to 'all'.
sourceOrg *stringAlias or username of the first (source) org
targetOrg *stringAlias or username of the second (target) org
distribute_presentationDistribute a presentation to territories. Creates PresentationShare records with territory Group IDs. When includeChildren is true (default), uses TerritoryAndSubordinates groups so child territories automatically get access.
ParameterTypeDescription
includeChildrenbooleanWhen true (default), shares with TerritoryAndSubordinates group so all child territories get access. When false, shares with the exact Territory group only.
presentationIdstringPresentation record ID (18-char). Provide this OR presentationName.
presentationNamestringPresentation name to look up. Provide this OR presentationId.
targetOrgstringOptional: specific org to use. Uses current target org if not specified.
territoryIds *arrayTerritory2 IDs to distribute to. Children are included automatically when includeChildren is true.
explain_lsc_conceptGet an explanation of a LSC concept, feature, or component
ParameterTypeDescription
concept *stringThe concept to explain (e.g., 'ARC', 'Provider Card', 'Sample Limits', 'Territory Alignment', 'Activity Plans')
export_configExport LSC configuration (Admin Console settings, DB Schema, trigger handlers, actions) as JSON. Captures per-field DataType and profile assignments (format v1.1) so the snapshot can be faithfully re-applied with import_config. Use this to snapshot org configuration for comparison, migration, or backup.
ParameterTypeDescription
categoriesarrayOptional: which categories to export. Defaults to all.
targetOrgstringOptional: specific org to export from. Uses current target org if not specified.
generate_mobile_metadata_cacheGenerate LSC Mobile metadata cache programmatically. IMPORTANT: Always ASK the user which profiles to generate the cache for before calling this tool. Do not guess profile names.
ParameterTypeDescription
apiVersionstringSalesforce API version (default: the org's API version)
prefixstringNamespace prefix (default: "lsc4ce")
profileNames *arrayArray of profile names to generate cache for. ASK THE USER which profiles to use. Examples: ["Field Sales Representative", "Medical Sales Representative", "Key Account Manager"]
targetOrgstringOptional: specific org to use
get_db_schemaGet full details of a specific DB Schema record including all field values and profile assignments. Accepts short name (e.g., 'Visit') or full name ('DbSchema_Visit').
ParameterTypeDescription
name *stringThe DB Schema record name — accepts 'Visit' or 'DbSchema_Visit'
targetOrgstringOptional: specific org to query
get_lsc_admin_setupGet admin setup and configuration guidance for an LSC feature
ParameterTypeDescription
feature *stringThe feature to get admin setup for (e.g., 'sample-management', 'territory-alignment', 'visit-management')
get_lsc_exerciseGet hands-on exercise documentation for LSC training
ParameterTypeDescription
slug *stringThe exercise slug (e.g., 'life-sciences-cloud-partner-enablement-hands-on-exercises-day-1-foundations')
get_lsc_guideGet LSC guide documentation (developer guide, mobile setup guide, etc.)
ParameterTypeDescription
slug *stringThe guide slug (e.g., 'dev-guide', 'mobile-setup')
get_lsc_help_docGet official Salesforce help documentation for a specific LSC topic
ParameterTypeDescription
slug *stringThe document slug (e.g., 'account-management', 'sample-management', 'activity-plans')
get_lsc_module_docsGet detailed documentation for a specific LSC module
ParameterTypeDescription
module *stringThe module slug (e.g., 'account-management', 'sample-management', 'visit-management')
get_lsc_troubleshootingGet LSC troubleshooting documentation including common issues and their resolutions
ParameterTypeDescription
topicstringOptional: specific troubleshooting topic slug. Defaults to common-issues.
get_org_statusGet a single dashboard view of the connected LSC org: alias, username, instance URL, installed packages, enabled features (via trigger handlers), mobile cache status, and territory model status.
ParameterTypeDescription
targetOrgstringOptional: specific org to check. Uses current target org if not specified.
get_recordRetrieve a specific record by ID from Salesforce. Not for Admin Console or DB Schema records: list_admin_settings and get_db_schema already return their full details.
ParameterTypeDescription
fields *arrayList of field API names to retrieve
objectName *stringThe API name of the object
recordId *stringThe 15 or 18 character record ID
targetOrgstring
get_release_notesGet LSC release notes for a specific Salesforce release (e.g., 'Spring 26', 'Winter 26'). Lists available releases if no release is specified.
health_checkRun a comprehensive LSC org health check. Checks trigger handler status, permission set assignments, Admin Console settings, orphaned territory assignments, DB Schema completeness, mobile cache freshness, and Order Management setup when the org uses it. Returns a summary with issues found and recommendations.
ParameterTypeDescription
targetOrgstringOptional: specific org to check. Uses current target org if not specified.
import_configImport LSC configuration from a snapshot into a target org, diff-driven and create + update-only (safe). Modes: 'report' (default) computes a diff and summarizes what would change; 'ui' opens a local browser review-and-apply UI on 127.0.0.1 with per-record checkboxes and live progress; 'apply' applies a specific selection headlessly. The target org is auto-backed-up to exports/ before any write. Never deletes or deactivates records that exist only in the target.
ParameterTypeDescription
modestringreport (default): diff summary. ui: open the local review/apply web UI. apply: apply the given selection.
selectionarrayFor mode 'apply': record keys to apply (as shown in the report/UI, e.g. 'record:DbSchema_Visit').
sourcestringSource snapshot: inline JSON, or a path to an exports/*.json file. Omit to snapshot a live source org instead (see sourceOrg).
sourceOrgstringOptional: snapshot this live org as the source instead of passing a file/JSON.
targetOrgstringTarget org to import into. Uses the current target org if not specified.
install_sf_cliInstall the Salesforce CLI via npm. Only run this if the CLI is not already installed.
list_admin_settingsList Admin Console settings (LifeSciConfigRecord + LifeSciConfigFieldValue) by category. Shows all settings with their field values. Use without a category to list all available categories.
ParameterTypeDescription
categorystringOptional: category name to filter (e.g., 'Visit', 'DataChangeRequest', 'QuickAction', 'CustomAction'). Omit to list all categories.
targetOrgstringOptional: specific org to query
list_db_schemaList all DB Schema records (mobile object sync configuration). Shows SObject, Type, Active status, SOQL filter, sync direction, and profile assignments. Use this instead of list_admin_settings for DbSchema.
ParameterTypeDescription
filterstringOptional: filter by record name or SObject name (case-insensitive partial match)
targetOrgstringOptional: specific org to query
list_lsc_actionsTHE ONLY WAY to list LSC Quick Actions or Custom Actions. NEVER use run_soql for actions - objects like LifeSciCustomAction__mdt, CustomAction__c, LifeSciConfigType__c DO NOT EXIST. This tool uses Tooling API internally.
ParameterTypeDescription
actionTypestringType of actions to list: quick, custom, or both
activeOnlybooleanOnly show active actions
targetOrgstringOptional: specific org to query
list_lsc_help_docsList all official Salesforce help documentation for LSC
list_lsc_modulesList all available LSC modules with documentation
list_navigation_tabsList mobile navigation tabs configured in Admin Console > Mobile > UI Settings. Shows tab name, order, active status, and profile assignments.
ParameterTypeDescription
targetOrgstringOptional: specific org to query
list_permission_setsList LSC permission sets and permission set licenses (PSLs) with assignment counts and capacity. Shows which permission sets exist, how many users are assigned, and PSL capacity (total vs used vs available).
ParameterTypeDescription
includeAllNamespacesbooleanIf true, include all permission sets regardless of namespace. Default false = LSC-related only.
targetOrgstringOptional: specific org to query. Uses current target org if not specified.
list_sf_orgsList all authenticated Salesforce orgs
list_trigger_handlersList LifeScienceTriggerHandler records showing active/inactive status. Use this to check which trigger handlers are enabled (e.g., DCR, Visit, Sample). Filter by object name to narrow results.
ParameterTypeDescription
objectNamestringOptional: filter by object name (e.g., 'Visit', 'Account', 'DataChangeRequest')
targetOrgstringOptional: specific org to query
list_usersList active LSC users with optional filters. Filter by profile, permission set, territory, or find users without territories or PSLs. CORRECT object names: User, PermissionSetAssignment, UserTerritory2Association.
ParameterTypeDescription
filterBystringFilter type: 'all' (default), 'profile', 'permission-set', 'territory', 'no-territory' (users without territory assignments), 'no-psl' (users without LSC PSLs)
filterValuestringPartial match value for profile, permission-set, or territory filters
targetOrgstringOptional: specific org to query. Uses current target org if not specified.
list_validation_groupsList available validation groups for the audit_mobile_config tool
open_orgOpen the target Salesforce org in the default browser. Optionally navigate to a specific page path.
ParameterTypeDescription
pathstringOptional Salesforce page path to open (e.g., '/lightning/setup/SetupOneHome/home')
profile_sync_volumePredict how much data the LSC mobile app will sync for specific users, before any device is involved. Resolves each user's DB Schema records (profile/permission set), substitutes WhereSoql tags ({USER.ID}, {USER.TERRITORY}, {ACCOUNT.IDS}, {OT2A.OBJ.IDS}, ...) per territory exactly as the app does, and runs COUNT() queries. Returns predicted records per table, estimated device SOQL request counts, and filters that fail to execute. Read-only; safe in production.
ParameterTypeDescription
idsPerQuerynumberOptional: ids inlined per COUNT() query for {ACCOUNT.IDS}/{OT2A.OBJ.IDS} filters (default 200)
territorystringOptional: territory name or Id to profile. Default: each of the user's territories in the active model (up to 5).
users *arrayUsernames or User Ids of representative field users
retrieve_metadataRetrieve metadata from the target Salesforce org to a local directory. Wraps `sf project retrieve start`. Use for pulling permission sets, page layouts, flows, and other metadata to inspect or version control.
ParameterTypeDescription
metadata *stringMetadata type and optional name (e.g., 'PermissionSet:LSC_Admin', 'Layout:Visit-Visit Layout', 'ApexClass')
outputDirstringOptional: local directory to write retrieved metadata. Defaults to current working directory.
targetOrgstringOptional: specific org to retrieve from. Uses current target org if not specified.
run_apexExecute anonymous Apex code against the target Salesforce org. Use for one-off tasks like running batch jobs, fixing data issues, or testing logic. Returns compilation status, execution result, and debug logs.
ParameterTypeDescription
code *stringThe Apex code to execute anonymously
targetOrgstringOptional: specific org to run against. Uses current target org if not specified.
run_perf_assessmentRun an LSC performance assessment against an NFR profile (YAML): for each persona, predicts sync volume (profile_sync_volume) and summarizes field telemetry (analyze_sync_telemetry), then evaluates every metric against the profile's warn/fail thresholds and reports pass/warn/fail with the user, territory, or table that drove each result. Optionally writes the full result as JSON for CI or archiving. Read-only against the org.
ParameterTypeDescription
outputPathstringOptional: write the full result as JSON to this path
profilePathstringPath to an NFR profile YAML file
profileYamlstringInline NFR profile YAML (alternative to profilePath)
run_soqlExecute a SOQL query against the target Salesforce org. Not for Admin Console settings, DB Schema records, LSC actions or the mobile metadata cache: those are Tooling API records with their own tools (list_admin_settings, list_db_schema, list_lsc_actions, check_mobile_cache_status).
ParameterTypeDescription
query *stringThe SOQL query to execute
targetOrgstringOptional: specific org to query. Uses current target org if not specified.
search_lsc_knowledgeSearch the LSC knowledge base for specific topics or terms
ParameterTypeDescription
maxResultsnumberMaximum number of results to return (default: 10)
query *stringThe search term or phrase to look for (e.g., 'sample limits', 'provider card', 'territory alignment')
set_target_orgSet the target Salesforce org for ALL subsequent operations in this session. Once set, the choice is remembered — do NOT ask the user again or call this tool again unless the user explicitly wants to switch orgs.
ParameterTypeDescription
org *stringThe org alias or username to use as the target for operations
simulate_initial_syncSimulate the network part of an LSC iOS app INITIAL sync for one end user, from Node. Authenticates as that user through the sf CLI, calls user-info, downloads and verifies the metadata archive (MD5), builds the table list and WHERE tags exactly as the app does, then downloads every table in the app's order (enhanced Connect flow or legacy REST flow, chosen from the org's settings). Reports per-table records, requests, bytes and seconds, plus metadata download time, so it can be compared with DeviceSyncSummary rows. Network time only (no SQLCipher writes, indexes or file binaries). Read-only against the org: it creates no records and registers no device. The username must already be authenticated in the sf CLI as the end user (not an admin) for device-accurate numbers.
ParameterTypeDescription
apiVersionstringOptional: API version, e.g. 67.0 (default: the org's CLI API version)
deviceRamGBnumberOptional: RAM of the simulated iPad in GB (default 8)
dynamicBatchSizebooleanOptional: legacy flow's dynamicBatchRequestSize setting (default true)
excludearrayOptional: skip these SObjects
forceFlowstringOptional: override the flow chosen from the org's settings
includearrayOptional: only download these SObjects
legacyPagingstringLegacy flow only: fetch later pages through composite/batch like the app (batch), or follow nextRecordsUrl (sequential)
maxRecordsPerTablenumberOptional: stop each table after this many records
maxSecondsnumberStop starting new work after this many seconds (default 900)
maxTotalRecordsnumberOptional: stop the whole run after this many records
networkobjectOptional: add network conditions (3g, 4g, 5g, wifi presets are approximate; custom needs rttMs, downMbps, upMbps). Can only slow this machine's connection down.
outputPathstringOptional: write the full result as JSON to this path
tableTimeoutSecondsnumberPer-table time limit (default 300)
territorystringOptional: territory name, id or developer name (default: the user's first leaf territory)
username *stringsf CLI alias or username of the END USER, already authenticated (e.g. `sf org login jwt --username <user> --client-id <key> --jwt-key-file <file> --instance-url <url>` or `sf org login web`)
studio_access_optionsLSC Studio (GUI data): permission sets, permission set groups, and territories that can be given to a user (at most 2,000 of each; `truncated` gives totals — pass `search` to find others by name). Read-only. Returns JSON.
ParameterTypeDescription
searchstring
studio_api_versionLSC Studio (GUI data): the Salesforce API version calls to the connected org use, the version pinned for it (null: the org's own), the org's own version and the versions it serves, newest first. Returns JSON { version, pinned, orgDefault, available }.
studio_app_checkLSC Studio (GUI only): check an LSC App's files — lint (meta file, targets, mobileHeight, naming), a real compile, the offline scan, and (when an org is connected) whether DB Schema syncs the objects it reads. Needs no org to compile. Read-only. Returns JSON { ok, issues, offline, script?, placeholders, mobileHeight?, objects? }.
ParameterTypeDescription
profilestringJudge "synced" for this profile (when no userId)
userIdstringJudge "synced" for this user's profile and permission sets
studio_app_deployLSC Studio (GUI only): deploy an LSC App — its bundles; for a record page or quick action app the LightningWebComponent quick action; for a nav tab app the App page, custom tab, and (when given) the app membership and profile tab visibility. WRITES to the org. Only called from the Studio UI after the user confirms. Refuses if the app has lint errors or the target org isn't `expectedOrg`. Returns JSON { ok, deployed, error?, warnings, production }.
ParameterTypeDescription
expectedOrg *stringThe org the user confirmed — the deploy is refused if the target org differs
studio_app_deploy_planLSC Studio (GUI data): what deploying an LSC App would write (components, e.g. LightningComponentBundle, QuickAction, FlexiPage, CustomTab, Profile), which of those already exist in the org and would be overwritten, whether the org is production (not a sandbox and not a trial), and warnings. Read-only. Returns JSON { components, existing, production, warnings }.
studio_app_describeLSC Studio (GUI only): compact descriptions (real field API names, types, picklist values, whether DB Schema syncs it to the iPad, record count) of up to ${MAX_DESCRIBE_OBJECTS} objects, for the app builder. Read-only. Returns JSON { objects }.
ParameterTypeDescription
objects *array
studio_app_guideLSC Studio (GUI only): the LSC App builder's system prompt — the rules, offline data patterns, design guidance and workflow it follows. Read-only; no org needed. Returns JSON { guide }.
studio_app_listLSC Studio (GUI only): the org's LSC apps (unmanaged lscMobileInline_* bundles) with target, objects and last change. Read-only. Returns JSON { apps }.
studio_app_navLSC Studio (GUI data): which Lightning app a profile's published iPad tab bar comes from, found by lining the tabs the profile's last publish knew of up with the tabs of the apps the profile can open. Returns JSON: `{ app: { fullName, label, installed } }`, or `{ app: null, reason }` when it can't be told (nothing fits, or two fit equally). Read-only.
ParameterTypeDescription
profile *string
tabs *array
studio_app_sampleLSC Studio (GUI only): up to 5 real records from a SELECT-only SOQL query (anything else is refused, LIMIT is forced to 5 or less), so the app builder sees real values. Read-only. Returns JSON { records, totalSize }.
ParameterTypeDescription
soql *string
studio_app_sourceLSC Studio (GUI only): an LSC app's files from the org — the lscMobileInline_* bundle and the c/ components it uses. Read-only. Returns JSON { name, target, objectApiName?, files }.
ParameterTypeDescription
name *string
studio_app_starter_sourceLSC Studio (GUI only): one starter LSC app's files (the lscMobileInline_* bundle and the c/ components it uses) and where they came from. Read-only; no org needed. Returns JSON { name, target, objectApiName?, files, starter }.
ParameterTypeDescription
id *string
studio_app_startersLSC Studio (GUI only): starter LSC apps the builder can begin from — working apps from the afls-ideas GitHub account, copied at pinned commits — with label, description, target, objects read and follow-up prompts. Read-only; no org needed. Returns JSON { starters }.
studio_app_tab_optionsLSC Studio (GUI data): who can be given a nav tab app and which apps can hold it — profiles with active users (LSC permission set holders first; `name` is the metadata name `tab.profiles` takes) and the org's Lightning apps (`fullName` is what `tab.application` takes). Read-only. Returns JSON { profiles: { label, name, activeUsers, lscUsers }[], apps: { fullName, label }[] }.
studio_apply_fixLSC Studio (GUI only): apply a previewed Studio fix. WRITES to the org. Only called from the Studio UI after the user confirms. Refuses if the target org isn't `expectedOrg`. Returns JSON with an undo fix.
ParameterTypeDescription
expectedOrg *stringThe org the user confirmed — the fix is refused if the target org differs
studio_component_catalogLSC Studio (GUI data): the components "Insert component…" offers for a Home or record Lightning page in the iPad preview — Recent items, the org's inline LWCs, related lists of synced child objects, and greyed-out ones that need Lightning App Builder. Read-only. Returns JSON.
ParameterTypeDescription
pageType *string
sobjectstring
studio_component_propsLSC Studio (GUI data): the properties of a Home or record Lightning page component for the iPad preview's properties sheet — a custom LWC's from its js-meta.xml targetConfigs, standard and LSC components from a curated table — each with type, range, options, default and whether the iPad reads it. Read-only. Returns JSON.
ParameterTypeDescription
component *string
pageTypestring
studio_connected_orgLSC Studio (GUI data): the org alias or username the tools are connected to. Returns JSON { org }.
studio_consent_dataLSC Studio (GUI data): the Capture Consent sheet for one account, read-only: the org's consent settings, subscriptions with their channels and the account's contact points and active consents, laid out as the device's mapper does (module/OPT/Consent). Returns JSON { consent } or { error }.
ParameterTypeDescription
accountId *string
studio_content_draftLSC Studio (GUI data): a page Roz drafts for Intelligent Content, kept on this computer in the engine's CLM folder (drafts/<draftId>), never in the org. `files` (with `replace`, all of them in place of the old ones) are written first; slides are .html files at the top (01_intro.html), other files at most one folder deep. Returns JSON { player, checks, files, thumbnails } — the draft laid out for the live player like an org page, the problems that keep it from being a page (errors) or that the iPad shows differently (warnings), its files, and the slide thumbnails the app still has to draw. `remove: true` deletes the draft instead. Nothing is sent to the org.
ParameterTypeDescription
filesarray
namestring
removeboolean
replaceboolean
studio_content_libraryLSC Studio (GUI data): the Intelligent Content builder's library — every presentation (not deleted) with status, dates, page count, topics, territories it's distributed to and a first-page image for the most recent. Read-only. Returns JSON.
studio_content_newLSC Studio (GUI data): what a new Intelligent Content presentation can be made from — the org's active HTML ZIP pages (a PDF presentation shows one PDF, so its pages can't be put together), topics, products and territories, plus the Status and gesture values the org takes and whether it's production. Read-only. Returns JSON.
studio_content_page_imagesLSC Studio (GUI data): the first image of each Intelligent Content page by id (pages picked for a new presentation). Read-only. Returns JSON { images: { [pageId]: dataUrl } }.
ParameterTypeDescription
pageIds *array
studio_content_playerLSC Studio (GUI data): one Intelligent Content presentation laid out for the iPad preview's live player, as LSC Mobile keeps it: each active page's ZIP unpacked into its own folder with its slides rendered as Mustache templates and the player script added, or a PDF presentation's pages drawn as images; additional-content pages listed as assets. Files go to this user's private temp folder for the Electron app to serve to a sandboxed frame. Read-only against the org; never cached. Returns JSON { root, presentation, pages, slides, assets, notes }.
ParameterTypeDescription
presentationId *string
userIdstring
studio_content_presentationLSC Studio (GUI data): one presentation for the Intelligent Content builder — its settings, pages in order (required, products), topics and territories as a draft, the pages, topics, products and territories that can be added, and which pages other presentations share. Never cached. Read-only. Returns JSON.
studio_custom_scriptLSC Studio (GUI data): one custom script as the org holds it now — CodeText, the LWC bundle's code and other files, and whether they have drifted apart. Never cached. Read-only. Returns JSON.
studio_custom_scriptsLSC Studio (GUI data): the custom script library — every script with its type, object, status (will it run), LWC bundle, stage object assignments and static-check counts, plus the org's stage objects. Read-only. Returns JSON.
studio_diagnoseLSC Studio (GUI data): match a pasted error or symptom against known causes and validation rules and, with `checkOrg`, run their checks against the connected org — the data behind diagnose_lsc_issue. Read-only. Returns JSON { items, checkedOrg, orgNote? }.
ParameterTypeDescription
checkOrgbooleanRun the matched checks against the connected org (default true)
text *stringThe error message or symptom
studio_driftLSC Studio (GUI data): configuration snapshots for "What changed" — list saved snapshots, save one of the org now, diff the org now against one, or delete one. Reads the org; writes only local snapshot files. Returns JSON.
ParameterTypeDescription
action *string
daysnumberFor list: how many days of recent changes (default 14)
idstringSnapshot id, for diff and delete
labelstringLabel for a new snapshot
refreshbooleanRead the org again instead of reusing reads shared in the last minute
studio_export_sourceLSC Studio (GUI data): save the org's current version of applied Studio changes (or named metadata items) as sfdx source files in a local folder (force-app/main/default, or the project's default package), plus manifest/studio-package.xml. Read-only against the org — it only retrieves. A file already in the folder that differs is replaced only when Git has it committed and unedited, its hash is in `known` (what Studio last wrote) or its path is in `replace`; otherwise it's left alone and listed in `conflicts`. Returns JSON { folder, packageDir, manifest, files, toRemove, orgOnly (changes with no source file, with why), missing, notes, conflicts, hashes (of the files written) }.
ParameterTypeDescription
changesarray
folder *string
itemsarray
knownobject
replacearray
studio_feature_mapLSC Studio (GUI data): collect every configuration surface for one LSC feature (objects, record types, layouts, custom scripts, validation rules, Apex triggers, flows, trigger handlers, DB Schema, actions, Admin Console settings, compliance) with health findings. Read-only. Returns JSON.
ParameterTypeDescription
featureId *stringFeature id from studio_list_features, e.g. 'visit'
refreshbooleanRead the org again instead of reusing reads shared in the last minute
studio_feature_map_progressLSC Studio (GUI data): which surface a running studio_feature_map (or, with `readiness`, studio_readiness) load for a feature is on — steps waiting / running / done / failed, with start and finish times and counts like "12 layouts" — or null when none has run. Read-only; makes no org calls. Returns JSON.
ParameterTypeDescription
featureId *string
readinessboolean
studio_fix_for_toolLSC Studio (chat write gate, read-only): the Studio changes a chat write tool call would make, built from the org as it is now, for the pending-changes tray. Returns JSON { changes: [{ fix, affects? }], note? } or { unsupported: reason } when Studio can't express the call exactly. Nothing is written.
ParameterTypeDescription
input *objectThe arguments the model passed to it
name *stringThe write tool's name, e.g. update_db_schema
studio_fix_progressLSC Studio (GUI only): the steps each change of a running studio_preview_fix / studio_apply_fix batch is on (waiting / running / done / failed, with times and counts), keyed by the `progress.id` those calls were given; null once it has expired. Read-only; makes no org calls. Returns JSON { progress }.
ParameterTypeDescription
id *string
studio_ipad_publishedLSC Studio (GUI data): what the iPad actually renders for one user of a profile — tabs, Home page components, record layouts, and list views — read from the profile's published mobile metadata cache with the user's permission sets merged in (the profile's most typical user unless userId is given). Read-only. Returns JSON.
ParameterTypeDescription
languagestringDraw the iPad in this language (a translation file in the cache, like de or pt_BR) instead of the user's own; one the cache lacks falls back to en_US as the app does.
mobileLoginsarrayLogins Studio made through the LSC mobile app's connected app. When one belongs to the previewed rep, the live screens and records are read with it (their own sharing and field-level security, rows limited to their sync filter); otherwise the sf CLI connection reads and approximates. Tokens are used for this load only and never returned.
profile *string
userIdstring
studio_ipad_published_progressLSC Studio (GUI data): which step a running studio_ipad_published load for a profile is on (steps waiting / running / done / failed, with start and finish times), or null when none has run. Read-only; makes no org calls. Returns JSON.
ParameterTypeDescription
profile *string
studio_ipad_published_usersLSC Studio (GUI data): active users of a profile whose name contains `search`, for the iPad preview's user picker when the profile has more users than it lists. Read-only. Returns JSON { users }.
ParameterTypeDescription
profile *string
search *string
studio_ipad_reportsLSC Studio (GUI data): the Reports tab of the published iPad for one user — the tab's custom settings and, with ShowSalesforceReports, the folder and report tree the user can read (no report results). Read when the Reports tab is first opened rather than with studio_ipad_published. Read-only. Returns JSON { settings, reports?, dataNotes? }.
ParameterTypeDescription
userId *string
studio_item_detailLSC Studio (GUI data): fetch detail (validation rule formula, Apex trigger body, custom script code, Visit layout sidebar, flow outline and health checks) for one item. Read-only. Returns JSON.
ParameterTypeDescription
id *stringSalesforce record Id (for flows, the FlowDefinitionView DurableId)
kind *string
studio_kam_planLSC Studio (GUI data): one Key Account Management plan the iPad preview's list didn't include (the preview reads the 25 most recently changed plans), with its objectives, action plans, tactics, stakeholders and participants, read as the connected account over the tables `sync` names (the viewer's sync filters can't be applied here). Read-only. Returns JSON { plan, mode, nomenclature, notes }; plan is null when the account can't read it.
ParameterTypeDescription
object *string
planId *string
sync *array
studio_list_featuresLSC Studio (GUI data): list the features Studio can map. Returns JSON.
studio_list_profilesLSC Studio (GUI data): list profiles with active users, for Studio's "View as" lens. Read-only. Returns JSON.
studio_lwc_bundleLSC Studio (GUI data): one inline LWC (lscMobileInline_*) and the c/ components it uses, compiled with lightning-base-components and Studio's stand-ins for LDS and other platform modules into a script for the iPad preview's live frame, plus its offline check. Read-only. Returns JSON.
ParameterTypeDescription
name *string
studio_lwc_requestLSC Studio (GUI data): answers a request from a live-previewed inline LWC — UI API GETs and GraphQL queries only, as the connected user or, with mobileLogin, as the previewed rep; writes are refused. Returns JSON.
ParameterTypeDescription
bodyany
method *string
mobileLoginobjectThe previewed rep's login, made by Studio through the LSC mobile app's connected app; answered as them instead of the sf CLI connection
path *string
studio_manager_dataLSC Studio (GUI data): on-demand reads for the iPad preview's manager screens, read-only. kind dashboardDetail: one dashboard's describe (and cached results when it runs as a specified user) as { detail }. kind myTeamWeek: one territory's activities for the week holding `date` (Connect API weekly-territory-activities), mapped like the device's My Team tab. Returns JSON { week } or { error }.
ParameterTypeDescription
colorsobjectMarker colour per activity type, from the snapshot's My Team screen
dashboardIdstring
datestring
firstDaystring
kind *string
localestring
territoryIdstring
timeZonestring
studio_metadata_cacheLSC Studio (GUI data): the Metadata cache page — every LSC profile's metadata cache (what its iPads download now, size, a newer failed or running attempt, how many Admin Console changes it is behind) and the newest generation jobs with each profile's record and the start of its ErrorLog. Read-only. Returns JSON.
studio_metadata_cache_contentsLSC Studio (GUI data): the files inside one metadata cache record's ZIP (path, size, compressed size), downloading it to a temporary folder that keeps the last few. Read-only. Returns JSON.
studio_metadata_cache_fileLSC Studio (GUI data): one file from a metadata cache record's ZIP — text (files over 24 MB cut to their first 1 MB, marked truncated), an image as a data URL, or marked binary. Read-only. Returns JSON.
ParameterTypeDescription
path *string
studio_metadata_cache_logLSC Studio (GUI data): the full ErrorLog of one metadata cache record and, for a generation job, of each profile's record. Read-only. Returns JSON.
studio_metadata_docLSC Studio (GUI data): a page layout, compact layout, Lightning page or list view as it is in the org now — a layout's sections, fields, related lists and the profiles using it; a compact layout's fields, the fields it could take and the record types using it; a Lightning page's regions, facets and components, the profiles and apps it's assigned in and whether it's managed; a list view's columns, filters, filter scope, who it's shared with and the object's fields; a Lightning app's tab bar (the tabs that can be arranged, the package's fixed ones, the tabs it could take and the profiles that open it) — and whether the org is production, for editing it in the iPad preview. Read-only. Returns JSON.
ParameterTypeDescription
fullName *string
type *string
studio_object_syncLSC Studio (GUI data): the Object sync page — every DB Schema record (Admin Console › Mobile › Object Metadata Cache Configuration) with its object, type, active switch, validation status, filter, profile and permission set assignments, every field value, the sync query and Studio's findings (errors, invalid, unassigned, duplicates per profile), plus the org's queryable objects. Read-only. Returns JSON.
studio_object_sync_checkLSC Studio (GUI data): check DB Schema records the way metadata cache generation would trip over them — the object exists and can be queried, the delta date field and synced fields are on it, and the filter runs as a one-row query with its tags filled with sample values. Read-only: it doesn't start the Admin Console's Validate job or change Status. Returns JSON.
ParameterTypeDescription
developerNames *array
studio_page_reachLSC Studio (GUI data): the profiles a Lightning page is assigned to and the apps it's the default page of, for when `studio_metadata_doc` answered before that was worked out (`reachPending`). Read-only. Returns JSON (null fields when it couldn't be read).
ParameterTypeDescription
fullName *string
studio_perf_activeLSC Studio (GUI data): the performance run in progress for the connected org, if any, so the GUI can reattach to it. Returns JSON { job } (null when nothing is running).
studio_perf_cancelLSC Studio (GUI data): stop a running performance run; queries already in flight finish, no new ones start. Returns JSON status.
ParameterTypeDescription
jobId *string
studio_perf_checkLSC Studio (GUI data): pre-flight check of a test plan against the connected org — users that don't exist or are inactive, profile selections with no users, and territories none of a persona's users are in. Read-only. Returns JSON { org, issues, personas }.
studio_perf_parse_planLSC Studio (GUI data): validate an NFR profile YAML (the run_perf_assessment format) and return it as a JSON test plan. Doesn't touch the org. Returns JSON.
ParameterTypeDescription
yaml *string
studio_perf_reportLSC Studio (GUI data): render a finished performance run (the result from studio_perf_status) as a shareable markdown report. Doesn't touch the org. Returns JSON { markdown }.
ParameterTypeDescription
daysnumber
result *object
studio_perf_startLSC Studio (GUI data): start a performance assessment of a test plan (predicted sync volume + field telemetry per persona, evaluated against NFR thresholds) as a background job. Read-only against the org. Returns JSON status; poll with studio_perf_status.
ParameterTypeDescription
mobileLoginsarrayLogins Studio made through the LSC mobile app's connected app. A persona user whose username matches one gets their exact table list from their own metadata download instead of the ObjectPermissions approximation; tokens are used for this job only and never returned.
studio_perf_statusLSC Studio (GUI data): progress of a performance run started by studio_perf_start, with the full result once done. Returns JSON.
ParameterTypeDescription
jobId *string
studio_perf_territoriesLSC Studio (GUI data): territories in the active model that a persona's users are in (listed users plus those a profile selection picks), with how many of them are in each. Read-only. Returns JSON { territories }.
ParameterTypeDescription
selectobject
users *array
studio_perf_usersLSC Studio (GUI data): active users to test in a performance plan, filtered by name/username search and/or profile, most territories first, with each user's DeviceSyncSummary count over the last `days` days (default 30). Read-only. Returns JSON.
ParameterTypeDescription
daysnumber
profilestring
searchstring
studio_preview_fixLSC Studio (GUI only): preview a Studio fix against the live org — the exact changes, warnings, and whether it can be applied. Read-only. With `progress` ({ id, index, total }), the steps it takes can be read with studio_fix_progress while it runs. Returns JSON.
studio_publish_mobileLSC Studio (GUI only): start regenerating the LSC Mobile metadata cache for the given profiles ("Publish to iPad"). WRITES to the org. Refuses if the target org isn't `expectedOrg`. Returns JSON status; poll with studio_publish_status.
ParameterTypeDescription
expectedOrg *string
profiles *array
studio_publish_statusLSC Studio (GUI only): check a "Publish to iPad" metadata cache generation. Read-only. Returns JSON.
studio_readinessLSC Studio (GUI data): is one LSC feature ready for the field? Runs the feature's validation rules and Studio's checks (switched on, access, data, settings, iPad), each pass/fail/unknown with how to fix it. Read-only. Returns JSON.
ParameterTypeDescription
featureId *stringFeature id from studio_list_features, e.g. 'visit'
profilestringCheck for this profile (its name) only; checks that can't tell profiles apart are marked everyProfile
refreshbooleanRead the org again instead of reusing reads shared in the last minute
studio_report_dataLSC Studio (GUI data): one report's result for the iPad preview's View Report sheet, run read-only as the connected account (Summary and Tabular only; first 150 rows), reused for six hours from memory. Read-only. Returns JSON { id, data } — data is null when the report couldn't be run here. `userId` is the previewed rep; it doesn't change the run.
ParameterTypeDescription
reportId *string
userIdstring
studio_scopeLSC Studio (GUI data): every profile with active users in the connected org, grouped as iPad users, web-only LSC users, admins and integration users, or not LSC, with why and user counts — the Overview's "Readiness for" picker lists the first two. Read-only. Returns JSON { profiles }.
studio_script_testLSC Studio (GUI data): run a custom script in a sandbox against a real record, as the connected admin (a simulation, not the rep). Reads the org with read-only SOQL; setValue/save are recorded, never written. Returns JSON.
ParameterTypeDescription
code *string
envobject
objectNamestring
operationEventTypestring
platform *string
recordIdstring
type *string
userIdstring
studio_script_test_recordsLSC Studio (GUI data): recent records a custom script can be tested against (Visit Action Validation: ProviderVisit records with account, date, status and child counts; other types: records of `objectName`). Read-only. Returns JSON.
ParameterTypeDescription
objectNamestring
searchstring
type *string
studio_set_api_versionLSC Studio (GUI): pin the Salesforce API version for the connected org, or (null) go back to the org's own version. Refuses a version the org doesn't serve. Returns the same JSON as studio_api_version.
ParameterTypeDescription
version *stringe.g. "66.0", or null for the org's own version
studio_setup_linksLSC Studio (GUI data): the deepest Salesforce Setup page for each reference (page layout, field, compact layout, Lightning page, list view, record type, validation rule, Apex trigger, flow, user, profile, permission set, territory, record), as org-relative paths for `sf org open --path`; `exact` is false when the item's Id couldn't be found and the path is its list page. Read-only, cached per org. Returns JSON.
ParameterTypeDescription
refs *array
studio_setup_overviewLSC Studio (GUI data): org-wide setup signals no single feature owns — license capacity, metadata cache freshness, changes not yet published to the iPad, territory model. Read-only. Returns JSON.
ParameterTypeDescription
profilestringCheck for this profile (its name) only; checks that can't tell profiles apart are marked everyProfile
refreshbooleanRead the org again instead of reusing reads shared in the last minute
studio_signoff_reportLSC Studio (GUI data): render a plain-language go-live sign-off report from a performance assessment result and optional first-sync simulation results, with the detailed reports as an appendix. Doesn't touch the org. Returns JSON { markdown }.
studio_sim_activeLSC Studio (GUI data): the first-sync simulation in progress, if any, so the GUI can reattach to it. Returns JSON { job } (null when nothing is running).
studio_sim_cancelLSC Studio (GUI data): stop a running first-sync simulation; requests in flight are aborted and no new tables start. Returns JSON status.
ParameterTypeDescription
jobId *string
studio_sim_reportLSC Studio (GUI data): render a finished first-sync simulation (the result from studio_sim_status) as a shareable markdown report. Doesn't touch the org. Returns JSON { markdown }.
ParameterTypeDescription
result *object
studio_sim_startLSC Studio (GUI data): start a first-sync simulation (the network part of an iOS initial sync: user-info, metadata archive, every table's data) as a background job, running as the given sf CLI connection — admin or end user — or as a mobileLogin the Studio app made through the LSC mobile app's connected app (the token is used for this job only and never returned). Read-only against the org. Returns JSON status; poll with studio_sim_status.
ParameterTypeDescription
connection *stringsf CLI alias or username to run as; the label when mobileLogin is given
mobileLoginobjectA login Studio made through the LSC mobile app's connected app; used instead of the sf CLI connection
optionsobjectRAM of the simulated iPad in GB (default 8); sizes metadata chunks and legacy dynamic batches
studio_sim_statusLSC Studio (GUI data): progress of a first-sync simulation started by studio_sim_start, with the result once finished (also when cancelled, covering what was downloaded). Returns JSON.
ParameterTypeDescription
jobId *string
studio_survey_dataLSC Studio (GUI data): the Surveys sheet for one account, read-only. Without developerName it lists the account's surveys (newest invitation per survey, Open / Completed status from the viewer's response); with developerName, cacheRecordId and optionally version it returns that survey's pages and questions from the flow in the profile's metadata cache, typed as the device's mapper does (SurveysQuestionViewModel). Returns JSON { surveys, notes } or { form } or { error }.
ParameterTypeDescription
accountIdstring
cacheRecordIdstring
developerNamestring
versionnumber
viewerUserIdstring
studio_sync_impactLSC Studio (GUI data): predicted mobile sync volume before and after pending DB Schema changes (Studio fixes), per affected profile. Read-only — nothing is written. Returns JSON.
studio_sync_overviewLSC Studio (GUI data): org-wide mobile sync health from DeviceSyncSummary over the last `days` days (default 30) — trend, failure rate, by app version and network — and the users most at risk. Read-only. Returns JSON.
studio_sync_userLSC Studio (GUI data): one user's predicted mobile sync volume per table with the DB Schema record behind each and why heavy tables are heavy, plus their own recent syncs. Read-only. Returns JSON.
studio_sync_user_progressLSC Studio (GUI data): how far a running studio_sync_user for this user has got (phase, tables counted of all, and per territory), or null when none ran lately. Read-only; makes no org calls. Returns JSON { progress }.
ParameterTypeDescription
userId *string
studio_unpublishedLSC Studio (GUI data): what changed in the org after a profile's live metadata cache was generated, so the iPad preview can say what iPads don't have yet. Layouts, compact layouts, Lightning pages, record types, tabs and Admin Console records (DB Schema, tabs, actions, settings) that reach the profile, each with who changed it and when; list views are marked live (the iPad reads them from the org). `known` limits document changes to the ones the profile's snapshot references. Kinds that couldn't be read come back in `errors`, never as "no changes". Read-only. Returns JSON.
ParameterTypeDescription
knownobject
profile *string
studio_user_accessLSC Studio (GUI data): a user's permission set licenses, permission sets, permission set groups, and territories. Read-only. Returns JSON.
studio_user_traceLSC Studio (GUI data): check one user's setup end to end — licenses, permission sets, territory, what syncs to their iPad, metadata cache, last sync — optionally for one feature, and point at the first broken link. Read-only. Returns JSON.
ParameterTypeDescription
featureIdstringFeature id to narrow the check to, e.g. 'samples'
refreshbooleanRead the org again instead of reusing reads shared in the last minute
toggle_db_schemaEnable or disable a DB Schema record (sets IsActive). Simple shortcut for the most common operation. Accepts short name (e.g., 'Visit') or full name ('DbSchema_Visit').
ParameterTypeDescription
active *booleanSet to true to enable, false to disable
name *stringThe DB Schema record name — accepts 'Visit' or 'DbSchema_Visit'
targetOrgstringOptional: specific org to update
toggle_trigger_handlerEnable or disable a LifeScienceTriggerHandler by DeveloperName. Use list_trigger_handlers first to see available handlers. This is the correct way to enable/disable features like DCR, Visit compliance, etc.
ParameterTypeDescription
active *booleanSet to true to enable, false to disable
handlerName *stringThe DeveloperName of the trigger handler (e.g., 'DCRHandler', 'VisitComplianceHandler')
targetOrgstringOptional: specific org to update
unassign_permission_setRemove a permission set assignment from one or more users. Finds existing PermissionSetAssignment records and deletes them.
ParameterTypeDescription
permissionSetName *stringPermission set label (e.g., 'LSC User') or API name (e.g., 'lsc4ce__LifeSciencesCloudUser')
targetOrgstringOptional: specific org. Uses current target org if not specified.
userIdsarrayArray of User IDs to remove the permission set from
usernamesarrayArray of usernames (email format) to remove the permission set from. Will be resolved to User IDs.
update_admin_settingUpdate an existing Admin Console setting (LifeSciConfigRecord) or its field values (LifeSciConfigFieldValue). Use list_admin_settings first to get record IDs.
ParameterTypeDescription
fieldValuesarrayThe FieldName of the LifeSciConfigFieldValue to update
fieldsobjectTop-level fields to update on the LifeSciConfigRecord (e.g., { IsActive: true, MasterLabel: 'New Label' })
recordId *stringThe LifeSciConfigRecord ID to update (from list_admin_settings output)
targetOrgstringOptional: specific org to update
update_db_schemaUpdate an existing DB Schema record. Looks up the record by name and updates only specified fields using correct data type mappings. Also assigns or removes profiles (addProfiles / removeProfiles): a rep whose profile isn't on the record doesn't get the object, which shows on the iPad as 'SObject <name> not found'. Accepts short name (e.g., 'Visit') or full name ('DbSchema_Visit').
ParameterTypeDescription
addProfilesarrayProfile names (exact, e.g. 'LS PH Field Sales Representative') to assign to this record, so those profiles' iPads download the object. Use this when a rep gets 'SObject <name> not found': the record's profile list is what decides who syncs the table.
attachmentsSupportstringHow attachments are handled
deltaDateFieldstringField used for delta sync (e.g., 'LastModifiedDate')
isActivebooleanEnable (true) or disable (false) the record
mandatoryFieldsstringComma-separated list of mandatory fields
name *stringThe DB Schema record name — accepts 'Visit' or 'DbSchema_Visit'
oneWaySyncbooleanSet web→mobile only sync (true) or bidirectional (false)
permissionSetsarrayPermission set API names (NOT labels) that gate this object's sync. Stored as a semicolon-delimited list in the PermissionSets field. Pass an empty array to clear. This adds to the record's profile assignments, it doesn't replace them: to make a profile sync the object, use addProfiles.
removeProfilesarrayProfile names to take off this record (stops the object syncing for them)
targetOrgstringOptional: specific org to update
whereSoqlstringNew SOQL WHERE clause filter. Must be wrapped in parentheses.
update_lsc_actionUpdate an existing LSC Quick or Custom Action. Accepts a record ID or MasterLabel/DeveloperName. Can update the label, activation status, and field values (Location, ActionName, SortOrder, Profiles, etc.).
ParameterTypeDescription
actionId *stringThe record ID or MasterLabel/DeveloperName of the action to update
fieldValuesarrayField name to update (e.g., Location, ActionName, SortOrder, Profiles, EntityType, ActionType, ActionTarget, TargetType, TargetParameters)
isActivebooleanSet active/inactive
labelstringNew display label for the action
targetOrgstringOptional: specific org
update_recordUpdate an existing record in Salesforce
ParameterTypeDescription
objectName *stringThe API name of the object
recordId *stringThe record ID to update
targetOrgstring
values *objectField values to update as key-value pairs
upload_presentationUpload a presentation to LSC Intelligent Content. Supports three formats: (1) .pptx — converts to HTML5 per-slide ZIPs using LibreOffice (default, preserves layout with SVG/images) or Pandoc reveal.js (semantic HTML with transitions), (2) .pdf — uploads directly (Salesforce handles page splitting), (3) .zip file(s) or directory of ZIPs — validates HTML structure and uploads each as a page. Creates the presentation via the Bulk Presentation Connect API.
ParameterTypeDescription
activationDatestringISO 8601 activation date (e.g., '2025-03-01')
conversionEnginestringPPTX conversion engine: 'libreoffice' (default) produces SVG-based HTML5 with pixel-perfect visual fidelity (fonts, colors, backgrounds); 'pandoc' produces semantic HTML5 (loses visual styling). Only applies to .pptx files.
deactivationDatestringISO 8601 deactivation date
enableDoubleTapZoombooleanEnable double-tap zoom in player
enablePinchZoombooleanEnable pinch-to-zoom in player
filePath *anyPath(s) to file(s): single .pptx, single .pdf, .zip file(s), or a directory containing .zip files
playerGesturestringGesture to open the menu player
presentationIdstringExternal system ID (e.g., Veeva Vault ID)
presentationName *stringDisplay name for the presentation in LSC
sendByEmailbooleanAllow reps to email this presentation
targetOrgstringOptional: specific org to upload to
topicsarrayArray of Topic IDs for Content Library categorization

Security checks

6 checks have not been run yet.

Questions

About Afls For Claude

How do I install Afls For Claude?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Afls For Claude safe to use with an AI agent?

Its trust score is 53 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Afls For Claude still maintained?

Yes — the last commit was yesterday. The repository has 10 stars and 7 forks.

What tools does Afls For Claude provide?

Conduid read 163 tools from the source: add_navigation_tab, add_visit_engagement_sidebar_item, analyze_sync_telemetry, assign_permission_set, assign_presentation_content, audit_mobile_config, bulk_create_records, bulk_update_records and 155 more. 119 of them publish their parameters, listed under Tools above.