Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HEADLESSHOST_API_KEY | Yes | Your Kapiti API authentication token | |
| HEADLESSHOST_BASE_URL | No | The base URL for the Kapiti API | https://api.kapiti.com |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ping | Test authentication and connection to the Headlesshost API |
| health | Check the health status of the Headlesshost API |
| get_ref_data | Get system reference data and lookups |
| register_user | Register a new user in the system with account creation |
| create_user | Create a new user in the current account |
| get_user | Get user details by ID |
| update_user | Update user information |
| delete_user | Delete a user from the system |
| get_account | Get current account information |
| update_account | Update account information |
| upload_user_profile_image | Upload a profile image for a user |
| upload_staging_site_file | Upload a file to a staging site |
| create_content_site | Create a new content site in the current account |
| get_content_sites | Get all content sites in the current account |
| get_content_site | Get content site details by ID |
| update_content_site | Update staging site information |
| delete_content_site | Delete a content site |
| update_staging_site | Update staging site information |
| delete_staging_site | Delete a staging site |
| publish_staging_site | Publish a staging site to make it live |
| get_staging_site | Get staging site details by ID |
| get_staging_site_pages | Get staging site pages by ID |
| get_staging_site_configuration | Get staging site configuration by ID |
| get_staging_site_logs | Change logs since last publish |
| get_published_sites | Get published sites for a content site |
| revert_staging_site | Revert a staging site to a previous state |
| clone_staging_site | Clone a staging site |
| create_staging_site_section | Create a new section in a staging site page |
| get_staging_site_section | Get details of a staging site section |
| update_staging_site_section | Update a staging site section |
| delete_staging_site_section | Delete a staging site section |
| publish_staging_site_section | Publish a staging site section |
| revert_staging_site_section | Revert a staging site section to a previous state |
| get_staging_site_section_logs | Get logs for a staging site section since the last publish |
| create_staging_site_page | Create a new page in a staging site |
| get_staging_site_page | Get details of a staging site page |
| update_staging_site_page | Update a staging site page |
| delete_staging_site_page | Delete a staging site page |
| get_staging_site_page_logs | Get the change logs for a staging site page since the last publish |
| get_content_site_logs | Get the last 15 activity logs for a content site |
| get_content_site_hits | Get daily hits for a content site |
| get_content_site_accounts | Get accounts associated with a content site |
| get_content_site_claims | Get current user claims for the content site |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| api_config | Current Headlesshost API configuration and available endpoints |
| api_health | Current health status and connectivity information for the Headlesshost API |