MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / methodToolPath

Function methodToolPath

packages/plugins/google/src/sdk/discovery.ts:549–550  ·  view source on GitHub ↗
(service: string, methodId: string)

Source from the content-addressed store, hash-verified

547};
548
549const methodToolPath = (service: string, methodId: string): string =>
550 methodId.startsWith(`${service}.`) ? methodId.slice(service.length + 1) : methodId;
551
552const collectMethods = (resource: unknown): DiscoveryMethod[] => {
553 const decoded = decodeDiscoveryResource(resource);

Callers 1

discovery.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected