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

# Tools

> Available tools in the Ditto MCP server

The Ditto MCP server provides the following tools that your AI coding agent can call.

## get\_styleguide\_rules

Fetches style guide rules from your Ditto workspace, including both workspace-level and project-specific rules. Use this to ensure AI-generated UI text follows your team's content guidelines.

To create and manage style guide rules in Ditto, see [How to use Ditto's AI content systems](https://help.dittowords.com/en/articles/11956299-how-to-use-ditto-s-ai-content-systems).

## search\_ditto\_text

Searches your Ditto projects for existing text items by content. Use this to find and reuse strings that already exist in your team's content, rather than generating new text.

<Note>
  Searching the component library is coming soon.
</Note>

## create\_styleguide\_rule

Create a new rule in a style guide (name, description, examples, tags).

## update\_styleguide\_rule

Update an existing rule by ID (any field: name, description, examples, tags, enabled).

## delete\_styleguide\_rule

Delete a rule by ID.

## get\_workspace\_tags

Returns all tags currently in use across the workspace. Useful before adding tags to a rule — only existing tags are allowed.
