send_file_message
Send a file from your local storage to any Messages recipient, including group chats, with an optional accompanying text message.
Instructions
Send a file attachment with Messages to a handle or chat id.
Args: recipient: Phone/email handle, or chat id when recipient_type is "chat" path: Existing local file path to send message: Optional text message to send before the file recipient_type: "handle" or "chat"
Returns: Structured JSON with send metadata or an error message.
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": {
"recipient": "<recipient>",
"path": "<path>"
},
"name": "send_file_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| message | No | ||
| recipient | Yes | ||
| recipient_type | No | handle |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |