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

Function rpcResultDescription

scripts/codegen/python.ts:766–769  ·  view source on GitHub ↗
(method: RpcMethod, resultSchema: JSONSchema7 | undefined)

Source from the content-addressed store, hash-verified

764}
765
766function rpcResultDescription(method: RpcMethod, resultSchema: JSONSchema7 | undefined): string | undefined {
767 if (isVoidSchema(resultSchema)) return undefined;
768 return method.result?.description ?? resultSchema?.description;
769}
770
771function rpcParamsDescription(method: RpcMethod, effectiveParams: JSONSchema7 | undefined): string | undefined {
772 return method.params?.description ?? effectiveParams?.description;

Callers 2

emitMethodFunction · 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…