update_note
Verify a note's ID and current name, then update its title and body with HTML content.
Instructions
Update an existing note by its primary key ID with AppleScript verification.
Required: note_id, note_name, new_name, and new_body parameters Supported HTML: , , , , , Best Practices: Use semantic HTML, add tags for spacing, avoid CSS styles Security: AppleScript verifies ID and name match before updating
Example: note_id: "p1234" note_name: "Current Note Title" new_name: "Updated Report" new_body: "Status: CompleteDone"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_id | Yes | Primary key ID of the note to update (e.g., 'p1234') | |
| note_name | Yes | Current name of the note to verify and update | |
| new_name | Yes | New note title wrapped in <h1> tags (e.g., '<h1>Updated Title</h1>') | |
| new_body | Yes | New note body content with appropriate HTML formatting (e.g., '<p>Updated content</p>') For proper spacing between two sections, use <br>. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |