send_lead_draft
Send an approved outreach draft to its lead via the company's Resend connection, then mark the draft 'sent'. This is the manual human-in-the-loop send: it delivers exactly one lead_drafts row (by id) to the lead's email and records sent_at + resend_message_id. Honors the do_not_contact suppressio...
This record as markdown: /tools/com-getfreedomos-freedom-mcp/send-lead-draft.md
What send_lead_draft does on Freedom Mcp
AI agents use send_lead_draft to create or update resources in Freedom Mcp, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Freedom Mcp environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
draft_id | string | Yes | UUID of the lead_drafts row to send. |
reply_to | string | — | Optional Reply-To address for the outbound email. |
companyId | string | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. |
Parameters from the server's own tool schema.
Why send_lead_draft is rated Medium
This tool creates (sends) an outbound email communication and modifies internal state (sent_at, resend_message_id) — both reversible write operations. Although it has external side effects (email delivery), it does not execute arbitrary code, delete data, or move money. The primary action is creating/recording a communication event.
From the tool's definition Sends an approved outreach draft to a lead's email via Resend and marks the draft 'sent', recording sent_at + resend_message_id. This modifies the lead_drafts row state and creates an externally delivered message.
Attacks that exploit this kind of access
The rule that runs send_lead_draft safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Freedom Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For send_lead_draft, this is the rule to start with:
send_lead_draft stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Freedom Mcp, apply this rule, and every send_lead_draft call is checked against it from then on.
Questions about send_lead_draft
Send an approved outreach draft to its lead via the company's Resend connection, then mark the draft 'sent'. This is the manual human-in-the-loop send: it delivers exactly one lead_drafts row (by id) to the lead's email and records sent_at + resend_message_id. Honors the do_not_contact suppression list (the send is refused if the lead is suppressed). Use after an operator approves a draft in the Leads tab. Routing: Operator approved an outreach draft and wants to send it → use this [outbound-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time.]. It is categorised as a Write tool in the Freedom Mcp MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
send_lead_draft accepts 3 parameters: draft_id, reply_to, companyId. Required: draft_id, companyId. The full parameter table on this page comes from the server's own tool schema.
Register the Freedom MCP server in PolicyLayer and add a rule for send_lead_draft: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Freedom Mcp. Nothing to install.
send_lead_draft is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the send_lead_draft rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for send_lead_draft. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
send_lead_draft is provided by the Freedom MCP server (https://twuluxmoognlwtmaoqgo.supabase.co/functions/v1/freedom-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Freedom, and thousands of servers like it.
This server
Across the catalogue