MCPcopy Index your code
hub / github.com/Xyntopia/taskyon / zodToYamlString

Function zodToYamlString

src/modules/types.ts:229–233  ·  view source on GitHub ↗
(schema: z.ZodTypeAny)

Source from the content-addressed store, hash-verified

227}
228
229export function zodToYamlString(schema: z.ZodTypeAny): string {
230 const objrepr = zodToYAMLObject(schema);
231 const yamlSchema = convertToYamlWComments(dump(objrepr));
232 return yamlSchema;
233}
234
235export const toolCommandChat = z.object({
236 name: z.string(),

Callers 1

prepareTasksForInferenceFunction · 0.90

Calls 2

zodToYAMLObjectFunction · 0.85
convertToYamlWCommentsFunction · 0.85

Tested by

no test coverage detected