obsidian_console
Retrieve Obsidian console output to debug plugin errors, monitor activity, and filter logs by type, regex pattern, timestamp, or count.
Instructions
Get console output from Obsidian. Useful for debugging plugins and monitoring activity.
When to use proactively:
User reports plugin errors or unexpected behavior
After executing commands that might fail silently
When troubleshooting Obsidian issues
To check for warnings after file/plugin operations
Supports multiple filters that can be combined:
type: Filter by log level (log/warn/error/info/debug)
pattern: Regex to match message content
since: Only messages after this timestamp
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": "obsidian_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by message type (default: all) | |
| clear | No | Clear console messages after retrieving (default: false) | |
| limit | No | Maximum number of messages to return (default: 50) | |
| since | No | Only return messages after this timestamp (milliseconds since epoch) | |
| pattern | No | Regex pattern to filter message content (e.g., 'error|fail', 'plugin.*loaded') |