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

Function rpcResultDescription

scripts/codegen/csharp.ts:145–148  ·  view source on GitHub ↗
(method: RpcMethod, resultSchema: JSONSchema7 | undefined)

Source from the content-addressed store, hash-verified

143}
144
145function rpcResultDescription(method: RpcMethod, resultSchema: JSONSchema7 | undefined): string | undefined {
146 if (isVoidSchema(resultSchema)) return undefined;
147 return method.result?.description ?? resultSchema?.description;
148}
149
150function rpcParamsDescription(method: RpcMethod, effectiveParams: JSONSchema7 | undefined): string | undefined {
151 return method.params?.description ?? effectiveParams?.description;

Callers 1

pushRpcMethodXmlDocsFunction · 0.70

Calls 1

isVoidSchemaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…