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

Function variable

packages/core/sdk/src/http-auth/authoring.ts:37–37  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

35/** Mark where a credential input renders inside a template value:
36 * `["Bearer ", variable("token")]`. */
37export const variable = (name: string): AuthTemplateVariable => ({ type: "variable", name });
38
39const VariablePart = Schema.Struct({
40 type: Schema.Literal("variable"),

Calls

no outgoing calls

Tested by 1

probeFunction · 0.72