jetbrains_get_selection
Retrieve the current file path and selected code lines from JetBrains IDEs using the Claude plugin. Provides real-time IDE context to AI assistants.
Instructions
Return the current file path and selected lines forwarded by the Claude JetBrains plugin.
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": "jetbrains_get_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxChars | No | ||
| includeText | No |