Phone Call Skill 📞
Control the macOS Phone/FaceTime app to make calls to contacts or phone numbers.
When to Use
✅ USE this skill when:
- - User wants to make a phone call
- User says "call", "anrufen", "telefonieren"
- User provides a phone number or contact name
- User wants to initiate a FaceTime audio call
When NOT to Use
❌ DON'T use this skill when:
- - User wants to send a text message → use imsg skill
- User wants to video call → use FaceTime manually
- User wants to manage contacts → use apple-contacts skill
- User is on iOS not macOS
Setup
- 1. Enable FaceTime on your Mac:
- System Settings → FaceTime → Turn On
- Sign in with Apple ID
- Grant permissions for Phone app
- 2. Verify FaceTime is working:
CODEBLOCK0
How It Works
Uses open tel: URLs to initiate FaceTime audio calls through the system Phone/FaceTime app.
Usage
Make a Call
By phone number:
CODEBLOCK1
By contact name (via AppleScript):
CODEBLOCK2
Call Management Commands
List recent calls (via Phone app logs):
CODEBLOCK3
End current call:
CODEBLOCK4
Examples
Basic Call Flow
CODEBLOCK5
With Contact Lookup
CODEBLOCK6
Number Formatting
Use international format:
- - Germany:
+49 + area code (without 0) + number - Austria:
+43 + area code (without 0) + number - Switzerland:
+41 + area code (without 0) + number
Examples:
- - Mobile: INLINECODE4
- Landline: INLINECODE5
Notes
- - Privacy: The call is visible on your Mac's screen
- Handoff: The call can be picked up on your iPhone if enabled (Handoff)
- Audio: Uses your Mac's microphone/speakers or paired Bluetooth device
- Timing: FaceTime may ask for permission on first call
Troubleshooting
FaceTime won't open:
- - Check System Settings → Privacy & Security → FaceTime → Allow
- Restart FaceTime: INLINECODE6
Number not recognized:
- - Ensure international format (+49...)
- Remove spaces, dashes, parentheses
Permission denied:
- - System Settings → Privacy & Security → Automation → Enable OpenClaw
电话通话技能 📞
控制 macOS 电话/FaceTime 应用,向联系人或电话号码拨打电话。
何时使用
✅ 使用此技能的情况:
- - 用户想要拨打电话
- 用户说打电话、呼叫、通话
- 用户提供电话号码或联系人姓名
- 用户想要发起 FaceTime 音频通话
何时不使用
❌ 不要使用此技能的情况:
- - 用户想要发送短信 → 使用 imsg 技能
- 用户想要视频通话 → 手动使用 FaceTime
- 用户想要管理联系人 → 使用 apple-contacts 技能
- 用户使用的是 iOS 而非 macOS
设置
- 1. 在 Mac 上启用 FaceTime:
- 系统设置 → FaceTime → 开启
- 使用 Apple ID 登录
- 授予电话应用权限
- 2. 验证 FaceTime 是否正常工作:
bash
open -a FaceTime
工作原理
使用 open tel: URL 通过系统电话/FaceTime 应用发起 FaceTime 音频通话。
使用方法
拨打电话
通过电话号码:
bash
open tel:+491234567890
通过联系人姓名(使用 AppleScript):
bash
osascript -e tell application FaceTime to make call to +491234567890
通话管理命令
列出最近通话(通过电话应用日志):
bash
osascript -e tell application System Events to keystroke m using command down
结束当前通话:
bash
osascript -e tell application FaceTime to hang up
示例
基本通话流程
bash
1. 用户说给马克斯打电话或呼叫 +491234567890
2. 确认号码:
echo 正在呼叫 +491234567890...
3. 拨打电话:
open tel:+491234567890
4. 等待片刻让 FaceTime 启动
sleep 2
5. 确认通话已开始
echo 已向 +491234567890 发起通话
带联系人查找功能
bash
首先查找联系人的电话号码
CONTACT=马克斯·穆斯特曼
NUMBER=$(osascript -e tell application \Contacts\ to phone of person \$CONTACT\ as string 2>/dev/null)
if [ -n $NUMBER ]; then
open tel:$NUMBER
echo 正在呼叫 $CONTACT: $NUMBER
else
echo 未找到联系人
fi
号码格式
使用国际格式:
- - 德国:+49 + 区号(去掉前导0)+ 号码
- 奥地利:+43 + 区号(去掉前导0)+ 号码
- 瑞士:+41 + 区号(去掉前导0)+ 号码
示例:
- - 手机:+4915112345678
- 座机:+493012345678
注意事项
- - 隐私: 通话在 Mac 屏幕上可见
- 接力: 如果启用了接力功能,可在 iPhone 上接听通话
- 音频: 使用 Mac 的麦克风/扬声器或配对的蓝牙设备
- 时机: 首次通话时 FaceTime 可能会请求权限
故障排除
FaceTime 无法打开:
- - 检查系统设置 → 隐私与安全性 → FaceTime → 允许
- 重启 FaceTime:killall FaceTime
号码无法识别:
- - 确保使用国际格式(+49...)
- 去除空格、破折号和括号
权限被拒绝:
- - 系统设置 → 隐私与安全性 → 自动化 → 启用 OpenClaw