$ plex-axi context --help
environment: default
exit: 0

usage: plex-axi context [end]
description: Print the ambient context a session hook puts in front of an agent
access:
  read-only - this command cannot change anything on the server
subcommands[2]:
  context, end
flags{context}:
  (none)
flags{end}:
  (none)
note:
  this is the document `plex-axi setup hooks` installs a SessionStart hook to print
note:
  it reads the environment, the command table and the local session record only: no connection, no token, no server address, and it exits 0 whether or not this machine has a Plex server
note:
  for the live library -- the server, its size, what arrived recently and what is playing -- run `plex-axi` with no arguments instead
note:
  `context end` is the session-end hook: it reads the hook's JSON payload on stdin, counts the plex-axi commands in the transcript it names -- command names only, never arguments -- and `context` then reports the last session in the same directory
examples:
  plex-axi context
