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

Function validateInput

src/tools/BriefTool/BriefTool.ts:163–168  ·  view source on GitHub ↗
({ attachments }, _context)

Source from the content-addressed store, hash-verified

161 return input.message
162 },
163 async validateInput({ attachments }, _context): Promise<ValidationResult> {
164 if (!attachments || attachments.length === 0) {
165 return { result: true }
166 }
167 return validateAttachmentPaths(attachments)
168 },
169 async description() {
170 return DESCRIPTION
171 },

Callers

nothing calls this directly

Calls 1

validateAttachmentPathsFunction · 0.85

Tested by

no test coverage detected