Read row selection
rillsoft_row_selection_getRead which row is selected in the visible resource or capacity view, matching report row coordinates. Returns selected:false if none; read-only, no undo.
Instructions
Reads which row of the visible resource or capacity view is selected, in the same coordinates the report uses per row. selected:false means none is. In any other view the call fails and points at rillsoft_view_state_apply. Read-only, no undo step.
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": "rillsoft_row_selection_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | No | coordinates of the selected row; missing when none is selected | |
| level | No | zero-based grouping level of the selected row; missing when none is selected | |
| selected | Yes | false = no row is selected; then row is missing |