MCPcopy Create free account
hub / github.com/Noumena-Network/code / validateInput

Function validateInput

src/tools/TeamCreateTool/TeamCreateTool.ts:104–113  ·  view source on GitHub ↗
(input, _context)

Source from the content-addressed store, hash-verified

102 },
103
104 async validateInput(input, _context) {
105 if (!input.team_name || input.team_name.trim().length === 0) {
106 return {
107 result: false,
108 message: 'team_name is required for TeamCreate',
109 errorCode: 9,
110 }
111 }
112 return { result: true }
113 },
114
115 async description() {
116 return 'Create a new team for coordinating multiple agents'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected