From gtm-agent#250: handleDelegatedToolCall calls resolveTool(workspaceId, name) once per allowed tool to build tools/list. gtm's resolveTool runs a DB query each call, so a K-tool list = K queries (was 1 in the bespoke handler). A resolveTools(workspaceId, names[]) batch seam (with resolveTool as the single-name convenience) closes the regression.
From gtm-agent#250:
handleDelegatedToolCallcallsresolveTool(workspaceId, name)once per allowed tool to buildtools/list. gtm'sresolveToolruns a DB query each call, so a K-tool list = K queries (was 1 in the bespoke handler). AresolveTools(workspaceId, names[])batch seam (withresolveToolas the single-name convenience) closes the regression.