> ## Documentation Index
> Fetch the complete documentation index at: https://docs.headlessdealroom.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are Claude working with a user who has the Headless Dealroom connector, call the connector's get_started tool first. It returns the workspace, the seller's playbook, the skills to read and the rules; these docs explain them.

# Headless Dealroom connector tool reference

> Every tool in the Headless Dealroom MCP connector, grouped by job: workspace, guidance files, library and assets, deal rooms, sharing, media and brand.

The Headless Dealroom connector exposes the tools below to Claude over MCP at `https://headlessdealroom.com/mcp`. Each tool's own description in the connector is the authoritative contract; this page groups them by job so an agent can find the right one. Read [How Claude works](https://docs.headlessdealroom.com/agents/how-claude-works.md) for when to use them.

## Workspace and team

| Tool | What it does |
| - | - |
| `get_started` | Call first in every conversation. Returns the workspace, role, profile, playbook, design-system readiness, skills, templates, brand state and the core guide. |
| `switch_workspace` | Sets which of the user's workspaces later calls use. |
| `list_members` | Members, pending invites and, for admins, pending join requests. |
| `invite_member` | Admin only. Invites an email address with a role. No email is sent; they join when they sign in with it. |
| `update_member` | Admin only. Changes a role, removes a member, approves or declines a join request, or revokes an invite. |
| `update_profile` | Sets the caller's name, job title, photo and booking link, shown on the owner card of their rooms. |
| `update_workspace` | Admin only. Name, website, seller slug, locks, default email gate, default room sections and team playbook. |

## Guidance files

| Tool | What it does |
| - | - |
| `list_files` | Lists design-system, skill, template and playbook files with sizes and versions. |
| `read_files` | Reads those files at the current or an earlier version, and returns the version `write_files` needs. |
| `write_files` | Saves a new version of one design-system, skill, template or playbook unit. Requires the expected version. |
| `rollback` | Restores an earlier version of an asset, template, skill, fact, design system or playbook as a new version. |
| `save_design_feedback` | Saves a debrief, a standing rule, a template gap, or a finished asset as a new template. |

## Library and assets

| Tool | What it does |
| - | - |
| `query_library` | Read-only commands (`ls`, `find`, `cat`, `head`, `grep`, `refs`, `stat`) over the library, facts, rooms, templates, skills, design system and playbooks. The tool for finding an existing piece or tracing a fact. |
| `list_assets` | Searches the library by text, format, company or date. |
| `validate_asset` | Checks an asset without saving: errors, warnings, sizes, quality feedback and live marks. |
| `publish_asset` | Creates an asset and saves version 1. Returns the id, preview `viewUrl`, quality feedback and numbers found. Requires an `idempotencyKey`. |
| `update_asset` | Saves a new version from changed files. Requires the expected version. |
| `get_asset_files` | Reads an asset's files and metadata at any version. Use before changing an asset. |
| `get_stored_files` | Returns stored fonts and images by sha256, for assets saved from Claude's editors. |
| `archive_asset` | Hides an asset from the library. Links and versions keep working. |

## Deal rooms

| Tool | What it does |
| - | - |
| `find_dealrooms` | Searches rooms by company name, domain or title. Use before creating one. |
| `create_dealroom` | Creates a room for one company. Reuses the live room for the same domain unless told otherwise. Requires an `idempotencyKey`. |
| `get_dealroom` | Returns a room with its items, plan, confirmations, questions and preview `viewUrl`. |
| `update_dealroom` | Changes the title, company, welcome, next step, owner, logo, accent, status, sections or mutual plan. |
| `manage_dealroom_items` | Adds, removes, reorders or retitles items in a room's sections. |

## Sharing and activity

| Tool | What it does |
| - | - |
| `create_share_link` | Creates a tracked link to one room or asset for one recipient, with an optional email gate, expiry and pinned version. Sends nothing. |
| `list_share_links` | Lists preview and tracked links for a room, an asset or the workspace. |
| `revoke_share_link` | Stops a link at once, including links visitors made from it. Cannot be undone. |
| `get_activity` | Visit summaries for a room, asset, link or the workspace over up to 90 days. |
| `delete_viewer_data` | Admin only. Permanently deletes all records for one viewer email. Cannot be undone. |

## Media and brand

| Tool | What it does |
| - | - |
| `add_media` | Adds a logo, image, font or PDF by upload, from a public https address, or inline for small files. |
| `list_media` | Lists stored media and storage used. |
| `archive_media` | Hides a media file. Assets that use it keep showing it. |
| `lookup_brand` | Looks up a domain's brand: name, colours, fonts, logos and style guidance. |
| `get_brand_package` | Returns the brand prepared by fixed rules, including a design system for Claude. |
| `get_brand_files` | Returns the brand's font and logo files. |

## Behaviour to rely on

* **Safe retries.** `publish_asset` and `create_dealroom` take an `idempotencyKey`. Repeat the same key on a retry to get the same result.
* **Optimistic versions.** `update_asset`, `write_files`, `rollback` and plan changes in `update_dealroom` take the version you read. A stale write is refused with `VERSION_CONFLICT`; read again and retry.
* **Preview is not sharing.** Publishing returns an ungated preview link. Only `create_share_link` makes a link meant for a buyer.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.