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

Method annotate

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

386 * Add an annotation to the tool.
387 */
388 annotate<I, S>(tag: Context.Key<I, S>, value: S): Tool<Name, Config, Requirements, ExecutionMode>
389
390 /**
391 * Add many annotations to the tool.

Callers 15

AiError.tsFile · 0.65
Skill.tsFile · 0.65
toolkitFunction · 0.65
Response.tsFile · 0.65
makeToolCallPartFunction · 0.65
ToolResultPartFunction · 0.65
Prompt.tsFile · 0.65
runMiddlewareFunction · 0.65
handleFunction · 0.65
Tool.tsFile · 0.65
failureCauseFunction · 0.65
Toolkit.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected