write_file
Write or overwrite text files in your Obsidian iCloud vault, ensuring proper encoding and path validation. Use to manage notes and content within designated directories efficiently.
Instructions
Your task is to write file to an appropriate path under /Users/username/Library/Mobile Documents/iCloudmdobsidian/Documents/my-vault. The path you'll write should follow user's instruction and make sure it hasn't been occupied.Create a new file or completely overwrite an existing file with new content. Use with caution as it will overwrite existing files without warning. Handles text content with proper encoding. Only works within allowed directories.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | ||
path | Yes |