Use Obsidian to read, create, update, search, or delete notes, manage periodic notes, and run commands.
Install and run the Obsidian Local REST API plugin in the vault. Provide its API key and base URL, plus the selected operation's fields. The plugin endpoint must be reachable from the Sim execution runtime; a URL on your own computer is not automatically reachable from Sim Cloud.
Read, create, update, search, and delete notes in your Obsidian vault. Manage periodic notes, execute commands, and patch content at specific locations. Requires the Obsidian Local REST API plugin.
Append content to the currently active file in Obsidian
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API contentstring Yes Markdown content to append to the active file
Parameter Type Description appendedboolean Whether content was successfully appended
Append content to an existing note in your Obsidian vault
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API filenamestring Yes Path to the note relative to vault root (e.g. "folder/note.md") contentstring Yes Markdown content to append to the note
Parameter Type Description filenamestring Path of the note appendedboolean Whether content was successfully appended
Append content to the current periodic note (daily, weekly, monthly, quarterly, or yearly). Creates the note if it does not exist.
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API periodstring Yes Period type: daily, weekly, monthly, quarterly, or yearly contentstring Yes Markdown content to append to the periodic note
Parameter Type Description periodstring Period type of the note appendedboolean Whether content was successfully appended
Create or replace a note in your Obsidian vault
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API filenamestring Yes Path for the note relative to vault root (e.g. "folder/note.md") contentstring Yes Markdown content for the note
Parameter Type Description filenamestring Path of the created note createdboolean Whether the note was successfully created
Delete a note from your Obsidian vault
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API filenamestring Yes Path to the note to delete relative to vault root
Parameter Type Description filenamestring Path of the deleted note deletedboolean Whether the note was successfully deleted
Execute a command in Obsidian (e.g. open daily note, toggle sidebar)
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API commandIdstring Yes ID of the command to execute (use List Commands operation to discover available commands)
Parameter Type Description commandIdstring ID of the executed command executedboolean Whether the command was successfully executed
Retrieve the content of the currently active file in Obsidian
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API
Parameter Type Description contentstring Markdown content of the active file filenamestring Path to the active file
Retrieve the content of a note from your Obsidian vault
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API filenamestring Yes Path to the note relative to vault root (e.g. "folder/note.md")
Parameter Type Description contentstring Markdown content of the note filenamestring Path to the note
Retrieve the current periodic note (daily, weekly, monthly, quarterly, or yearly)
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API periodstring Yes Period type: daily, weekly, monthly, quarterly, or yearly
Parameter Type Description contentstring Markdown content of the periodic note periodstring Period type of the note
List all available commands in Obsidian
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API
Parameter Type Description commandsjson List of available commands with IDs and names ↳ id string Command identifier ↳ name string Human-readable command name
List files and directories in your Obsidian vault
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API pathstring No Directory path relative to vault root. Leave empty to list root.
Parameter Type Description filesjson List of files and directories ↳ path string File or directory path ↳ type string Whether the entry is a file or directory
Open a file in the Obsidian UI (creates the file if it does not exist)
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API filenamestring Yes Path to the file relative to vault root newLeafboolean No Whether to open the file in a new leaf/tab
Parameter Type Description filenamestring Path of the opened file openedboolean Whether the file was successfully opened
Insert or replace content at a specific heading, block reference, or frontmatter field in the active file
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API contentstring Yes Content to insert at the target location operationstring Yes How to insert content: append, prepend, or replace targetTypestring Yes Type of target: heading, block, or frontmatter targetstring Yes Target identifier (heading text, block reference ID, or frontmatter field name) targetDelimiterstring No Delimiter for nested headings (default: "::") trimTargetWhitespaceboolean No Whether to trim whitespace from target before matching (default: false)
Parameter Type Description patchedboolean Whether the active file was successfully patched
Insert or replace content at a specific heading, block reference, or frontmatter field in a note
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API filenamestring Yes Path to the note relative to vault root (e.g. "folder/note.md") contentstring Yes Content to insert at the target location operationstring Yes How to insert content: append, prepend, or replace targetTypestring Yes Type of target: heading, block, or frontmatter targetstring Yes Target identifier (heading text, block reference ID, or frontmatter field name) targetDelimiterstring No Delimiter for nested headings (default: "::") trimTargetWhitespaceboolean No Whether to trim whitespace from target before matching (default: false)
Parameter Type Description filenamestring Path of the patched note patchedboolean Whether the note was successfully patched
Search for text across notes in your Obsidian vault
Inputs and outputsParameter Type Required Description apiKeystring Yes API key from Obsidian Local REST API plugin settings baseUrlstring Yes Base URL for the Obsidian Local REST API querystring Yes Text to search for across vault notes contextLengthnumber No Number of characters of context around each match (default: 100)
Parameter Type Description resultsjson Search results with filenames, scores, and matching contexts ↳ filename string Path to the matching note ↳ score number Relevance score ↳ matches json Matching text contexts ↳ context string Text surrounding the match