get_active_file
Retrieve the currently open file in Obsidian vaults using REST API integration to access active workspace content.
Instructions
Get the currently active file in Obsidian (requires REST API plugin)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vault": "<vault>"
},
"name": "get_active_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | Yes | Vault identifier |