MCPcopy Create free account
hub / github.com/agentrpc/agentrpc / validateDescription

Function validateDescription

sdk-node/src/util.ts:64–68  ·  view source on GitHub ↗
(description?: string)

Source from the content-addressed store, hash-verified

62};
63
64export const validateDescription = (description?: string) => {
65 if (description === "") {
66 throw new AgentRPCError("Description must not be empty");
67 }
68};
69
70/*
71 * Validate a function schema.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected