# manage_product (/mcp/tools/manage_product)

`manage_product` · Changes data

Create and change products, who can open them, and their feedback endpoints. Admins only, except `update`, `add_feedback_endpoint` and `revoke_feedback_endpoint`, which product Owners may do.

Set `action` to one of these:
- `create` (needs `body`): Add a product to an existing organization; for a new company with no organization, use `manage_organization` with action `create`. Choose a new uuid as `id` so that a retry is safe: a repeat with the same id answers the product the first call made; a different organization or another product's id is refused (`conflict`). It reads no knowledge base yet: call `manage_knowledge_base` with action `start_read` next to find the features.
- `update` (needs `productId`, `body`): Change a product's name, description, knowledge base address or `reportBy`: send the fields to change; it answers the product with `reporting`, as `get` does. A new address is read at the next knowledge base read (`manage_knowledge_base` with action `start_read`). The same values again change nothing, so a retry is safe.
- `delete` (needs `productId`): Delete a product: it is hidden from everyone and paused (CRM syncs pause, feedback endpoints refuse feedback). `manage_product` with action `restore` undoes it until the answer's `restorableUntil`, 30 days on; then it is removed for good with all its data. Make sure the person means this product, and tell them until when it can be restored. Repeating it changes nothing, so a retry is safe.
- `restore` (needs `productId`): Bring a deleted product back before its `restorableUntil`: access, CRM syncs and feedback endpoints work again. Later it answers not found. Repeating it changes nothing, so a retry is safe.
- `grant_access` (needs `productId`, `userId`, `body`): Give a member Owner or Viewer access to a product, or change it. Only for a User of the product's organization (`not_a_member` otherwise); Admins own every product (`admin_owner`). Repeating the same request changes nothing, so a retry is safe.
- `revoke_access` (needs `productId`, `userId`): Take a member's access to a product away; give it back with `grant_access`. Taking away access nobody holds is not an error, so a retry is safe; Admins own every product and cannot lose it (`admin_owner`).
- `add_feedback_endpoint` (needs `productId`, `body`): Add a feedback endpoint, a named way in for feedback from one tool (a form, Zapier, a support desk), and get the key `send_feedback` takes. The key is in this answer only: give it to the person or use it at once. Choose a new uuid as `id` so that a retry is safe: a repeat with the same id answers the same endpoint with a new key, and the earlier key stops working.
- `revoke_feedback_endpoint` (needs `productId`, `connectionId`): Revoke a feedback endpoint: its key stops working at once, for good; feedback it sent stays. Add a new one with `manage_product` with action `add_feedback_endpoint` if the tool still needs one. This can't be undone, so Heuristic asks the person first (see `confirm`).

## Actions (set `action`)

### `create`

- Who can use it: Admins
- Hints: Changes data, Safe to repeat
- Runs: [`create_product`](/api/products/create_product)
- Inputs:
  - `body` (object, required): The product. `organizationId` is the organization's id, from `get_me`. `id` is a new uuid you choose so that a retry is safe: a repeat with the same id answers the product the first call made.
    - `organizationId` (string, required): An id (a uuid), from an earlier result.
    - `id` (string): Optional: a new uuid you choose for what this call creates, so that a retry is safe: a repeat with the same id answers what the first call made.
    - `name` (string, required): The product's name, 1 to 100 characters, on one line.
    - `knowledgeBaseUrl` (string, required): The product's public documentation site, an http or https address such as https://docs.example.com; never a local or private address. Heuristic reads it to find the product's features.
    - `description` (string): What the product is, up to 500 characters. Empty when left out.

### `update`

- Who can use it: Admins and the product's Owners
- Hints: Changes data, Safe to repeat
- Runs: [`update_product`](/api/products/update_product)
- Inputs:
  - `productId` (string, required): From `read_product` with action `list` or `get_me`.
  - `body` (object, required): The details to change; send at least one. Fields left out stay as they are.
    - `name` (string): The product's name, 1 to 100 characters, on one line.
    - `description` (string): What the product is, up to 500 characters.
    - `knowledgeBaseUrl` (string): The product's public documentation site, an http or https address such as https://docs.example.com; never a local or private address. Heuristic reads it to find the product's features.
    - `reportBy` (string): What every trend and change of the product's feedback reports by: `week`, `month`, `quarter`, or `auto` (the default), which picks the unit from the product's feedback volume. Allowed values: `auto`, `week`, `month`, `quarter`.

### `delete`

- Who can use it: Admins
- Hints: Changes data, Can remove data, Safe to repeat
- Runs: [`delete_product`](/api/products/delete_product)
- Inputs:
  - `productId` (string, required): From `read_product` with action `list` or `get_me`.

### `restore`

- Who can use it: Admins
- Hints: Changes data, Safe to repeat
- Runs: [`restore_product`](/api/products/restore_product)
- Inputs:
  - `productId` (string, required): From `read_product` with action `list` or `get_me`.

### `grant_access`

- Who can use it: Admins
- Hints: Changes data, Safe to repeat
- Runs: [`grant_product_access`](/api/products/grant_product_access)
- Inputs:
  - `productId` (string, required): From `read_product` with action `list` or `get_me`.
  - `userId` (string, required): The member's user id, from `read_organization` with action `members` or `read_product` with action `access`.
  - `body` (object, required): The access to give.
    - `access` (string, required): `owner` reads and changes the product's data; `viewer` only reads it. Allowed values: `owner`, `viewer`.

### `revoke_access`

- Who can use it: Admins
- Hints: Changes data, Safe to repeat
- Runs: [`revoke_product_access`](/api/products/revoke_product_access)
- Inputs:
  - `productId` (string, required): From `read_product` with action `list` or `get_me`.
  - `userId` (string, required): The member's user id, from `read_organization` with action `members` or `read_product` with action `access`.

### `add_feedback_endpoint`

- Who can use it: Admins and the product's Owners
- Hints: Changes data, Safe to repeat
- Runs: [`add_feedback_endpoint`](/api/feedback-sources/add_feedback_endpoint)
- Inputs:
  - `productId` (string, required): From `read_product` with action `list` or `get_me`.
  - `body` (object, required): The endpoint. `id` is a new uuid you choose so that a retry is safe; a repeat with the same id answers the same endpoint with a new key.
    - `id` (string): Optional: a new uuid you choose for what this call creates, so that a retry is safe: a repeat with the same id answers what the first call made.
    - `name` (string, required): What sends feedback through it, such as Zapier or Support form: 1 to 100 characters on one line.

### `revoke_feedback_endpoint`

- Who can use it: Admins and the product's Owners
- Hints: Changes data, Can remove data
- Asks the person to confirm before it runs.
- Runs: [`revoke_feedback_endpoint`](/api/feedback-sources/revoke_feedback_endpoint)
- Inputs:
  - `productId` (string, required): From `read_product` with action `list` or `get_me`.
  - `connectionId` (string, required): The feedback endpoint's id, from `read_product` with action `feedback_endpoints`.
  - `confirm` (boolean): True only after the person said yes to the question a first call answered with `confirmation_required`. Ignored when your app can show the person questions: Heuristic then asks them itself.
