AACFlow

Obsidian

Mit deinem Obsidian-Vault über die Local REST API interagieren

Obsidian is a powerful knowledge base and note-taking application that works on top of a local folder of plain-text Markdown files. With features like bidirectional linking, graph views, and a rich plugin ecosystem, Obsidian is widely used for personal knowledge management, research, and documentation.

With the AACFlow Obsidian integration, you can:

  • Read and create notes: Retrieve note content from your vault or create new notes programmatically as part of automated workflows.
  • Update and patch notes: Modify existing notes in full or patch content at specific locations within a note.
  • Search your vault: Find notes by keyword or content across your entire Obsidian vault.
  • Manage periodic notes: Access and create daily or other periodic notes for journaling and task tracking.
  • Execute commands: Trigger Obsidian commands remotely to automate vault operations.

How it works in AACFlow: Add an Obsidian block to your workflow and select an operation. This integration requires the Obsidian Local REST API plugin to be installed and running in your vault. Provide your API key and vault URL, along with any required parameters. The block communicates with your local Obsidian instance and returns structured data you can pass to downstream blocks — for example, searching your vault for research notes and feeding them into an AI agent for summarization.

Nutzungsanleitung

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.

Tools

obsidian_append_active

Append content to the currently active file in Obsidian

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API
contentstringJaMarkdown content to append to the active file

Ausgabe

ParameterTypBeschreibung
appendedbooleanWhether content was successfully appended

obsidian_append_note

Append content to an existing note in your Obsidian vault

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API
filenamestringJaPath to the note relative to vault root (e.g. "folder/note.md")
contentstringJaMarkdown content to append to the note

Ausgabe

ParameterTypBeschreibung
filenamestringPath of the note
appendedbooleanWhether content was successfully appended

obsidian_append_periodic_note

Append content to the current periodic note (daily, weekly, monthly, quarterly, or yearly). Creates the note if it does not exist.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API
periodstringJaPeriod type: daily, weekly, monthly, quarterly, or yearly
contentstringJaMarkdown content to append to the periodic note

Ausgabe

ParameterTypBeschreibung
periodstringPeriod type of the note
appendedbooleanWhether content was successfully appended

obsidian_create_note

Create or replace a note in your Obsidian vault

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API
filenamestringJaPath for the note relative to vault root (e.g. "folder/note.md")
contentstringJaMarkdown content for the note

Ausgabe

ParameterTypBeschreibung
filenamestringPath of the created note
createdbooleanWhether the note was successfully created

obsidian_delete_note

Delete a note from your Obsidian vault

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API
filenamestringJaPath to the note to delete relative to vault root

Ausgabe

ParameterTypBeschreibung
filenamestringPath of the deleted note
deletedbooleanWhether the note was successfully deleted

obsidian_execute_command

Execute a command in Obsidian (e.g. open daily note, toggle sidebar)

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API
commandIdstringJaID of the command to execute (use List Commands operation to discover available commands)

Ausgabe

ParameterTypBeschreibung
commandIdstringID of the executed command
executedbooleanWhether the command was successfully executed

obsidian_get_active

Retrieve the content of the currently active file in Obsidian

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API

Ausgabe

ParameterTypBeschreibung
contentstringMarkdown content of the active file
filenamestringPath to the active file

obsidian_get_note

Retrieve the content of a note from your Obsidian vault

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API
filenamestringJaPath to the note relative to vault root (e.g. "folder/note.md")

Ausgabe

ParameterTypBeschreibung
contentstringMarkdown content of the note
filenamestringPath to the note

obsidian_get_periodic_note

Retrieve the current periodic note (daily, weekly, monthly, quarterly, or yearly)

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API
periodstringJaPeriod type: daily, weekly, monthly, quarterly, or yearly

Ausgabe

ParameterTypBeschreibung
contentstringMarkdown content of the periodic note
periodstringPeriod type of the note

obsidian_list_commands

List all available commands in Obsidian

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API

Ausgabe

ParameterTypBeschreibung
commandsjsonList of available commands with IDs and names
idstringCommand identifier
namestringHuman-readable command name

obsidian_list_files

List files and directories in your Obsidian vault

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API
pathstringNeinDirectory path relative to vault root. Leave empty to list root.

Ausgabe

ParameterTypBeschreibung
filesjsonList of files and directories
pathstringFile or directory path
typestringWhether the entry is a file or directory

obsidian_open_file

Open a file in the Obsidian UI (creates the file if it does not exist)

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API
filenamestringJaPath to the file relative to vault root
newLeafbooleanNeinWhether to open the file in a new leaf/tab

Ausgabe

ParameterTypBeschreibung
filenamestringPath of the opened file
openedbooleanWhether the file was successfully opened

obsidian_patch_active

Insert or replace content at a specific heading, block reference, or frontmatter field in the active file

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API
contentstringJaContent to insert at the target location
operationstringJaHow to insert content: append, prepend, or replace
targetTypestringJaType of target: heading, block, or frontmatter
targetstringJaTarget identifier (heading text, block reference ID, or frontmatter field name)
targetDelimiterstringNeinDelimiter for nested headings (default: "::")
trimTargetWhitespacebooleanNeinWhether to trim whitespace from target before matching (default: false)

Ausgabe

ParameterTypBeschreibung
patchedbooleanWhether the active file was successfully patched

obsidian_patch_note

Insert or replace content at a specific heading, block reference, or frontmatter field in a note

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API
filenamestringJaPath to the note relative to vault root (e.g. "folder/note.md")
contentstringJaContent to insert at the target location
operationstringJaHow to insert content: append, prepend, or replace
targetTypestringJaType of target: heading, block, or frontmatter
targetstringJaTarget identifier (heading text, block reference ID, or frontmatter field name)
targetDelimiterstringNeinDelimiter for nested headings (default: "::")
trimTargetWhitespacebooleanNeinWhether to trim whitespace from target before matching (default: false)

Ausgabe

ParameterTypBeschreibung
filenamestringPath of the patched note
patchedbooleanWhether the note was successfully patched

Search for text across notes in your Obsidian vault

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAPI key from Obsidian Local REST API plugin settings
baseUrlstringJaBase URL for the Obsidian Local REST API
querystringJaText to search for across vault notes
contextLengthnumberNeinNumber of characters of context around each match (default: 100)

Ausgabe

ParameterTypBeschreibung
resultsjsonSearch results with filenames, scores, and matching contexts
filenamestringPath to the matching note
scorenumberRelevance score
matchesjsonMatching text contexts
contextstringText surrounding the match

On this page

Heute mit dem Aufbau beginnen
Über 100 000 Entwickler vertrauen uns.
Die SaaS-Plattform zum Aufbau von KI-Agenten und für Ihre agentische Belegschaft.
Loslegen