get_selected_context
Read the currently selected track, scene, and device in Ableton Live to get their path IDs; returns null or -1 if no selection.
Instructions
Read the currently selected track, scene, and device.
Side effects: none.
Example: get_selected_context() returns selected path-ids.
Edge cases: absent selections use null or index -1.
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": "get_selected_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||