AI Agent Tools Reference

Applies to: All

Overview

These are the tools Claude, Cursor and Claude Code can use through the FlexSite connection. Read tools never change anything. Change tools create or modify something, and your assistant asks before it uses them.

The site tools, from list_site_capabilities down, work only on Drupal environments with AI agent access turned on, and only within what your role allows.

ToolNameWhat it doesRead or change
get_profileGet profileShows which FlexSite account is connected.Read
list_organizationsList organizationsLists the organizations you belong to.Read
list_projectsList projectsLists the projects in one organization.Read
get_project_statusGet project statusEach environment’s URL, status and CMS, and whether a new project is ready.Read
list_project_issuesList project issuesOpen alerts and configuration advisories.Read
get_latest_deploymentGet latest deploymentThe newest deployment of each environment, including a failed step.Read
list_database_backupsList database backupsThe newest database backups of each environment.Read
get_project_quality_metricsGet quality metricsThe latest Lighthouse scores.Read
list_project_typesList project typesThe CMS versions you can create a project with.Read
list_installable_templatesList installable templatesSite templates and themes for one project type.Read
preview_project_createPreview new projectChecks a new project and shows its features and credit cost. Creates nothing.Read
create_projectCreate projectCreates the project and uses credits.Change
get_repositoryGet repositoryThe FlexLab clone URL and the branch of each environment.Read
get_deployment_statusGet deployment statusWhether a change has rolled out, stage by stage, with the log of a failed pipeline job.Read
get_local_setupGet local setupWhat you need to run an environment on your machine.Read
search_flexsite_docsSearch FlexSite docsSearches FlexSite’s product documentation. No sign-in needed.Read
check_drupal_hosting_compatibilityCheck Drupal hosting compatibilityChecks a pasted composer.json for packages that would block hosting on FlexSite. No sign-in needed.Read
list_site_capabilitiesList site capabilitiesFor each environment: AI agent access, production or not, your role, and the operations it allows.Read
describe_siteDescribe siteContent types, text formats, and whether the site has Canvas.Read
get_content_type_fieldsGet content type fieldsThe fields of one content type.Read
list_contentList contentContent on the site, newest change first.Read
get_contentGet contentOne content item: title, state, URL and body text.Read
create_pageCreate pageCreates a basic page. Unpublished unless you ask to publish.Change
create_contentCreate contentCreates an item of any content type with its fields. Unpublished unless you ask to publish.Change
list_canvas_componentsList Canvas componentsThe Canvas components on the site, with their props and slots.Read
build_canvas_pageBuild Canvas pageBuilds a Canvas page from components. Stays a draft unless you ask to publish.Change
update_contentUpdate contentReplaces the title, body or fields of an item. Saves a new revision, so the old values stay in the history.Change (overwrites)
publish_contentPublish contentPublishes an item. Needs the admin role.Change
add_menu_linkAdd menu linkAdds a menu link to a path on the same site.Change
add_media_from_damAdd media from DAMAdds an image from your FlexSite DAM to the site’s media library.Change
clear_site_cacheClear site cacheRebuilds Drupal’s caches. Does not change content.Change
run_on_sitesRun on many sitesRuns one operation on up to 50 environments. Shows a plan first and runs only after you confirm.Change
get_site_operationGet site operationProgress and per-site results of a run on many sites.Read