update session_9p.md: use tool_list/tool_load/tool_active instead of ollie-9p

This commit is contained in:
lkn 2026-07-28 23:26:30 +02:00
parent df199cd202
commit 7bcaf7422c
1 changed files with 3 additions and 3 deletions

View File

@ -63,9 +63,9 @@ Sessions live at `${OLLIE}/s/`. Each session is a directory; all operations are
Tools are scripts in `~/.config/ollie/tools/`. All tools are always discoverable; only loaded tools are callable.
- **Discover** — `ollie-9p read s/${OLLIE_SESSION_ID}/tools` lists all available tools with descriptions.
- **Load** — `echo <toolname> | ollie-9p write s/${OLLIE_SESSION_ID}/tools` promotes it to a native callable function.
- **Check** — `ollie-9p read s/${OLLIE_SESSION_ID}/tools.loaded` shows which tools are active.
- **Discover** — `tool_list` lists all available tools with descriptions.
- **Load** — `tool_load {"name": "toolname"}` promotes it to a native callable function.
- **Check** — `tool_active` lists tools currently loaded (promoted) in your session.
Once loaded, a tool becomes a first-class function. Call it directly by name with JSON arguments matching its schema — no wrapper, no multiplexer.