obsidian_get_selection
Retrieves the selected text from the active Obsidian editor so you can use it in context-aware workflows or commands.
Instructions
Get the currently selected text in the active editor.
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_get_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||