effect-ai-tool
Installation
SKILL.md
Effect AI Tool Skill
Use this skill when implementing tools for AI language models using the Effect AI library. This covers tool definition, parameter schemas, success/failure handling, and toolkit composition.
Effect AI Documentation Access
For core AI APIs inspect packages/effect/src/ai/ at effect@4.1.0 in the
Effect source reference; provider implementations live under packages/ai/.
Keep all Effect-family packages on the same version. These APIs are tagged
@stability unstable, so minor releases may break them despite stable-looking
import paths.
Reference this for:
- Tool.make, Tool.dynamic, and Tool.providerDefined APIs
- Toolkit.make for composing multiple tools
- Schema.Struct(...) for Tool.make parameters
- Handler implementation patterns
- OpenAI provider-defined tools via
@effect/ai-openai/OpenAiTool