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.
| Tool | Name | What it does | Read or change |
|---|---|---|---|
get_profile | Get profile | Shows which FlexSite account is connected. | Read |
list_organizations | List organizations | Lists the organizations you belong to. | Read |
list_projects | List projects | Lists the projects in one organization. | Read |
get_project_status | Get project status | Each environment’s URL, status and CMS, and whether a new project is ready. | Read |
list_project_issues | List project issues | Open alerts and configuration advisories. | Read |
get_latest_deployment | Get latest deployment | The newest deployment of each environment, including a failed step. | Read |
list_database_backups | List database backups | The newest database backups of each environment. | Read |
get_project_quality_metrics | Get quality metrics | The latest Lighthouse scores. | Read |
list_project_types | List project types | The CMS versions you can create a project with. | Read |
list_installable_templates | List installable templates | Site templates and themes for one project type. | Read |
preview_project_create | Preview new project | Checks a new project and shows its features and credit cost. Creates nothing. | Read |
create_project | Create project | Creates the project and uses credits. | Change |
get_repository | Get repository | The FlexLab clone URL and the branch of each environment. | Read |
get_deployment_status | Get deployment status | Whether a change has rolled out, stage by stage, with the log of a failed pipeline job. | Read |
get_local_setup | Get local setup | What you need to run an environment on your machine. | Read |
search_flexsite_docs | Search FlexSite docs | Searches FlexSite’s product documentation. No sign-in needed. | Read |
check_drupal_hosting_compatibility | Check Drupal hosting compatibility | Checks a pasted composer.json for packages that would block hosting on FlexSite. No sign-in needed. | Read |
list_site_capabilities | List site capabilities | For each environment: AI agent access, production or not, your role, and the operations it allows. | Read |
describe_site | Describe site | Content types, text formats, and whether the site has Canvas. | Read |
get_content_type_fields | Get content type fields | The fields of one content type. | Read |
list_content | List content | Content on the site, newest change first. | Read |
get_content | Get content | One content item: title, state, URL and body text. | Read |
create_page | Create page | Creates a basic page. Unpublished unless you ask to publish. | Change |
create_content | Create content | Creates an item of any content type with its fields. Unpublished unless you ask to publish. | Change |
list_canvas_components | List Canvas components | The Canvas components on the site, with their props and slots. | Read |
build_canvas_page | Build Canvas page | Builds a Canvas page from components. Stays a draft unless you ask to publish. | Change |
update_content | Update content | Replaces the title, body or fields of an item. Saves a new revision, so the old values stay in the history. | Change (overwrites) |
publish_content | Publish content | Publishes an item. Needs the admin role. | Change |
add_menu_link | Add menu link | Adds a menu link to a path on the same site. | Change |
add_media_from_dam | Add media from DAM | Adds an image from your FlexSite DAM to the site’s media library. | Change |
clear_site_cache | Clear site cache | Rebuilds Drupal’s caches. Does not change content. | Change |
run_on_sites | Run on many sites | Runs one operation on up to 50 environments. Shows a plan first and runs only after you confirm. | Change |
get_site_operation | Get site operation | Progress and per-site results of a run on many sites. | Read |