Bug Description
The edit-note tool fails with an "Invalid discriminator value" error regardless of which operation value is passed. The tool schema also returns empty properties {}, which prevents the tool from functioning. The create-note, delete-note, read-note, and search-vault tools all work correctly.
Environment
- OS: Windows 11
- Obsidian version: 1.12.7
- Claude Desktop version: Claude 1.5354.0 (9a9e3d) 2026-04-29T01:14:34.000Z)
- Plugin version: `-- obsidian-mcp@1.0.6
- Required plugins status:
Steps to Reproduce
- Install obsidian-mcp via npm and configure it as an MCP server in Claude Cowork
- Call the
edit-note tool with any valid operation value (append, prepend, replace, or delete)
- Pass required parameters: vault name, filename, folder, operation, and content
Expected Behavior
The tool appends, prepends, replaces, or deletes content in the specified note.
Actual Behavior
The tool returns: MCP error -32602: Invalid arguments: Invalid discriminator value. Expected 'delete' | 'append' | 'prepend' | 'replace'
This occurs with all four operation values, including the ones listed in the error message itself. The tool schema returned to the client also shows empty properties {}, which means the calling agent cannot inspect valid parameter names or types.
Error Messages/Logs
MCP error -32602: Invalid arguments: Invalid discriminator value. Expected 'delete' | 'append' | 'prepend' | 'replace'
Additional Context
Updated to latest version via npm install -g obsidian-mcp@latest (updated 93 packages). The bug persists after the update and after restarting the client. As a workaround, delete-note followed by create-note achieves the same result but is significantly more expensive in terms of API tokens.
MCP server configuration:
{
"obsidian": {
"command": "C:\\Users\\krist\\AppData\\Roaming\\npm\\obsidian-mcp.cmd",
"args": ["C:\\Users\\krist\\OneDrive\\Documents\\Obsidian Vault"]
}
}
- Other plugins that might conflict
-->
Troubleshooting Attempted
Remember: This is volunteer work. Be patient and respectful. We'll help when we can.
Bug Description
The
edit-notetool fails with an "Invalid discriminator value" error regardless of which operation value is passed. The tool schema also returns empty properties{}, which prevents the tool from functioning. Thecreate-note,delete-note,read-note, andsearch-vaulttools all work correctly.Environment
Steps to Reproduce
edit-notetool with any valid operation value (append,prepend,replace, ordelete)Expected Behavior
The tool appends, prepends, replaces, or deletes content in the specified note.
Actual Behavior
The tool returns:
MCP error -32602: Invalid arguments: Invalid discriminator value. Expected 'delete' | 'append' | 'prepend' | 'replace'This occurs with all four operation values, including the ones listed in the error message itself. The tool schema returned to the client also shows empty properties
{}, which means the calling agent cannot inspect valid parameter names or types.Error Messages/Logs
Additional Context
Updated to latest version via
npm install -g obsidian-mcp@latest(updated 93 packages). The bug persists after the update and after restarting the client. As a workaround,delete-notefollowed bycreate-noteachieves the same result but is significantly more expensive in terms of API tokens.MCP server configuration:
{ "obsidian": { "command": "C:\\Users\\krist\\AppData\\Roaming\\npm\\obsidian-mcp.cmd", "args": ["C:\\Users\\krist\\OneDrive\\Documents\\Obsidian Vault"] } }-->
Troubleshooting Attempted
Remember: This is volunteer work. Be patient and respectful. We'll help when we can.