session
Check the server's current operating posture, target, read-only state, open effect gates, approvals, journal, and last wait result before planning actions.
Instructions
Report this server's current operating posture (read-only; offline, no device I/O — answers even when the device is down).
Call this after a context compaction, when resuming a long flow, or before
planning act calls: it names the target, dry-run/read-only state, which
effect gates are open (by class name only — opening one is operator-only,
out of band), the approval posture, any live standing approvals (#192) with
their scope and time left, the recent act journal, and the last
wait_for_state result for the target. All journal/wait state is
in-memory: a server restart empties it (and voids receipts and frame refs),
so an empty journal after a restart is expected, not evidence nothing
happened. Pair with healthcheck for device health and doctrine for
the operating playbooks.
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": "session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Profile name from ~/.config/kvm-pilot/config.toml selecting which KVM/BMC (and its managed host) this call targets. Omit to use the server's default (KVM_PILOT_PROFILE). |