Attach to outreach
attach_to_outreachOnly attach when the user explicitly asks to attach a specific file to someone's
message — never on your own initiative. attachment_id comes from list_attachments.
Name the queued message by exactly one handle: recipient_email for a queued email
(pending or awaiting approval); target_provider_id for a queued LinkedIn message, or
target_identifier for one whose profile is still resolving — both as shown on the row
in manage_linkedin_invite_queue's status read. On LinkedIn only messages carry files,
not connection requests or InMails, and LinkedIn takes fewer file types than email; a
file the channel can't send is refused with the reason. The same file can be attached
to several messages.
The attached file's name and every file now on that message, shaped
{'attached': True, 'filename', 'attachments': [{'id', 'filename', 'mime_type', 'size'}]}.
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": {
"attachment_id": "<attachment_id>"
},
"name": "attach_to_outreach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on_behalf_of | No | A teammate's email, or an agency client's from list_agency_clients, to run this call in that account: their agents, settings, connected accounts, and credits. Omit it to act on your own account. | |
| attachment_id | Yes | a file id from list_attachments. | |
| recipient_email | No | the queued email's recipient. | |
| target_identifier | No | the URL/slug of a queued LinkedIn message still resolving. | |
| target_provider_id | No | the queued LinkedIn message's target_provider_id. |