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

Function buildLinuxImagePrompt

lib/image-upload.js:68–72  ·  view source on GitHub ↗
(text, tmpFile)

Source from the content-addressed store, hash-verified

66}
67
68function buildLinuxImagePrompt(text, tmpFile) {
69 const trimmedText = String(text || '').trim();
70 const atPath = `@${toClaudeAtPath(tmpFile)}`;
71 return trimmedText ? `${trimmedText} ${atPath}` : atPath;
72}
73
74function isLinuxClipboardToolInstalled(tool) {
75 try {

Callers 1

Calls 1

toClaudeAtPathFunction · 0.85

Tested by

no test coverage detected