Skip to content

工具与扩展 tools.yml

tools.yml 管理工具系统的运行时配置:外部脚本、扩展包、子助手调用、蓝图系统。

externalTools — 外部脚本工具

yaml
externalTools:
  enabled: true
  timeout: 5000
字段类型默认值说明
enabledbooltrue启用 tools/ 目录下的脚本工具加载
timeoutint5000脚本工具执行超时(毫秒)

expansions — 扩展包

yaml
expansions:
  enabled: true
字段类型默认值说明
enabledbooltrue启用 expansions/ 目录下的 JAR 扩展包加载

callAgent — 子助手调用

yaml
callAgent:
  timeoutSeconds: 1200
字段类型默认值说明
timeoutSecondsint1200助手 A 调用助手 B 的超时(秒)

blueprint — 蓝图系统

yaml
blueprint:
  enabled: true
  apiBaseUrl: "https://arkpilot-blueprint.pages.dev"
  maxBlocks: 50000
  maxBlocksPerTick: 50
  generation:
    model: ""
字段类型默认值说明
enabledbooltrue是否启用蓝图系统
apiBaseUrlstring蓝图 API 地址(上传/下载蓝图和网页预览)
maxBlocksint50000单蓝图最大方块数
maxBlocksPerTickint50每 tick 放置方块数
generation.modelstring""蓝图生成模型(留空用助手主模型)

参数调优

参数建议说明
maxBlocks10000-50000根据服务器性能调整
maxBlocksPerTick20-10020 = 流畅但慢,100 = 快但可能卡顿

详见蓝图系统

ArkPilot — Minecraft AI Assistant Plugin