get_server_memory
Check cached server memory including OS, runtimes, services, web stack, and logs to answer common questions without SSH. If missing, build it first.
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. 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 |
|---|---|---|---|
| instance_id | Yes | Instance ID, name, or custom-server name. | |
| format | No | Output format (default: summary). | summary |