workflow.getSelectionContext
Retrieves selected nodes and their contents from Circuitry workflows to clarify user references like "this" or "explain this" during AI-assisted coding.
Instructions
Get currently selected nodes and what is selected within them (cells in sheets, text in code/text/agent nodes). Use this to understand what the user is referring to when they say "this", "what does this do?", "explain this", etc. Returns empty array if nothing is selected.
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": "workflow.getSelectionContext"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||