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

Method setParameters

packages/effect/src/unstable/ai/Tool.ts:333–333  ·  view source on GitHub ↗

* Set the schema to use to validate the parameters of a tool call.

(
    schema: ParametersSchema
  )

Source from the content-addressed store, hash-verified

331 * Set the schema to use to validate the parameters of a tool call.
332 */
333 setParameters<ParametersSchema extends Schema.Constraint>(
334 schema: ParametersSchema
335 ): Tool<
336 Name,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected