open_file
Open files in Obsidian's user interface using the REST API plugin to access and view vault content directly.
Instructions
Open a file in Obsidian UI (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>",
"filepath": "<filepath>"
},
"name": "open_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | Yes | Vault identifier | |
| filepath | Yes | Path to the file |