get_automation
Read back the full, current spec of a single live automation by id — keywords, every DM template, comment-reply, non-first-degree-reply and repost templates (repost_dm_template, repost_comment_reply_templates, settings.only_repost_dm), and all settings (auto-connect, follow-ups, etc.). Use this to verify exactly what an automation will say and do before it fires.
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": {
"automation_id": "<automation_id>"
},
"name": "get_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| act_as | No | APEX+ or admin act_as (optional): operate this tool AS one of your managed profiles — pass that profile's LeadShark account email (see list_profiles). Requires an active delegation from the profile owner plus an APEX+ plan or admin act_as enabled by LeadShark (which runs on the profile's own plan); anything else is refused with a reason, never silently redirected. The action runs under the managed profile's own budgets, approval queue, and action log. With a Team key, act_as is required on every call and must be one of the key's accounts (list_profiles); the call must also be within the permission groups the key has on that account, or it's refused with permission_missing. Hourly/daily limits are that profile's own. | |
| automation_id | Yes | UUID of the automation to read (from list_automations or list_recent_posts). |