get_server_memory
Retrieve cached server details (OS, runtimes, services, web stack, logs) to answer questions without SSH. If no memory exists, build it first, then retry.
Instructions
Return cached memory (OS, runtimes, services, web stack, logs) for a managed instance. Call FIRST before issuing SSH commands — the cached summary frequently answers OS/runtime/service/web-stack questions without an SSH round-trip. If this returns an error with code='missing', the server has no memory yet — call build_server_memory(instance_id) to probe and populate it, then retry this tool. format='summary' (default) gives a token-efficient Markdown digest; format='markdown' gives the full untruncated version; format='full' returns the raw JSON for all modules; format='context_block' returns a envelope identical to what the first-party Servonaut chat client injects — use this when you want a single drop-in block to prepend to your own model context; format='stack_summary' returns a compact JSON stack profile (os, docker presence, databases, web server, log paths) for detector recon — the cheapest per-scan projection. Note: format='full' returns structured per-module data (observed, declared, probed_at, ttl_seconds, sudo_used, truncated, partial, raw_output). raw_output is scrubbed of secrets by the redaction library when config.memory.redaction_enabled is true (default).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format (default: summary). | summary |
| instance_id | Yes | Instance ID, name, or custom-server name. |