Get TipTap JSON Content
get-tiptap-json-contentRetrieve the existing TipTap JSON content of a broadcast or template, optionally with schema. Use as base for editing before composing or modifying email content.
Instructions
Purpose: Retrieve the existing TipTap JSON content of a broadcast or template, optionally bundled with the TipTap schema reference. Also connects the agent to the editor so the avatar is visible while content is being generated.
When to use:
Always call this before compose-broadcast or compose-template to fetch the current document state — even if you expect it to be empty, the resource may have content set via the dashboard
When the user asks to edit, tweak, or modify existing email content
To inspect the current TipTap structure of a resource
Returns: The TipTap JSON content object for the resource, and optionally the TipTap schema. Use the content as the base for modifications, then pass the updated JSON to compose-broadcast or compose-template.
Note: This tool automatically connects the agent to the editor. The subsequent compose-broadcast or compose-template call will disconnect when done.
Tip: Set include_schema to true to get both the existing content and the schema in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_id | Yes | The broadcast ID (UUID), template identifier (UUID or alias), or Resend dashboard URL (e.g. https://resend.com/broadcasts/<id> or https://resend.com/templates/<id>) | |
| resource_type | Yes | Type of resource to fetch content for | |
| include_schema | No | Returns the TipTap schema reference alongside the content. Required for producing valid TipTap JSON. Set to false only if you already have the schema. |