Creating a gridset according to the local coordinate system

Hello everyone, I have a layer defined in a local coordinate system in my postgis database. EPSG:7936 code. I want to display vector tiles for this layer. Do I need to create a gridset?.

const layer = "geopoi";
const epsg = 900913;

map.addSource("points", {
type: "vector",
scheme: "tms",
tiles: [
`http://localhost:9092/geoserver/gwc/service/tms/1.0.0/Selahattin-test:${layer}@EPSG:${epsg}@pbf/{z}/{x}/{y}.pbf`,
],
});

When I send a request like this, I get this error. Coverage [minx,miny,maxx,maxy] is [313, 317, 314, 318, 9], index [x,y,z] is [297, 319, 9]. Does geoserver do its own transformation? client projection is 3857. What exactly do I need to do to display a 7936 epsg coded layer as a vector?