From 9df618eb3d1c8b55ea00fc1f7f9ebc22055ee2a3 Mon Sep 17 00:00:00 2001 From: Cyprian Zdebski Date: Thu, 17 Apr 2025 22:58:24 +0200 Subject: [PATCH] Update descriptions --- src/mcp_obsidian/tools.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mcp_obsidian/tools.py b/src/mcp_obsidian/tools.py index ddd36b1..25c11ac 100644 --- a/src/mcp_obsidian/tools.py +++ b/src/mcp_obsidian/tools.py @@ -294,18 +294,18 @@ class PutContentToolHandler(ToolHandler): def get_tool_description(self): return Tool( name=self.name, - description="Update content of a new or existing file in the vault.", + description="Create a new file in your vault or update the content of an existing one in your vault.", inputSchema={ "type": "object", "properties": { "filepath": { "type": "string", - "description": "Path to the file (relative to vault root)", + "description": "Path to the relevant file (relative to your vault root)", "format": "path" }, "content": { "type": "string", - "description": "Content of the file you would like to update" + "description": "Content of the file you would like to upload" } }, "required": ["filepath", "content"] @@ -322,7 +322,7 @@ class PutContentToolHandler(ToolHandler): return [ TextContent( type="text", - text=f"Successfully updated content in {args['filepath']}" + text=f"Successfully uploaded content to {args['filepath']}" ) ]