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

Function connectionItemIds

packages/core/sdk/src/executor.ts:875–879  ·  view source on GitHub ↗
(row: ConnectionRow)

Source from the content-addressed store, hash-verified

873 * Tolerates the historically-single shape by returning `{}` for anything that
874 * isn't an object. */
875const connectionItemIds = (row: ConnectionRow): Record<string, string> => {
876 const decoded = decodeJsonColumn(row.item_ids);
877 if (decoded == null || typeof decoded !== "object") return {};
878 return decoded as Record<string, string>;
879};
880
881// Accepts a projected row (the invoke/list paths select away the heavy
882// schema columns); `Tool.inputSchema`/`outputSchema` are optional and stay

Callers 3

performTokenRefreshFunction · 0.85
resolveConnectionValuesFunction · 0.85
produceConnectionToolsFunction · 0.85

Calls 1

decodeJsonColumnFunction · 0.85

Tested by

no test coverage detected