Skip to Content
The Makinari API repo now includes an MCP Server — connect your AI models directly. View on GitHub →
MCP ServerToolsCategoriesPOST

Categories Tool

The categories tool allows you to read, create, update, and delete generic site categories from the database. It is primarily used to discover the correct category_id UUIDs required by the catalog_commerce and tasks tools, allowing agents to correctly group products and tasks without asking the user to manually provide the IDs.

Capabilities

  • List all categories (with optional search filter)
  • Retrieve a single category by ID
  • Create new categories
  • Update existing categories
  • Delete categories

Parameters

ParameterTypeRequiredDescription
actionstringYesThe operation to perform: list, get, create, update, delete.
idstringOptionalUUID of the category. Required for get, update, and delete.
namestringOptionalName of the category. Required for create.
descriptionstringOptionalDescription of the category.
iconstringOptionalIcon identifier.
colorstringOptionalColor hex code.
is_activebooleanOptionalWhether the category is active. Defaults to true on creation.
searchstringOptionalFilter categories by name during list.

Common Usage

Listing categories to find an ID

{ "action": "list", "search": "Bebidas" }

Creating a new category

{ "action": "create", "name": "Cuidado y Barbería", "description": "Productos para el cuidado personal" }
Last updated on