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

Function setSuccess

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

Source from the content-addressed store, hash-verified

1054 return clone(this, { parametersSchema })
1055 },
1056 setSuccess(this: Any, successSchema: Schema.Constraint) {
1057 return clone(this, { successSchema })
1058 },
1059 setFailure(this: Any, failureSchema: Schema.Constraint) {
1060 return clone(this, { failureSchema })
1061 },

Callers

nothing calls this directly

Calls 1

cloneFunction · 0.85

Tested by

no test coverage detected