An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:sparkles: Support Model Context Protocol (MCP) https://github.com/siyuan-note/siyuan/issues/13795
Daniel6cbcc5473d13
diff --git a/kernel/mcp/tools/attr.go b/kernel/mcp/tools/attr.goindex 352e619eac..081761f83c 100644--- a/kernel/mcp/tools/attr.go+++ b/kernel/mcp/tools/attr.go@@ -33,7 +33,7 @@ var AttrTool = &Tool{"action": {Type: "string", Description: "Operation", Enum: []string{"get", "set", "batch-get"}},"id": {Type: "string", Description: "Block ID"},"ids": {Type: "string", Description: "Comma-separated block IDs (for batch-get)"},- "attrs": {Type: "object", Description: "Attribute key-value pairs (for set). Note: title-img value must use CSS format like 'background-image:url(\"assets/example.jpg\")', not just the asset path"},+ "attrs": {Type: "object", Description: "Attribute key-value pairs (for set).\nCommon attributes:\n- icon: emoji hex codepoint like \"1f4ca\" (NOT the emoji char \"📊\"), custom image path like \"1/b3log.png\", or dynamic icon URL\n- title-img: CSS format like 'background-image:url(\"assets/example.jpg\")', NOT a bare asset path\n- tags: comma-separated tag names"},},Required: []string{"action"},},