MCPcopy
hub / github.com/codeaashu/claude-code / renderCreateToolUseMessage

Function renderCreateToolUseMessage

src/tools/ScheduleCronTool/UI.tsx:11–16  ·  view source on GitHub ↗
(input: Partial<{
  cron: string;
  prompt: string;
}>)

Source from the content-addressed store, hash-verified

9// --- CronCreate -------------------------------------------------------------
10
11export function renderCreateToolUseMessage(input: Partial<{
12 cron: string;
13 prompt: string;
14}>): React.ReactNode {
15 return `${input.cron ?? ''}${input.prompt ? `: ${truncate(input.prompt, 60, true)}` : ''}`;
16}
17export function renderCreateResultMessage(output: CreateOutput): React.ReactNode {
18 return <MessageResponse>
19 <Text>

Callers

nothing calls this directly

Calls 1

truncateFunction · 0.50

Tested by

no test coverage detected