写入知识资料
knowledge_ingestAdds text to a project's knowledge base, preserving source, privacy level, version, and content hash while preventing duplicate entries.
Instructions
把用户提供或已授权的文本加入项目知识库,保留来源、隐私级别、版本和内容哈希;相同内容不会重复写入。
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_id": "<project_id>",
"title": "<title>",
"source_type": "<source_type>",
"content": "<content>"
},
"name": "knowledge_ingest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| content | Yes | ||
| project_id | Yes | ||
| source_ref | No | ||
| source_type | Yes | ||
| privacy_label | No | internal |