obsidian_get_active_note
Read the note currently active in Obsidian to get its content without specifying a file path. Returns markdown or JSON.
Instructions
Read whichever note is currently open in the Obsidian window.
Requires Obsidian to be running with the Local REST API plugin — there is no filesystem equivalent of "the active note".
Args: params (EmptyInput): - response_format (str): 'markdown' or 'json'
Returns: str: Same shape as obsidian_read_note. On failure: "Error: Cannot read the active note: "
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "obsidian_get_active_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |