dev
Execute JavaScript in Obsidian's app context or capture screenshots of the Obsidian window to inspect and automate vault behavior.
Instructions
Developer tools for Obsidian.
Actions:
eval: Execute JavaScript in the Obsidian app context (code required)
screenshot: Take a screenshot of the Obsidian window (path optional)
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": {
"action": "<action>"
},
"name": "dev"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | JavaScript code to execute (for eval) | |
| path | No | Path to save screenshot (for screenshot) | |
| action | Yes | Action to perform |