fix(tools): harden tool schemas for strict providers
This commit is contained in:
@@ -31,6 +31,7 @@ import {
|
||||
function readParentIdParam(
|
||||
params: Record<string, unknown>,
|
||||
): string | null | undefined {
|
||||
if (params.clearParent === true) return null;
|
||||
if (params.parentId === null) return null;
|
||||
return readStringParam(params, "parentId");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user