Enables serine-type endopeptidase inhibitor activity. Acts upstream of or within negative regulation of serine-type endopeptidase activity. Located in extracellular region. Orthologous to human SPINK6 (serine peptidase inhibitor Kazal type 6). [provided by Alliance of Genome Resources, Apr 2022]