完善文档
This commit is contained in:
1 parent
192ea96eb4
commit
efc08dab5e
82 files changed
+1455
-109
No files matched your search
@@ -0,0 +1,28 @@
|
||||
# Tool System
|
||||
|
||||
## 架构
|
||||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
Registry["Tool Registry"] --> Discovery["Discovery"]
|
||||
Discovery --> Permission["Permission"]
|
||||
Permission --> Validation["Schema Validation"]
|
||||
Validation --> Runtime["Execution"]
|
||||
Runtime --> Normalize["Result Normalize"]
|
||||
Normalize --> Audit["Audit"]
|
||||
```
|
||||
|
||||
## Tool 必须具备
|
||||
|
||||
- name
|
||||
- description
|
||||
- input schema
|
||||
- output schema
|
||||
- permission
|
||||
- timeout
|
||||
- retry policy
|
||||
- version
|
||||
|
||||
## 统一原则
|
||||
|
||||
Agent 不直接执行任意外部能力。所有工具调用必须经过 Tool Runtime。
|
||||
Reference in new issue
Block a user