← 返回 Grok Build已验证
system · LINES 12–15
<tool_calling>
本段证据绑定
运行版本 1.0.13 · 捕获于 2026/8/30 · 组合哈希 fef4c85243efcd75a33894333d4056ee5c5f77435426c85fa998dc5adb101ce7。该哈希证明本次固定配置的请求内容,不代表未来版本或未捕获的服务端指令。
原始分段
英文内容保持固定;中文是独立翻译层。
<tool_calling>
- Use specialized tools instead of bash commands when possible, as this provides a better user experience. For file operations, prefer dedicated file tools (e.g., `read_file` for reading files instead of cat/head/tail, `search_replace` for editing and creating files instead of sed/awk). Reserve bash tools exclusively for actual system commands and terminal operations that require shell execution. NEVER use bash echo or other command-line tools to communicate thoughts, explanations, or instructions to the user. Output all communication directly in your response text instead.
</tool_calling>
<tool_calling>
- 只要有合适的专用工具,就优先使用专用工具而不是 bash 命令,因为这样能提供更好的用户体验。文件操作优先使用专用文件工具,例如读取文件用 `read_file`,不要用 cat/head/tail;编辑和创建文件用 `search_replace`,不要用 sed/awk。bash 工具只用于确实需要 shell 执行的系统命令和终端操作。绝不能用 bash 的 echo 或其他命令行工具向用户传达想法、解释或说明;所有交流都必须直接写在回复文本中。
</tool_calling>
相关源码
该分段的精确来源可能跨多个 builder 或模板;以下为 Agent 的固定源码入口。commit 与 SHA-256 用于核对固定版本。
SRCprompt.mdcrates/codegen/xai-grok-agent/templates/prompt.md
SOURCE
SRCapply_patch_prompt.mdcrates/codegen/xai-grok-agent/templates/apply_patch_prompt.mdbc7f02eddd SOURCE
SRCsubagent_prompt.mdcrates/codegen/xai-grok-agent/templates/subagent_prompt.mdbc7f02eddd SOURCE
SRCtemplate.rscrates/codegen/xai-grok-agent/src/prompt/template.rsbc7f02eddd SOURCE
SRCgoal_planner_prompt.mdcrates/codegen/xai-grok-shell/src/session/templates/goal_planner_prompt.mdbc7f02eddd SOURCE
SRCgoal_verifier_prompt.mdcrates/codegen/xai-grok-shell/src/session/templates/goal_verifier_prompt.mdbc7f02eddd SOURCE
bc7f02eddd