File tree Expand file tree Collapse file tree 4 files changed +46
-1
lines changed
Expand file tree Collapse file tree 4 files changed +46
-1
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,6 @@ veADK 集成了以下火山引擎工具:
209209 name: doubao-seedream-4-0-250828
210210 api_base: https://ark.cn-beijing.volces.com/api/v3/
211211 api_key: your-api-key-here
212-
213212 ```
214213
215214运行结果:
@@ -359,6 +358,52 @@ veADK 集成了以下火山引擎工具:
359358![ 运行结果] ( ../assets/images/tools/las1.png )
360359![ 运行结果] ( ../assets/images/tools/las2.png )
361360
361+
362+
363+ ### 手机指令执行 (Mobile Run)
364+ ` mobile_run ` 该工具可以让Agent在云手机上完成手机任务。
365+
366+ !!! warning "使用 ` mobile_run ` 工具的附加要求"
367+ 1. 需要在火山购买云手机服务,并订购pod
368+ 2. 根据自己的需要在云手机上配置环境,必须下载app,登录账号等。
369+
370+
371+ === "代码"
372+
373+ ```python
374+ --8<-- "examples/tools/mobile_run/agent.py"
375+ ```
376+
377+ === "环境变量"
378+
379+ 必须配置在环境变量的配置项:
380+ - `TOOL_MOBIL_USE_TOOL_ID`: 用于执行命令的云手机id
381+
382+ 或在 `config.yaml` 中定义:
383+
384+ ```yaml title="config.yaml"
385+ tool:
386+ mobile_use:
387+ tool_id:
388+ - product_id-pod_id
389+ - product_id-pod_id
390+
391+ volcengine:
392+ access_key: xxx
393+ secret_key: xxx
394+ ```
395+
396+ 获取方式:
397+ 1. 登录火山,进入云手机产品控制界面
398+ ![ 云手机产品控制界面] ( ../assets/images/tools/mua_1.png )
399+ ![ 实例管理界面] ( ../assets/images/tools/mua_2.png )
400+ 2. tool_id 格式为:product_id-pod_id
401+
402+ 运行结果:
403+ ![ img_2.png] ( ../assets/images/tools/mua_3.png )
404+
405+
406+
362407## 系统工具
363408
364409- ` load_knowledgebase ` :检索知识库工具,在你给 Agent 传入 ` knowledgebase ` 参数后,将会自动挂载该工具,Agent 将在运行时自主决定何时查询知识库;
You can’t perform that action at this time.
0 commit comments