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

Function getMethodResultSchema

scripts/codegen/python.ts:1336–1338  ·  view source on GitHub ↗
(method: RpcMethod)

Source from the content-addressed store, hash-verified

1334}
1335
1336function getMethodResultSchema(method: RpcMethod): JSONSchema7 | undefined {
1337 return resolveSchema(method.result, rpcDefinitions) ?? method.result ?? undefined;
1338}
1339
1340function isPythonObjectResultSchema(schema: JSONSchema7 | undefined): boolean {
1341 if (!schema) return false;

Callers 6

pythonResultTypeNameFunction · 0.70
generateRpcFunction · 0.70
emitMethodFunction · 0.70

Calls 1

resolveSchemaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…