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

Method annotate

packages/effect/src/unstable/ai/Tool.ts:349–349  ·  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

347 * Add an annotation to the tool.
348 */
349 annotate<I, S>(tag: Context.Key<I, S>, value: S): Tool<Name, Config, Requirements>
350
351 /**
352 * Add many annotations to the tool.

Callers 7

AiError.tsFile · 0.65
Response.tsFile · 0.65
ToolCallPartFunction · 0.65
ToolResultPartFunction · 0.65
Prompt.tsFile · 0.65
prepareCheckFunction · 0.65
withoutDescriptionFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected