| name | cpipe |
| description | Use cpipe to discover, inspect, and send commands to named-pipe tool servers. |
| allowed-tools | ["Bash"] |
Use cpipe to interact with ToolServer instances (servers following the tool-* pipe naming convention). Always activate the named-pipes conda environment first.
conda activate named-pipes
Discover running servers
cpipe --list
cpipe --pid
cpipe --clear
Pass an optional directory to search a different root (e.g. cpipe --list /var/tmp).
Send commands to a tool server
cpipe <tool> <cmd>
<tool> is either a bare tool name (e.g. chat) โ which resolves to /tmp/tool-chat โ or a full pipe path. <cmd> is the command to send.
Built-in commands every tool supports
cpipe chat ping
cpipe chat status
cpipe chat description
cpipe chat help
cpipe chat stop
Sending data
cpipe chat greet -d Alice
cpipe chat greet Alice
cpipe chat chat -j '{"messages":[{"role":"user","content":"Hello"}]}'
Streaming responses
cpipe detects streaming automatically. Chunks are printed as they arrive; the command exits after the final {"done": true} sentinel.
cpipe chat chat -j '{"messages":[{"role":"user","content":"Tell me a joke"}]}'
Protocol flags
| Flag | Effect |
|---|
--no-subscribe | Skip the subscribe/unsubscribe handshake entirely |
-n / --no-wait | Fire-and-forget; do not wait for a response |
-t SECS / --timeout SECS | Response timeout in seconds (default: 5.0) |
-v / --verbose | Print sent messages and status to stderr |
Examples
cpipe --list
cpipe chat description
cpipe chat help
cpipe tts text -d "Hello, world"
cpipe tts flush
cpipe chat stop
cpipe --clear