文档/工具配置

工具配置

配置 AI 可以使用的工具和权限

内置工具

file_read

读取文件

file_write

写入文件

shell

执行命令

web_search

网络搜索

memory

记忆操作

automation

自动化脚本

权限配置

[tools]
enabled = ["file_read", "file_write", "shell"]
confirm_dangerous = true # 危险操作需确认
[tools.shell]
whitelist = ["git", "cargo", "npm"]