# willo_content_rules_write

> Replace one section of the site's content rules: scope site for the site-wide rules or a collection name for that collection's section.

Generated from Willo's code at each release.

Source: https://www.willo.ai/docs/reference/mcp-tools/willo-content-rules-write

**Change content rules.** Send the whole new text (up to 8,000 characters); an empty `rules_md` removes the section. Write plain sentences under these headings, each as `## <heading>`, leaving out any that don't apply: Voice, Words to avoid, Images, Who approves, How often to post, Anything else (the owner sees each as its own box). Every agent that writes content on this site follows these rules, so this ALWAYS needs a person's approval (`pending_approval` + link; call again after); the card shows the change. Read the current rules with willo_content_rules first.

## Access

- **Token**: read + act, and editor access or higher on the business.
- **Approval**: Always. Every call raises a card a person approves on the dashboard.
- **Secret scan**: refused if the new content holds a value shaped like an API key or token.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `scope` | string | yes | `site`, or a collection name such as `blog`. |
| `rules_md` | string | yes | The full new rules for this scope, under the headings above. Empty removes them. |
| `summary` | string | no | One plain sentence for the owner, shown on the card. |

## Related

- [All MCP tools](https://www.willo.ai/docs/reference/mcp-tools)
- [Error codes](https://www.willo.ai/docs/reference/errors)
- [Draft and live](https://www.willo.ai/docs/ai-agents/draft-and-live)
