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

Function getMethodParamsSchema

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

Source from the content-addressed store, hash-verified

1365}
1366
1367function getMethodParamsSchema(method: RpcMethod): JSONSchema7 | undefined {
1368 return (
1369 resolveObjectSchema(method.params, rpcDefinitions) ??
1370 resolveSchema(method.params, rpcDefinitions) ??
1371 method.params ??
1372 undefined
1373 );
1374}
1375
1376function pythonResultTypeName(method: RpcMethod, schemaOverride?: JSONSchema7): string {
1377 const schema = schemaOverride ?? getMethodResultSchema(method);

Callers 4

pythonParamsTypeNameFunction · 0.70
generateRpcFunction · 0.70
emitMethodFunction · 0.70

Calls 2

resolveObjectSchemaFunction · 0.85
resolveSchemaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…