Connect to Editor
connect-to-editorConnect an AI agent to a Resend broadcast or template editor, displaying an avatar to indicate active agent presence.
Instructions
Purpose: Show agent presence in the Resend dashboard editor. Users will see an agent avatar while connected.
When to use:
To signal to dashboard users that an AI agent is working on the content outside of compose workflows
Not needed before compose-broadcast or compose-template — get-tiptap-json-content connects automatically, and compose tools disconnect when done.
Returns: Connection token and room ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_name | No | Display name for the agent avatar | |
| resource_id | Yes | ID of the resource or Resend dashboard URL (e.g. https://resend.com/broadcasts/<id> or https://resend.com/templates/<id>) | |
| resource_type | Yes | Type of resource to connect to |