打开网址
open_url
试试:"打开 https://github.com"
桌面 Agent 目前支持 36 种本地动作,按风险分级展示。 点击"试一下"会把示例 prompt 复制到剪贴板,你打开聊天粘贴就能用。 其中 29 种可撤销, 7 种不可撤销(删除 / 运行命令 / 发消息等)。
纯读取 / 查询类,不修改任何东西。
open_url
试试:"打开 https://github.com"
open_app
试试:"打开微信"
search_web
试试:"搜索一下今天的上海天气"
show_message
试试:"弹窗显示'测试成功'"
会修改文件 / 应用状态,需要本机弹窗确认。
list_windows
试试:"看看现在打开了哪些窗口"
get_system_info
试试:"看看电脑系统信息"
list_directory
试试:"看看桌面上有哪些文件"
get_file_info
试试:"看看桌面 todo.txt 的文件属性"
list_running_apps
试试:"看看现在运行了哪些应用"
create_file
试试:"在桌面新建 todo.txt 内容写'明天买牛奶'"
create_folder
试试:"在桌面新建一个叫 work 的文件夹"
open_file
试试:"打开桌面上的 report.docx"
open_folder
试试:"打开桌面上的 ai 文件夹"
get_window_context
试试:"读取当前窗口信息"
read_clipboard
试试:"剪贴板里有什么"
read_image_file
(暂无示例 prompt,直接告诉 Aira 你想做什么即可)
read_file
试试:"读一下桌面上的 notes.md"
copy_file
试试:"把桌面 a.txt 复制成 b.txt"
capture_screenshot
试试:"截一张屏幕"
focus_window
试试:"切换到 Chrome 窗口"
find_files
试试:"搜索桌面上所有 .md 文件(macOS)"
write_clipboard
试试:"把'今天天气真好'复制到剪贴板"
write_file
试试:"把桌面 todo.txt 内容改成'明天买面包'"
move_file
试试:"把桌面 a.txt 移到下载文件夹"
open_with_app
试试:"用 VS Code 打开 /Users/u/code/foo.py(macOS)"
reveal_in_finder
试试:"在 Finder 中定位 /Users/u/Desktop/x.txt(macOS)"
reveal_path
试试:"在资源管理器中定位桌面上的 ai 文件夹"
run_shortcut
试试:"执行快捷指令 '每日提醒'(macOS)"
rename_file
试试:"重命名桌面上的 old.txt 为 new.txt"
破坏性强 / 不可撤销,弹窗确认尤为重要。
press_key
试试:"按下 ctrl+c"
click_screen
试试:"点击屏幕坐标 (500, 300)"
send_im_message
试试:"用微信给张三发消息:在吗"
delete_file
试试:"删除桌面上的 todo.txt"
delete_folder
试试:"删除桌面上的 work 文件夹"
type_text
试试:"在当前焦点输入 hello world"
run_command
试试:"运行 git status 在 /home/u/repo"