MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / sayAndCreateMissingParamError

Method sayAndCreateMissingParamError

src/core/task/Task.ts:1809–1817  ·  view source on GitHub ↗
(toolName: ToolName, paramName: string, relPath?: string)

Source from the content-addressed store, hash-verified

1807 }
1808
1809 async sayAndCreateMissingParamError(toolName: ToolName, paramName: string, relPath?: string) {
1810 await this.say(
1811 "error",
1812 `Roo tried to use ${toolName}${
1813 relPath ? ` for '${relPath.toPosix()}'` : ""
1814 } without value for required parameter '${paramName}'. Retrying...`,
1815 )
1816 return formatResponse.toolError(formatResponse.missingToolParameterError(paramName))
1817 }
1818
1819 // Lifecycle
1820 // Start / Resume / Abort / Dispose

Callers 15

executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
validateParamsMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeNewMethod · 0.80
executeLegacyMethod · 0.80

Calls 2

sayMethod · 0.95
toPosixMethod · 0.65

Tested by

no test coverage detected