# PATCH /notepads/:notepad_id

**Resource:** [Notepads](./notepads.md)  
**MCP tool:** `update_notepad`  
**Scopes:** `notepads:write`  
**Write operation:** yes

Update the title and/or content of a notepad. Set is_public=true to publish it to the public blog, or false to unpublish; a slug is derived from the title on first publish.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `notepad_id` | path | string | yes |  |
| `title` | body | string | no |  |
| `content` | body | string | no |  |
| `is_public` | body | boolean | no | Publish (true) or unpublish (false) to the public blog. |
| `slug` | body | string | no | Optional public URL slug. Derived from the title when omitted. |
| `cover_image` | body | string | no | Cover image URL (shown on the card grid + public post). Pass null to clear. |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/notepads/:notepad_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"title":"...","content":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`