MCPcopy Create free account
hub / github.com/effect-app/libs / annotate

Method annotate

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

* Add an annotation to the tool.

(tag: Context.Key<I, S>, value: S)

Source from the content-addressed store, hash-verified

339 readonly success: Config["success"]
340 readonly failure: Config["failure"]
341 readonly failureMode: Config["failureMode"]
342 },
343 Requirements
344 >

Callers 7

AiError.tsFile · 0.65
resetFilterFunction · 0.65
resetFilterFunction · 0.65
Response.tsFile · 0.65
ToolCallPartFunction · 0.65
ToolResultPartFunction · 0.65
Prompt.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected