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

Function requireToolkit

packages/plugins/toolkits/src/server.ts:261–264  ·  view source on GitHub ↗
(toolkitId: string)

Source from the content-addressed store, hash-verified

259 );
260
261 const requireToolkit = (toolkitId: string) =>
262 getEntry(toolkitId).pipe(
263 Effect.flatMap((entry) => (entry ? Effect.succeed(entry) : fail("Toolkit not found."))),
264 );
265
266 const assertSlugAvailable = (slug: string, ignoreToolkitId?: string) =>
267 storage.toolkits.query({ where: { slug } }).pipe(

Callers 9

updateFunction · 0.85
removeFunction · 0.85
listPoliciesFunction · 0.85
createPolicyFunction · 0.85
updatePolicyFunction · 0.85
removePolicyFunction · 0.85
listConnectionsFunction · 0.85
createConnectionFunction · 0.85
removeConnectionFunction · 0.85

Calls 2

getEntryFunction · 0.85
failFunction · 0.70

Tested by

no test coverage detected