save_knowledge_tool
Save Markdown knowledge documents into a project knowledge base, including topic, tags, framework, and related files, so agents can retrieve codebase context later.
Instructions
儲存知識文件到專案知識庫
Args: project_name: 專案名稱 name: 知識主題或檔案名稱 content: 要儲存的內容(Markdown 格式) tags: 標籤列表(選填) framework: 所屬框架(選填,例如:Laravel, React) framework_layer: 框架層級(選填,例如:Controller, Service) code_type: 程式碼類型(選填,例如:logic, feature, guide) symbol_name: 主要符號名稱(選填,例如:UserController) related_files: 相關檔案列表(選填) context_description: 上下文描述(選填)
Returns: 包含檔案路徑的字典
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_name": "<project_name>",
"name": "<name>",
"content": "<content>"
},
"name": "save_knowledge_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tags | No | ||
| content | Yes | ||
| code_type | No | ||
| framework | No | ||
| symbol_name | No | ||
| project_name | Yes | ||
| related_files | No | ||
| framework_layer | No | ||
| context_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||