MCPcopy Index your code
hub / github.com/github/copilot-sdk / rpcResultDescription

Function rpcResultDescription

scripts/codegen/typescript.ts:85–89  ·  view source on GitHub ↗
(method: RpcMethod)

Source from the content-addressed store, hash-verified

83}
84
85function rpcResultDescription(method: RpcMethod): string | undefined {
86 const resultSchema = getMethodResultSchema(method);
87 if (isVoidSchema(resultSchema)) return undefined;
88 return method.result?.description ?? resultSchema?.description;
89}
90
91function rpcParamsDescription(method: RpcMethod, effectiveParams: JSONSchema7 | undefined): string | undefined {
92 return method.params?.description ?? effectiveParams?.description;

Callers 1

pushTsRpcMethodJsDocFunction · 0.70

Calls 2

isVoidSchemaFunction · 0.85
getMethodResultSchemaFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…