Connect to Editor
connect-to-editorConnect to a Resend broadcast or template editor to show an agent avatar and signal that an AI agent is actively working on the content.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resource_type": "<resource_type>",
"resource_id": "<resource_id>"
},
"name": "connect-to-editor"
}
}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 |