open_file
Opens a specified file in Obsidian using its path relative to the vault root. Accepts an optional vault ID to target a specific vault.
Instructions
Open a file in Obsidian.
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": {
"filepath": "<filepath>"
},
"name": "open_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vaultId | No | Optional vault ID (defaults to configured default vault). | |
| filepath | Yes | Path to the file to open (relative to vault root). |