add-language-to-space-tool
ChatGPTThis tool is used to add a new language to the space for translation purposes of the pages.
change-nested-section-rank-tool
ChatGPTThis tool changes the rank/order of a section within a nested section on a page. For example if a page has 3 sections in the following order under Featured Section: - Section A (order 0) - Section B (order 1) - Section C (order 2) If we want to move Section C to be between Section A and Section B, we would change its order to 1.
change-section-rank-tool
ChatGPTThis tool changes the rank/order of a section within a page. For example if a page has 3 sections in the following order: - Section A (order 0) - Section B (order 1) - Section C (order 2) If we want to move Section C to be between Section A and Section B, we would change its order to 1.
create-data-item-tool
ChatGPTThis tool creates a new data item in the Garchi CMS. Data items can be blog articles, products, documents or any itemable content type defined in the CMS. Each data item has one or more categories associated with it. So make sure to provide valid category IDs while creating the item. If needed create categories first using the ManageCategoryTool. Do not use this tool to create headless web pages or sections. Use the CreatePageTool, UploadAssetTool and CreateSectionTool for that.
create-meta-for-item-tool
ChatGPTEvery data item can have key value pair of metadata associated with it to extend its information. These are key value pairs where the key is a string and the value can be of various types. Example could be author as a key of value of author_name of type string for a blog article item. It is important to maintain consistency in metadata keys and types across similar items. This tool helps in creating metadata entries for data item. Each item can have multiple metadata entries.
create-nested-section-tool
ChatGPTThis tool adds a new nested section to a section on an existing headless web page. The section is based on a specified section template and includes content data. This tool is similar to CreateSectionTool but it allows for nesting a section within another section, which is useful for creating complex page structures.
create-page-tool
ChatGPTThis tool creates a new headless web page in a specified space. This tool doesn't create page content, rather it creates the page shell with metadata like title, description, path, and optional JSON-LD for SEO. The created page can later have sections added to it using the CreateSectionTool.
create-section-template-tool
ChatGPTThis tool creates a new section template that can be used to add sections to headless web pages. Section templates define the structure and content placeholders for sections. Section templates has props that define the configurable properties of the section. They map to component props in frontend frameworks. Prop key has to be lowercase and without spaces. It can be snake_case but nothing else. For icon prop types like icon-hero and icon-lucid are used for icons from heroicons and lucid icons respectively. The value of these props should be the icon name as defined in the respective libraries.
create-section-tool
ChatGPTThis tool adds a new section on an existing headless web page. The section is based on a specified section template and includes content data. With this tool you can put section templates as sections on your headless page.
delete-section-tool
ChatGPTRemoves a section from a page. This action is irreversible and will permanently delete the section and its content from the page.
get-data-item-tool
ChatGPTRetrieves a data item by its ID. You need to call list-data-items-tool first to get the item IDs.
get-page-tool
ChatGPTThis tool retrieves a headless web page by space UID, page slug and mode. It returns the page details including its sections and content structure.
list-assets-tool
ChatGPTThis tool lists all the assets in a given space. It takes the space uid as input and return the list of assets in that space. Assets are images, videos, documents, or any file that the user has uploaded to the Garchi CMS. Assets can only be used in page sections and not in data items.
list-categories-tool
ChatGPTList all the categories in a given space. Categories are associated only with data items.
list-data-items-tool
ChatGPTThis tool lists all data items in the Garchi CMS for a specified space. Data items can be blog articles, products, documents or any itemable content type defined in the CMS.
list-item-meta-tool
ChatGPTThis tool lists metadata keys and types for items in a space. This is useful to keep it consistent while creating item's metadata. Data items have limitation in terms of fields, thus metadata is used to extend them.
list-language-tool
ChatGPTThis tool is useful to list all added languages in a space. Languages are added to a space using the AddLanguageToSpaceTool. They are used to manage the page content in different languages within the same space. All spaces use en-US as the default language.
list-pages-tool
ChatGPTIt list all the headless pages in the workspace. This list can be used to understand what pages exist in the CMS and get information about them.
list-section-template-tool
ChatGPTThis tool lists all the section templates available in a given space. Section templates define reusable sections that can be added to headless web pages. They can be mapped to React or Vue components to render dynamic content. Each section template has props. Props define the configurable fields for the section template.
list-space-tool
ChatGPTThis tool lists all spaces in the system. It returns an array of space objects, each containing the space's ID, name, and description.
manage-category-tool
ChatGPTThis tool is used to manage categories within the Garchi CMS. It allows for creating, and updating categories. Categories are associated with Data items only. Each data item can map to a blog article, product, or any itemable content.
run-prerequisites-tool
ChatGPTThis tool gives information about how to install the skill that is useful for AI clients to manage content on Garchi CMS with ease. This skills are more focussed towards content rendering and code practices.
update-data-item-tool
ChatGPTUpdates a single existing data item (such as a blog article, product, or document) within a space. Provide the data item id and the space_uid it belongs to, along with only the fields you want to change — any field you omit is left unchanged. When you provide categories, they get replaced so make sure to provide old categories if you are adding a category. Use the list-data-items tool to find an item's id. This tool updates one item per call and is only for data items — do not use it for headless web pages or sections, which have their own tools.
update-page-tool
ChatGPTThis tool updates an existing headless web page with new metadata like title, description, path, and optional JSON-LD for SEO. Only the fields provided in the input will be updated, allowing for partial updates to the page.
update-prop-template-tool
ChatGPTThis tool is used to update the existing prop template of a section template. For example, HeroContainer section template has a prop_template called background_image of type text and need to be updated to type media.
upload-asset-tool
ChatGPTThis tool uploads an asset in a given space. It takes the space uid, raw content of the file and file type as input and return the uploaded asset. Assets can only be used in page sections and not in data items.
upsert-section-content-tool
ChatGPTThis tool creates or updates a section's content on the page. Upsert merges by prop id: provided props are overwritten or added, omitted props are left untouched. Each section is associated with section template which has set of props. Each props has id. To create content for a section follow the steps below: 1. Get the required section template details and it's associated props details. 2. Provide the correct input values including the props value based on the type. 3. If the props type is media then use the list-assets-tool to get the assets and based on the user choice provide the asset id. Make sure not to go in loop while call the list-assets-tool.