get_active_file_tool
Retrieve the active file in Obsidian, providing its path and content for automation or further processing.
Instructions
Get currently active file (requires Obsidian running).
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": "get_active_file_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No |