MCPcopy
hub / github.com/callstack/agent-device / ref

Function ref

src/commands/interaction/runtime/selector-read.ts:136–142  ·  view source on GitHub ↗
(refInput: string, options: { fallbackLabel?: string } = {})

Source from the content-addressed store, hash-verified

134}
135
136export function ref(refInput: string, options: { fallbackLabel?: string } = {}): RefTarget {
137 return {
138 kind: 'ref',
139 ref: refInput,
140 ...(options.fallbackLabel ? { fallbackLabel: options.fallbackLabel } : {}),
141 };
142}
143
144const DEFAULT_TIMEOUT_MS = 10_000;
145const POLL_INTERVAL_MS = 300;

Callers 3

clickRefE2Function · 0.90

Calls

no outgoing calls

Tested by 1

clickRefE2Function · 0.72