Files
myWiki/concepts/tool-authorization-boundaries.md
2026-07-20 14:14:55 +08:00

48 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "工具授权边界 (Tool Authorization Boundaries)"
created: 2026-07-13
updated: 2026-07-13
type: concept
tags: [agent, tool-use, safety, prompt-engineering]
sources:
- https://developers.openai.com/api/docs/guides/prompt-guidance-gpt-5p6
- openai-gpt5p6-prompt-guide-2026
---
# 工具授权边界
## 定义
GPT-5.6 Prompt 指南中关于 Agent 工具权限分级的原则:**能够判断下一步该做什么,不代表已经获得执行这一步的权限。** 在 Prompt 中显式区分为不同用户意图对应的授权级别。
## 授权分级
| 用户请求类型 | 授权范围 |
|-------------|---------|
| 分析、审查、制定计划 | 检查材料 + 报告结论 |
| 修改、构建、修复 | 本地变更 + 非破坏性验证 |
| 外部写入、删除、购买 | **再次确认** |
| 明显扩大任务范围 | **再次确认** |
## 设计原则
- 工具应**按任务需要提供**,不是越多越好
- 工具描述需说明:用途、适用时机、关键返回字段、失败处理方式
- 工具太多或说明不清 → 增加模型选择工具的负担
## 检索的边界
- 普通问答:一次较广搜索 → 核心证据足够直接回答
- 补充检索:仅在缺少关键事实/日期/来源/必要引用时
- 没有搜到 ≠ 信息不存在
- 来源冲突 → 如实说明
## 与 [[verification-governance|验证与治理]] 的关系
工具授权边界是 V 组件中治理Governance维度在 Prompt 层面的实现——权限门控从架构层下沉到指令层。
## 参考
- [[openai-gpt5p6-prompt-guide-2026|GPT-5.6 Prompt 指南]]
- [[verification-governance|验证与治理]]
- [[outcome-first-prompting|结果优先提示]]