MCPcopy Index your code
hub / github.com/callstack/agent-device / writeText

Function writeText

src/platforms/linux/tool-provider.ts:172–176  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

170 return (await runCommand(command.cmd, command.args, command.options)).stdout;
171 },
172 async writeText(text) {
173 const tool = await resolveLocalLinuxTool(whichCommand, LOCAL_CLIPBOARD_TOOLS);
174 const command = LOCAL_CLIPBOARD_WRITE_COMMANDS[tool](text);
175 await runCommand(command.cmd, command.args, command.options);
176 },
177 };
178}
179

Callers

nothing calls this directly

Calls 2

resolveLocalLinuxToolFunction · 0.85
runCommandFunction · 0.50

Tested by

no test coverage detected