File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9494- If user just provided a workspace/SID after a previous request, EXECUTE that request now
9595
9696WORKFLOW:
97- 1. Call get_execution_context(workspace_id) FIRST - gets hosts, SSH key, parameters
98- 2. Determine role from user message: "db cluster" → role="db", "scs" → role="scs"
99- 3. Run commands with run_readonly_command(workspace_id, role, command, become=True)
100- 4. Present and analyze results
97+ 1. If no workspace specified: call list_workspaces() → check ALL workspaces (don't ask which one)
98+ 2. Call get_execution_context(workspace_id) FIRST - gets hosts, SSH key, parameters
99+ 3. Determine role from user message: "db cluster" → role="db", "scs" → role="scs"
100+ 4. Run commands with run_readonly_command(workspace_id, role, command, become=True)
101+ 5. Present and analyze results
101102
102103TOOLS:
104+ - list_workspaces(): Get all available workspaces - use when none specified
103105- get_execution_context(workspace_id): Hosts, SSH key, SAP parameters (cached)
104106- run_readonly_command(workspace_id, role, command, become): Execute diagnostics
105107- run_configuration_checks(workspace_id): Validate SAP configuration
You can’t perform that action at this time.
0 commit comments