MCPcopy Create free account
hub / github.com/Effect-TS/effect / setParameters

Function setParameters

packages/effect/src/unstable/ai/Tool.ts:1053–1055  ·  view source on GitHub ↗
(this: Any, parametersSchema: Schema.Constraint)

Source from the content-addressed store, hash-verified

1051 return clone(this)
1052 },
1053 setParameters(this: Any, parametersSchema: Schema.Constraint) {
1054 return clone(this, { parametersSchema })
1055 },
1056 setSuccess(this: Any, successSchema: Schema.Constraint) {
1057 return clone(this, { successSchema })
1058 },

Callers

nothing calls this directly

Calls 1

cloneFunction · 0.85

Tested by

no test coverage detected