MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / sendSlashCmd

Function sendSlashCmd

app/src/modules/input.js:126–129  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

124}
125
126export function sendSlashCmd(text) {
127 if (!S.ws || S.ws.readyState !== WebSocket.OPEN) return;
128 S.ws.send(JSON.stringify({ type: 'chat', text }));
129}
130
131export function sendControlInput(data) {
132 if (!S.ws || S.ws.readyState !== WebSocket.OPEN) return;

Callers 2

showModelPickerFunction · 0.90
execCmdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected