MCPcopy Create free account
hub / github.com/codeaashu/claude-code / renderToolUseRejectedMessage

Function renderToolUseRejectedMessage

src/tools/FileWriteTool/UI.tsx:184–198  ·  view source on GitHub ↗
({
  file_path,
  content
}: {
  file_path: string;
  content: string;
}, {
  style,
  verbose
}: {
  style?: 'condensed';
  verbose: boolean;
})

Source from the content-addressed store, hash-verified

182 </FilePathLink>;
183}
184export function renderToolUseRejectedMessage({
185 file_path,
186 content
187}: {
188 file_path: string;
189 content: string;
190}, {
191 style,
192 verbose
193}: {
194 style?: 'condensed';
195 verbose: boolean;
196}): React.ReactNode {
197 return <WriteRejectionDiff filePath={file_path} content={content} style={style} verbose={verbose} />;
198}
199type RejectionDiffData = {
200 type: 'create';
201} | {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected